AWS SDK for C++  1.9.45
AWS SDK for C++
EC2InstanceCounts.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace GameLift
20 {
21 namespace Model
22 {
23 
33  {
34  public:
39 
40 
46  inline int GetDESIRED() const{ return m_dESIRED; }
47 
53  inline bool DESIREDHasBeenSet() const { return m_dESIREDHasBeenSet; }
54 
60  inline void SetDESIRED(int value) { m_dESIREDHasBeenSet = true; m_dESIRED = value; }
61 
67  inline EC2InstanceCounts& WithDESIRED(int value) { SetDESIRED(value); return *this;}
68 
69 
73  inline int GetMINIMUM() const{ return m_mINIMUM; }
74 
78  inline bool MINIMUMHasBeenSet() const { return m_mINIMUMHasBeenSet; }
79 
83  inline void SetMINIMUM(int value) { m_mINIMUMHasBeenSet = true; m_mINIMUM = value; }
84 
88  inline EC2InstanceCounts& WithMINIMUM(int value) { SetMINIMUM(value); return *this;}
89 
90 
94  inline int GetMAXIMUM() const{ return m_mAXIMUM; }
95 
99  inline bool MAXIMUMHasBeenSet() const { return m_mAXIMUMHasBeenSet; }
100 
104  inline void SetMAXIMUM(int value) { m_mAXIMUMHasBeenSet = true; m_mAXIMUM = value; }
105 
109  inline EC2InstanceCounts& WithMAXIMUM(int value) { SetMAXIMUM(value); return *this;}
110 
111 
115  inline int GetPENDING() const{ return m_pENDING; }
116 
120  inline bool PENDINGHasBeenSet() const { return m_pENDINGHasBeenSet; }
121 
125  inline void SetPENDING(int value) { m_pENDINGHasBeenSet = true; m_pENDING = value; }
126 
130  inline EC2InstanceCounts& WithPENDING(int value) { SetPENDING(value); return *this;}
131 
132 
136  inline int GetACTIVE() const{ return m_aCTIVE; }
137 
141  inline bool ACTIVEHasBeenSet() const { return m_aCTIVEHasBeenSet; }
142 
146  inline void SetACTIVE(int value) { m_aCTIVEHasBeenSet = true; m_aCTIVE = value; }
147 
151  inline EC2InstanceCounts& WithACTIVE(int value) { SetACTIVE(value); return *this;}
152 
153 
157  inline int GetIDLE() const{ return m_iDLE; }
158 
162  inline bool IDLEHasBeenSet() const { return m_iDLEHasBeenSet; }
163 
167  inline void SetIDLE(int value) { m_iDLEHasBeenSet = true; m_iDLE = value; }
168 
172  inline EC2InstanceCounts& WithIDLE(int value) { SetIDLE(value); return *this;}
173 
174 
179  inline int GetTERMINATING() const{ return m_tERMINATING; }
180 
185  inline bool TERMINATINGHasBeenSet() const { return m_tERMINATINGHasBeenSet; }
186 
191  inline void SetTERMINATING(int value) { m_tERMINATINGHasBeenSet = true; m_tERMINATING = value; }
192 
197  inline EC2InstanceCounts& WithTERMINATING(int value) { SetTERMINATING(value); return *this;}
198 
199  private:
200 
201  int m_dESIRED;
202  bool m_dESIREDHasBeenSet;
203 
204  int m_mINIMUM;
205  bool m_mINIMUMHasBeenSet;
206 
207  int m_mAXIMUM;
208  bool m_mAXIMUMHasBeenSet;
209 
210  int m_pENDING;
211  bool m_pENDINGHasBeenSet;
212 
213  int m_aCTIVE;
214  bool m_aCTIVEHasBeenSet;
215 
216  int m_iDLE;
217  bool m_iDLEHasBeenSet;
218 
219  int m_tERMINATING;
220  bool m_tERMINATINGHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace GameLift
225 } // namespace Aws
Aws::GameLift::Model::EC2InstanceCounts::WithMAXIMUM
EC2InstanceCounts & WithMAXIMUM(int value)
Definition: EC2InstanceCounts.h:109
Aws::GameLift::Model::EC2InstanceCounts::MAXIMUMHasBeenSet
bool MAXIMUMHasBeenSet() const
Definition: EC2InstanceCounts.h:99
Aws::GameLift::Model::EC2InstanceCounts::operator=
EC2InstanceCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::EC2InstanceCounts::PENDINGHasBeenSet
bool PENDINGHasBeenSet() const
Definition: EC2InstanceCounts.h:120
Aws::GameLift::Model::EC2InstanceCounts::GetIDLE
int GetIDLE() const
Definition: EC2InstanceCounts.h:157
Aws::GameLift::Model::EC2InstanceCounts
Definition: EC2InstanceCounts.h:33
Aws::GameLift::Model::EC2InstanceCounts::WithDESIRED
EC2InstanceCounts & WithDESIRED(int value)
Definition: EC2InstanceCounts.h:67
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::EC2InstanceCounts::SetMINIMUM
void SetMINIMUM(int value)
Definition: EC2InstanceCounts.h:83
Aws::GameLift::Model::EC2InstanceCounts::WithIDLE
EC2InstanceCounts & WithIDLE(int value)
Definition: EC2InstanceCounts.h:172
Aws::GameLift::Model::EC2InstanceCounts::GetACTIVE
int GetACTIVE() const
Definition: EC2InstanceCounts.h:136
Aws::GameLift::Model::EC2InstanceCounts::TERMINATINGHasBeenSet
bool TERMINATINGHasBeenSet() const
Definition: EC2InstanceCounts.h:185
Aws::GameLift::Model::EC2InstanceCounts::SetPENDING
void SetPENDING(int value)
Definition: EC2InstanceCounts.h:125
GameLift_EXPORTS.h
Aws::GameLift::Model::EC2InstanceCounts::GetMINIMUM
int GetMINIMUM() const
Definition: EC2InstanceCounts.h:73
Aws::GameLift::Model::EC2InstanceCounts::EC2InstanceCounts
EC2InstanceCounts()
Aws::GameLift::Model::EC2InstanceCounts::IDLEHasBeenSet
bool IDLEHasBeenSet() const
Definition: EC2InstanceCounts.h:162
Aws::GameLift::Model::EC2InstanceCounts::WithACTIVE
EC2InstanceCounts & WithACTIVE(int value)
Definition: EC2InstanceCounts.h:151
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GameLift::Model::EC2InstanceCounts::EC2InstanceCounts
EC2InstanceCounts(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::EC2InstanceCounts::GetTERMINATING
int GetTERMINATING() const
Definition: EC2InstanceCounts.h:179
Aws::GameLift::Model::EC2InstanceCounts::WithMINIMUM
EC2InstanceCounts & WithMINIMUM(int value)
Definition: EC2InstanceCounts.h:88
Aws::GameLift::Model::EC2InstanceCounts::SetDESIRED
void SetDESIRED(int value)
Definition: EC2InstanceCounts.h:60
Aws::GameLift::Model::EC2InstanceCounts::ACTIVEHasBeenSet
bool ACTIVEHasBeenSet() const
Definition: EC2InstanceCounts.h:141
Aws::GameLift::Model::EC2InstanceCounts::SetACTIVE
void SetACTIVE(int value)
Definition: EC2InstanceCounts.h:146
Aws::GameLift::Model::EC2InstanceCounts::GetPENDING
int GetPENDING() const
Definition: EC2InstanceCounts.h:115
Aws::GameLift::Model::EC2InstanceCounts::SetTERMINATING
void SetTERMINATING(int value)
Definition: EC2InstanceCounts.h:191
Aws::GameLift::Model::EC2InstanceCounts::SetIDLE
void SetIDLE(int value)
Definition: EC2InstanceCounts.h:167
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::EC2InstanceCounts::GetMAXIMUM
int GetMAXIMUM() const
Definition: EC2InstanceCounts.h:94
Aws::GameLift::Model::EC2InstanceCounts::SetMAXIMUM
void SetMAXIMUM(int value)
Definition: EC2InstanceCounts.h:104
Aws::GameLift::Model::EC2InstanceCounts::MINIMUMHasBeenSet
bool MINIMUMHasBeenSet() const
Definition: EC2InstanceCounts.h:78
Aws::GameLift::Model::EC2InstanceCounts::DESIREDHasBeenSet
bool DESIREDHasBeenSet() const
Definition: EC2InstanceCounts.h:53
Aws::GameLift::Model::EC2InstanceCounts::WithPENDING
EC2InstanceCounts & WithPENDING(int value)
Definition: EC2InstanceCounts.h:130
Aws::GameLift::Model::EC2InstanceCounts::WithTERMINATING
EC2InstanceCounts & WithTERMINATING(int value)
Definition: EC2InstanceCounts.h:197
Aws::GameLift::Model::EC2InstanceCounts::GetDESIRED
int GetDESIRED() const
Definition: EC2InstanceCounts.h:46
Aws::GameLift::Model::EC2InstanceCounts::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const