AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstancesCount.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_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 OpsWorks
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_OPSWORKS_API InstancesCount();
34 AWS_OPSWORKS_API InstancesCount(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetAssigning() const{ return m_assigning; }
44 inline bool AssigningHasBeenSet() const { return m_assigningHasBeenSet; }
45 inline void SetAssigning(int value) { m_assigningHasBeenSet = true; m_assigning = value; }
46 inline InstancesCount& WithAssigning(int value) { SetAssigning(value); return *this;}
48
50
53 inline int GetBooting() const{ return m_booting; }
54 inline bool BootingHasBeenSet() const { return m_bootingHasBeenSet; }
55 inline void SetBooting(int value) { m_bootingHasBeenSet = true; m_booting = value; }
56 inline InstancesCount& WithBooting(int value) { SetBooting(value); return *this;}
58
60
63 inline int GetConnectionLost() const{ return m_connectionLost; }
64 inline bool ConnectionLostHasBeenSet() const { return m_connectionLostHasBeenSet; }
65 inline void SetConnectionLost(int value) { m_connectionLostHasBeenSet = true; m_connectionLost = value; }
66 inline InstancesCount& WithConnectionLost(int value) { SetConnectionLost(value); return *this;}
68
70
73 inline int GetDeregistering() const{ return m_deregistering; }
74 inline bool DeregisteringHasBeenSet() const { return m_deregisteringHasBeenSet; }
75 inline void SetDeregistering(int value) { m_deregisteringHasBeenSet = true; m_deregistering = value; }
76 inline InstancesCount& WithDeregistering(int value) { SetDeregistering(value); return *this;}
78
80
83 inline int GetOnline() const{ return m_online; }
84 inline bool OnlineHasBeenSet() const { return m_onlineHasBeenSet; }
85 inline void SetOnline(int value) { m_onlineHasBeenSet = true; m_online = value; }
86 inline InstancesCount& WithOnline(int value) { SetOnline(value); return *this;}
88
90
93 inline int GetPending() const{ return m_pending; }
94 inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
95 inline void SetPending(int value) { m_pendingHasBeenSet = true; m_pending = value; }
96 inline InstancesCount& WithPending(int value) { SetPending(value); return *this;}
98
100
103 inline int GetRebooting() const{ return m_rebooting; }
104 inline bool RebootingHasBeenSet() const { return m_rebootingHasBeenSet; }
105 inline void SetRebooting(int value) { m_rebootingHasBeenSet = true; m_rebooting = value; }
106 inline InstancesCount& WithRebooting(int value) { SetRebooting(value); return *this;}
108
110
113 inline int GetRegistered() const{ return m_registered; }
114 inline bool RegisteredHasBeenSet() const { return m_registeredHasBeenSet; }
115 inline void SetRegistered(int value) { m_registeredHasBeenSet = true; m_registered = value; }
116 inline InstancesCount& WithRegistered(int value) { SetRegistered(value); return *this;}
118
120
123 inline int GetRegistering() const{ return m_registering; }
124 inline bool RegisteringHasBeenSet() const { return m_registeringHasBeenSet; }
125 inline void SetRegistering(int value) { m_registeringHasBeenSet = true; m_registering = value; }
126 inline InstancesCount& WithRegistering(int value) { SetRegistering(value); return *this;}
128
130
133 inline int GetRequested() const{ return m_requested; }
134 inline bool RequestedHasBeenSet() const { return m_requestedHasBeenSet; }
135 inline void SetRequested(int value) { m_requestedHasBeenSet = true; m_requested = value; }
136 inline InstancesCount& WithRequested(int value) { SetRequested(value); return *this;}
138
140
143 inline int GetRunningSetup() const{ return m_runningSetup; }
144 inline bool RunningSetupHasBeenSet() const { return m_runningSetupHasBeenSet; }
145 inline void SetRunningSetup(int value) { m_runningSetupHasBeenSet = true; m_runningSetup = value; }
146 inline InstancesCount& WithRunningSetup(int value) { SetRunningSetup(value); return *this;}
148
150
153 inline int GetSetupFailed() const{ return m_setupFailed; }
154 inline bool SetupFailedHasBeenSet() const { return m_setupFailedHasBeenSet; }
155 inline void SetSetupFailed(int value) { m_setupFailedHasBeenSet = true; m_setupFailed = value; }
156 inline InstancesCount& WithSetupFailed(int value) { SetSetupFailed(value); return *this;}
158
160
163 inline int GetShuttingDown() const{ return m_shuttingDown; }
164 inline bool ShuttingDownHasBeenSet() const { return m_shuttingDownHasBeenSet; }
165 inline void SetShuttingDown(int value) { m_shuttingDownHasBeenSet = true; m_shuttingDown = value; }
166 inline InstancesCount& WithShuttingDown(int value) { SetShuttingDown(value); return *this;}
168
170
173 inline int GetStartFailed() const{ return m_startFailed; }
174 inline bool StartFailedHasBeenSet() const { return m_startFailedHasBeenSet; }
175 inline void SetStartFailed(int value) { m_startFailedHasBeenSet = true; m_startFailed = value; }
176 inline InstancesCount& WithStartFailed(int value) { SetStartFailed(value); return *this;}
178
180
183 inline int GetStopFailed() const{ return m_stopFailed; }
184 inline bool StopFailedHasBeenSet() const { return m_stopFailedHasBeenSet; }
185 inline void SetStopFailed(int value) { m_stopFailedHasBeenSet = true; m_stopFailed = value; }
186 inline InstancesCount& WithStopFailed(int value) { SetStopFailed(value); return *this;}
188
190
193 inline int GetStopped() const{ return m_stopped; }
194 inline bool StoppedHasBeenSet() const { return m_stoppedHasBeenSet; }
195 inline void SetStopped(int value) { m_stoppedHasBeenSet = true; m_stopped = value; }
196 inline InstancesCount& WithStopped(int value) { SetStopped(value); return *this;}
198
200
203 inline int GetStopping() const{ return m_stopping; }
204 inline bool StoppingHasBeenSet() const { return m_stoppingHasBeenSet; }
205 inline void SetStopping(int value) { m_stoppingHasBeenSet = true; m_stopping = value; }
206 inline InstancesCount& WithStopping(int value) { SetStopping(value); return *this;}
208
210
213 inline int GetTerminated() const{ return m_terminated; }
214 inline bool TerminatedHasBeenSet() const { return m_terminatedHasBeenSet; }
215 inline void SetTerminated(int value) { m_terminatedHasBeenSet = true; m_terminated = value; }
216 inline InstancesCount& WithTerminated(int value) { SetTerminated(value); return *this;}
218
220
223 inline int GetTerminating() const{ return m_terminating; }
224 inline bool TerminatingHasBeenSet() const { return m_terminatingHasBeenSet; }
225 inline void SetTerminating(int value) { m_terminatingHasBeenSet = true; m_terminating = value; }
226 inline InstancesCount& WithTerminating(int value) { SetTerminating(value); return *this;}
228
230
233 inline int GetUnassigning() const{ return m_unassigning; }
234 inline bool UnassigningHasBeenSet() const { return m_unassigningHasBeenSet; }
235 inline void SetUnassigning(int value) { m_unassigningHasBeenSet = true; m_unassigning = value; }
236 inline InstancesCount& WithUnassigning(int value) { SetUnassigning(value); return *this;}
238 private:
239
240 int m_assigning;
241 bool m_assigningHasBeenSet = false;
242
243 int m_booting;
244 bool m_bootingHasBeenSet = false;
245
246 int m_connectionLost;
247 bool m_connectionLostHasBeenSet = false;
248
249 int m_deregistering;
250 bool m_deregisteringHasBeenSet = false;
251
252 int m_online;
253 bool m_onlineHasBeenSet = false;
254
255 int m_pending;
256 bool m_pendingHasBeenSet = false;
257
258 int m_rebooting;
259 bool m_rebootingHasBeenSet = false;
260
261 int m_registered;
262 bool m_registeredHasBeenSet = false;
263
264 int m_registering;
265 bool m_registeringHasBeenSet = false;
266
267 int m_requested;
268 bool m_requestedHasBeenSet = false;
269
270 int m_runningSetup;
271 bool m_runningSetupHasBeenSet = false;
272
273 int m_setupFailed;
274 bool m_setupFailedHasBeenSet = false;
275
276 int m_shuttingDown;
277 bool m_shuttingDownHasBeenSet = false;
278
279 int m_startFailed;
280 bool m_startFailedHasBeenSet = false;
281
282 int m_stopFailed;
283 bool m_stopFailedHasBeenSet = false;
284
285 int m_stopped;
286 bool m_stoppedHasBeenSet = false;
287
288 int m_stopping;
289 bool m_stoppingHasBeenSet = false;
290
291 int m_terminated;
292 bool m_terminatedHasBeenSet = false;
293
294 int m_terminating;
295 bool m_terminatingHasBeenSet = false;
296
297 int m_unassigning;
298 bool m_unassigningHasBeenSet = false;
299 };
300
301} // namespace Model
302} // namespace OpsWorks
303} // namespace Aws
InstancesCount & WithPending(int value)
InstancesCount & WithRegistered(int value)
InstancesCount & WithStopFailed(int value)
InstancesCount & WithStopping(int value)
InstancesCount & WithSetupFailed(int value)
AWS_OPSWORKS_API InstancesCount(Aws::Utils::Json::JsonView jsonValue)
InstancesCount & WithConnectionLost(int value)
InstancesCount & WithStartFailed(int value)
InstancesCount & WithAssigning(int value)
InstancesCount & WithRegistering(int value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPSWORKS_API InstancesCount & operator=(Aws::Utils::Json::JsonView jsonValue)
InstancesCount & WithShuttingDown(int value)
InstancesCount & WithDeregistering(int value)
InstancesCount & WithUnassigning(int value)
InstancesCount & WithRebooting(int value)
InstancesCount & WithStopped(int value)
InstancesCount & WithTerminated(int value)
InstancesCount & WithBooting(int value)
InstancesCount & WithOnline(int value)
InstancesCount & WithRunningSetup(int value)
InstancesCount & WithRequested(int value)
InstancesCount & WithTerminating(int value)
Aws::Utils::Json::JsonValue JsonValue