AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GameServerContainerGroupCounts.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace GameLift {
17namespace Model {
18
35 public:
36 AWS_GAMELIFT_API GameServerContainerGroupCounts() = default;
39 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
46 inline int GetPENDING() const { return m_pENDING; }
47 inline bool PENDINGHasBeenSet() const { return m_pENDINGHasBeenSet; }
48 inline void SetPENDING(int value) {
49 m_pENDINGHasBeenSet = true;
50 m_pENDING = value;
51 }
53 SetPENDING(value);
54 return *this;
55 }
57
59
62 inline int GetACTIVE() const { return m_aCTIVE; }
63 inline bool ACTIVEHasBeenSet() const { return m_aCTIVEHasBeenSet; }
64 inline void SetACTIVE(int value) {
65 m_aCTIVEHasBeenSet = true;
66 m_aCTIVE = value;
67 }
69 SetACTIVE(value);
70 return *this;
71 }
73
75
78 inline int GetIDLE() const { return m_iDLE; }
79 inline bool IDLEHasBeenSet() const { return m_iDLEHasBeenSet; }
80 inline void SetIDLE(int value) {
81 m_iDLEHasBeenSet = true;
82 m_iDLE = value;
83 }
85 SetIDLE(value);
86 return *this;
87 }
89
91
95 inline int GetTERMINATING() const { return m_tERMINATING; }
96 inline bool TERMINATINGHasBeenSet() const { return m_tERMINATINGHasBeenSet; }
97 inline void SetTERMINATING(int value) {
98 m_tERMINATINGHasBeenSet = true;
99 m_tERMINATING = value;
100 }
102 SetTERMINATING(value);
103 return *this;
104 }
106 private:
107 int m_pENDING{0};
108 bool m_pENDINGHasBeenSet = false;
109
110 int m_aCTIVE{0};
111 bool m_aCTIVEHasBeenSet = false;
112
113 int m_iDLE{0};
114 bool m_iDLEHasBeenSet = false;
115
116 int m_tERMINATING{0};
117 bool m_tERMINATINGHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace GameLift
122} // 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