AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GameServerContainerGroupCounts.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GameLift
20{
21namespace Model
22{
23
40 {
41 public:
42 AWS_GAMELIFT_API GameServerContainerGroupCounts() = default;
45 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline int GetPENDING() const { return m_pENDING; }
54 inline bool PENDINGHasBeenSet() const { return m_pENDINGHasBeenSet; }
55 inline void SetPENDING(int value) { m_pENDINGHasBeenSet = true; m_pENDING = value; }
56 inline GameServerContainerGroupCounts& WithPENDING(int value) { SetPENDING(value); return *this;}
58
60
63 inline int GetACTIVE() const { return m_aCTIVE; }
64 inline bool ACTIVEHasBeenSet() const { return m_aCTIVEHasBeenSet; }
65 inline void SetACTIVE(int value) { m_aCTIVEHasBeenSet = true; m_aCTIVE = value; }
66 inline GameServerContainerGroupCounts& WithACTIVE(int value) { SetACTIVE(value); return *this;}
68
70
73 inline int GetIDLE() const { return m_iDLE; }
74 inline bool IDLEHasBeenSet() const { return m_iDLEHasBeenSet; }
75 inline void SetIDLE(int value) { m_iDLEHasBeenSet = true; m_iDLE = value; }
76 inline GameServerContainerGroupCounts& WithIDLE(int value) { SetIDLE(value); return *this;}
78
80
84 inline int GetTERMINATING() const { return m_tERMINATING; }
85 inline bool TERMINATINGHasBeenSet() const { return m_tERMINATINGHasBeenSet; }
86 inline void SetTERMINATING(int value) { m_tERMINATINGHasBeenSet = true; m_tERMINATING = value; }
87 inline GameServerContainerGroupCounts& WithTERMINATING(int value) { SetTERMINATING(value); return *this;}
89 private:
90
91 int m_pENDING{0};
92 bool m_pENDINGHasBeenSet = false;
93
94 int m_aCTIVE{0};
95 bool m_aCTIVEHasBeenSet = false;
96
97 int m_iDLE{0};
98 bool m_iDLEHasBeenSet = false;
99
100 int m_tERMINATING{0};
101 bool m_tERMINATINGHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace GameLift
106} // namespace Aws
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API GameServerContainerGroupCounts()=default
AWS_GAMELIFT_API GameServerContainerGroupCounts(Aws::Utils::Json::JsonView jsonValue)
GameServerContainerGroupCounts & WithTERMINATING(int value)
AWS_GAMELIFT_API GameServerContainerGroupCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue