AWS SDK for C++  1.9.104
AWS SDK for C++
InstancesCount.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 OpsWorks
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline int GetAssigning() const{ return m_assigning; }
43 
47  inline bool AssigningHasBeenSet() const { return m_assigningHasBeenSet; }
48 
52  inline void SetAssigning(int value) { m_assigningHasBeenSet = true; m_assigning = value; }
53 
57  inline InstancesCount& WithAssigning(int value) { SetAssigning(value); return *this;}
58 
59 
63  inline int GetBooting() const{ return m_booting; }
64 
68  inline bool BootingHasBeenSet() const { return m_bootingHasBeenSet; }
69 
73  inline void SetBooting(int value) { m_bootingHasBeenSet = true; m_booting = value; }
74 
78  inline InstancesCount& WithBooting(int value) { SetBooting(value); return *this;}
79 
80 
84  inline int GetConnectionLost() const{ return m_connectionLost; }
85 
89  inline bool ConnectionLostHasBeenSet() const { return m_connectionLostHasBeenSet; }
90 
94  inline void SetConnectionLost(int value) { m_connectionLostHasBeenSet = true; m_connectionLost = value; }
95 
99  inline InstancesCount& WithConnectionLost(int value) { SetConnectionLost(value); return *this;}
100 
101 
105  inline int GetDeregistering() const{ return m_deregistering; }
106 
110  inline bool DeregisteringHasBeenSet() const { return m_deregisteringHasBeenSet; }
111 
115  inline void SetDeregistering(int value) { m_deregisteringHasBeenSet = true; m_deregistering = value; }
116 
120  inline InstancesCount& WithDeregistering(int value) { SetDeregistering(value); return *this;}
121 
122 
126  inline int GetOnline() const{ return m_online; }
127 
131  inline bool OnlineHasBeenSet() const { return m_onlineHasBeenSet; }
132 
136  inline void SetOnline(int value) { m_onlineHasBeenSet = true; m_online = value; }
137 
141  inline InstancesCount& WithOnline(int value) { SetOnline(value); return *this;}
142 
143 
147  inline int GetPending() const{ return m_pending; }
148 
152  inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
153 
157  inline void SetPending(int value) { m_pendingHasBeenSet = true; m_pending = value; }
158 
162  inline InstancesCount& WithPending(int value) { SetPending(value); return *this;}
163 
164 
168  inline int GetRebooting() const{ return m_rebooting; }
169 
173  inline bool RebootingHasBeenSet() const { return m_rebootingHasBeenSet; }
174 
178  inline void SetRebooting(int value) { m_rebootingHasBeenSet = true; m_rebooting = value; }
179 
183  inline InstancesCount& WithRebooting(int value) { SetRebooting(value); return *this;}
184 
185 
189  inline int GetRegistered() const{ return m_registered; }
190 
194  inline bool RegisteredHasBeenSet() const { return m_registeredHasBeenSet; }
195 
199  inline void SetRegistered(int value) { m_registeredHasBeenSet = true; m_registered = value; }
200 
204  inline InstancesCount& WithRegistered(int value) { SetRegistered(value); return *this;}
205 
206 
210  inline int GetRegistering() const{ return m_registering; }
211 
215  inline bool RegisteringHasBeenSet() const { return m_registeringHasBeenSet; }
216 
220  inline void SetRegistering(int value) { m_registeringHasBeenSet = true; m_registering = value; }
221 
225  inline InstancesCount& WithRegistering(int value) { SetRegistering(value); return *this;}
226 
227 
231  inline int GetRequested() const{ return m_requested; }
232 
236  inline bool RequestedHasBeenSet() const { return m_requestedHasBeenSet; }
237 
241  inline void SetRequested(int value) { m_requestedHasBeenSet = true; m_requested = value; }
242 
246  inline InstancesCount& WithRequested(int value) { SetRequested(value); return *this;}
247 
248 
252  inline int GetRunningSetup() const{ return m_runningSetup; }
253 
257  inline bool RunningSetupHasBeenSet() const { return m_runningSetupHasBeenSet; }
258 
262  inline void SetRunningSetup(int value) { m_runningSetupHasBeenSet = true; m_runningSetup = value; }
263 
267  inline InstancesCount& WithRunningSetup(int value) { SetRunningSetup(value); return *this;}
268 
269 
273  inline int GetSetupFailed() const{ return m_setupFailed; }
274 
278  inline bool SetupFailedHasBeenSet() const { return m_setupFailedHasBeenSet; }
279 
283  inline void SetSetupFailed(int value) { m_setupFailedHasBeenSet = true; m_setupFailed = value; }
284 
288  inline InstancesCount& WithSetupFailed(int value) { SetSetupFailed(value); return *this;}
289 
290 
294  inline int GetShuttingDown() const{ return m_shuttingDown; }
295 
299  inline bool ShuttingDownHasBeenSet() const { return m_shuttingDownHasBeenSet; }
300 
304  inline void SetShuttingDown(int value) { m_shuttingDownHasBeenSet = true; m_shuttingDown = value; }
305 
309  inline InstancesCount& WithShuttingDown(int value) { SetShuttingDown(value); return *this;}
310 
311 
315  inline int GetStartFailed() const{ return m_startFailed; }
316 
320  inline bool StartFailedHasBeenSet() const { return m_startFailedHasBeenSet; }
321 
325  inline void SetStartFailed(int value) { m_startFailedHasBeenSet = true; m_startFailed = value; }
326 
330  inline InstancesCount& WithStartFailed(int value) { SetStartFailed(value); return *this;}
331 
332 
336  inline int GetStopFailed() const{ return m_stopFailed; }
337 
341  inline bool StopFailedHasBeenSet() const { return m_stopFailedHasBeenSet; }
342 
346  inline void SetStopFailed(int value) { m_stopFailedHasBeenSet = true; m_stopFailed = value; }
347 
351  inline InstancesCount& WithStopFailed(int value) { SetStopFailed(value); return *this;}
352 
353 
357  inline int GetStopped() const{ return m_stopped; }
358 
362  inline bool StoppedHasBeenSet() const { return m_stoppedHasBeenSet; }
363 
367  inline void SetStopped(int value) { m_stoppedHasBeenSet = true; m_stopped = value; }
368 
372  inline InstancesCount& WithStopped(int value) { SetStopped(value); return *this;}
373 
374 
378  inline int GetStopping() const{ return m_stopping; }
379 
383  inline bool StoppingHasBeenSet() const { return m_stoppingHasBeenSet; }
384 
388  inline void SetStopping(int value) { m_stoppingHasBeenSet = true; m_stopping = value; }
389 
393  inline InstancesCount& WithStopping(int value) { SetStopping(value); return *this;}
394 
395 
399  inline int GetTerminated() const{ return m_terminated; }
400 
404  inline bool TerminatedHasBeenSet() const { return m_terminatedHasBeenSet; }
405 
409  inline void SetTerminated(int value) { m_terminatedHasBeenSet = true; m_terminated = value; }
410 
414  inline InstancesCount& WithTerminated(int value) { SetTerminated(value); return *this;}
415 
416 
420  inline int GetTerminating() const{ return m_terminating; }
421 
425  inline bool TerminatingHasBeenSet() const { return m_terminatingHasBeenSet; }
426 
430  inline void SetTerminating(int value) { m_terminatingHasBeenSet = true; m_terminating = value; }
431 
435  inline InstancesCount& WithTerminating(int value) { SetTerminating(value); return *this;}
436 
437 
441  inline int GetUnassigning() const{ return m_unassigning; }
442 
446  inline bool UnassigningHasBeenSet() const { return m_unassigningHasBeenSet; }
447 
451  inline void SetUnassigning(int value) { m_unassigningHasBeenSet = true; m_unassigning = value; }
452 
456  inline InstancesCount& WithUnassigning(int value) { SetUnassigning(value); return *this;}
457 
458  private:
459 
460  int m_assigning;
461  bool m_assigningHasBeenSet;
462 
463  int m_booting;
464  bool m_bootingHasBeenSet;
465 
466  int m_connectionLost;
467  bool m_connectionLostHasBeenSet;
468 
469  int m_deregistering;
470  bool m_deregisteringHasBeenSet;
471 
472  int m_online;
473  bool m_onlineHasBeenSet;
474 
475  int m_pending;
476  bool m_pendingHasBeenSet;
477 
478  int m_rebooting;
479  bool m_rebootingHasBeenSet;
480 
481  int m_registered;
482  bool m_registeredHasBeenSet;
483 
484  int m_registering;
485  bool m_registeringHasBeenSet;
486 
487  int m_requested;
488  bool m_requestedHasBeenSet;
489 
490  int m_runningSetup;
491  bool m_runningSetupHasBeenSet;
492 
493  int m_setupFailed;
494  bool m_setupFailedHasBeenSet;
495 
496  int m_shuttingDown;
497  bool m_shuttingDownHasBeenSet;
498 
499  int m_startFailed;
500  bool m_startFailedHasBeenSet;
501 
502  int m_stopFailed;
503  bool m_stopFailedHasBeenSet;
504 
505  int m_stopped;
506  bool m_stoppedHasBeenSet;
507 
508  int m_stopping;
509  bool m_stoppingHasBeenSet;
510 
511  int m_terminated;
512  bool m_terminatedHasBeenSet;
513 
514  int m_terminating;
515  bool m_terminatingHasBeenSet;
516 
517  int m_unassigning;
518  bool m_unassigningHasBeenSet;
519  };
520 
521 } // namespace Model
522 } // namespace OpsWorks
523 } // namespace Aws
Aws::OpsWorks::Model::InstancesCount::SetDeregistering
void SetDeregistering(int value)
Definition: InstancesCount.h:115
Aws::OpsWorks::Model::InstancesCount::GetStopping
int GetStopping() const
Definition: InstancesCount.h:378
Aws::OpsWorks::Model::InstancesCount::StoppedHasBeenSet
bool StoppedHasBeenSet() const
Definition: InstancesCount.h:362
Aws::OpsWorks::Model::InstancesCount::WithRequested
InstancesCount & WithRequested(int value)
Definition: InstancesCount.h:246
Aws::OpsWorks::Model::InstancesCount::SetupFailedHasBeenSet
bool SetupFailedHasBeenSet() const
Definition: InstancesCount.h:278
Aws::OpsWorks::Model::InstancesCount::SetStopFailed
void SetStopFailed(int value)
Definition: InstancesCount.h:346
Aws::OpsWorks::Model::InstancesCount::WithStopping
InstancesCount & WithStopping(int value)
Definition: InstancesCount.h:393
Aws::OpsWorks::Model::InstancesCount::UnassigningHasBeenSet
bool UnassigningHasBeenSet() const
Definition: InstancesCount.h:446
Aws::OpsWorks::Model::InstancesCount::RequestedHasBeenSet
bool RequestedHasBeenSet() const
Definition: InstancesCount.h:236
Aws::OpsWorks::Model::InstancesCount::StoppingHasBeenSet
bool StoppingHasBeenSet() const
Definition: InstancesCount.h:383
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::InstancesCount::WithRegistered
InstancesCount & WithRegistered(int value)
Definition: InstancesCount.h:204
Aws::OpsWorks::Model::InstancesCount::SetOnline
void SetOnline(int value)
Definition: InstancesCount.h:136
Aws::OpsWorks::Model::InstancesCount::SetPending
void SetPending(int value)
Definition: InstancesCount.h:157
Aws::OpsWorks::Model::InstancesCount::GetBooting
int GetBooting() const
Definition: InstancesCount.h:63
Aws::OpsWorks::Model::InstancesCount::SetStartFailed
void SetStartFailed(int value)
Definition: InstancesCount.h:325
Aws::OpsWorks::Model::InstancesCount::SetBooting
void SetBooting(int value)
Definition: InstancesCount.h:73
Aws::OpsWorks::Model::InstancesCount::WithRebooting
InstancesCount & WithRebooting(int value)
Definition: InstancesCount.h:183
Aws::OpsWorks::Model::InstancesCount::SetShuttingDown
void SetShuttingDown(int value)
Definition: InstancesCount.h:304
Aws::OpsWorks::Model::InstancesCount::WithTerminating
InstancesCount & WithTerminating(int value)
Definition: InstancesCount.h:435
Aws::OpsWorks::Model::InstancesCount::WithPending
InstancesCount & WithPending(int value)
Definition: InstancesCount.h:162
Aws::OpsWorks::Model::InstancesCount::GetShuttingDown
int GetShuttingDown() const
Definition: InstancesCount.h:294
Aws::OpsWorks::Model::InstancesCount::SetStopped
void SetStopped(int value)
Definition: InstancesCount.h:367
Aws::OpsWorks::Model::InstancesCount::WithAssigning
InstancesCount & WithAssigning(int value)
Definition: InstancesCount.h:57
Aws::OpsWorks::Model::InstancesCount::SetTerminating
void SetTerminating(int value)
Definition: InstancesCount.h:430
Aws::OpsWorks::Model::InstancesCount::ShuttingDownHasBeenSet
bool ShuttingDownHasBeenSet() const
Definition: InstancesCount.h:299
Aws::OpsWorks::Model::InstancesCount::GetSetupFailed
int GetSetupFailed() const
Definition: InstancesCount.h:273
Aws::OpsWorks::Model::InstancesCount
Definition: InstancesCount.h:31
Aws::OpsWorks::Model::InstancesCount::BootingHasBeenSet
bool BootingHasBeenSet() const
Definition: InstancesCount.h:68
Aws::OpsWorks::Model::InstancesCount::GetPending
int GetPending() const
Definition: InstancesCount.h:147
Aws::OpsWorks::Model::InstancesCount::RegisteredHasBeenSet
bool RegisteredHasBeenSet() const
Definition: InstancesCount.h:194
Aws::OpsWorks::Model::InstancesCount::WithBooting
InstancesCount & WithBooting(int value)
Definition: InstancesCount.h:78
Aws::OpsWorks::Model::InstancesCount::OnlineHasBeenSet
bool OnlineHasBeenSet() const
Definition: InstancesCount.h:131
Aws::OpsWorks::Model::InstancesCount::AssigningHasBeenSet
bool AssigningHasBeenSet() const
Definition: InstancesCount.h:47
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::InstancesCount::GetTerminating
int GetTerminating() const
Definition: InstancesCount.h:420
Aws::OpsWorks::Model::InstancesCount::GetTerminated
int GetTerminated() const
Definition: InstancesCount.h:399
Aws::OpsWorks::Model::InstancesCount::TerminatedHasBeenSet
bool TerminatedHasBeenSet() const
Definition: InstancesCount.h:404
Aws::OpsWorks::Model::InstancesCount::PendingHasBeenSet
bool PendingHasBeenSet() const
Definition: InstancesCount.h:152
Aws::OpsWorks::Model::InstancesCount::TerminatingHasBeenSet
bool TerminatingHasBeenSet() const
Definition: InstancesCount.h:425
Aws::OpsWorks::Model::InstancesCount::GetDeregistering
int GetDeregistering() const
Definition: InstancesCount.h:105
Aws::OpsWorks::Model::InstancesCount::DeregisteringHasBeenSet
bool DeregisteringHasBeenSet() const
Definition: InstancesCount.h:110
Aws::OpsWorks::Model::InstancesCount::GetStopFailed
int GetStopFailed() const
Definition: InstancesCount.h:336
Aws::OpsWorks::Model::InstancesCount::SetSetupFailed
void SetSetupFailed(int value)
Definition: InstancesCount.h:283
Aws::OpsWorks::Model::InstancesCount::WithStartFailed
InstancesCount & WithStartFailed(int value)
Definition: InstancesCount.h:330
Aws::OpsWorks::Model::InstancesCount::GetStopped
int GetStopped() const
Definition: InstancesCount.h:357
Aws::OpsWorks::Model::InstancesCount::GetRequested
int GetRequested() const
Definition: InstancesCount.h:231
Aws::OpsWorks::Model::InstancesCount::SetAssigning
void SetAssigning(int value)
Definition: InstancesCount.h:52
Aws::OpsWorks::Model::InstancesCount::WithDeregistering
InstancesCount & WithDeregistering(int value)
Definition: InstancesCount.h:120
Aws::OpsWorks::Model::InstancesCount::InstancesCount
InstancesCount()
Aws::OpsWorks::Model::InstancesCount::GetRebooting
int GetRebooting() const
Definition: InstancesCount.h:168
Aws::OpsWorks::Model::InstancesCount::WithStopped
InstancesCount & WithStopped(int value)
Definition: InstancesCount.h:372
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::OpsWorks::Model::InstancesCount::WithShuttingDown
InstancesCount & WithShuttingDown(int value)
Definition: InstancesCount.h:309
Aws::OpsWorks::Model::InstancesCount::ConnectionLostHasBeenSet
bool ConnectionLostHasBeenSet() const
Definition: InstancesCount.h:89
Aws::OpsWorks::Model::InstancesCount::WithOnline
InstancesCount & WithOnline(int value)
Definition: InstancesCount.h:141
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::OpsWorks::Model::InstancesCount::WithUnassigning
InstancesCount & WithUnassigning(int value)
Definition: InstancesCount.h:456
Aws::OpsWorks::Model::InstancesCount::GetStartFailed
int GetStartFailed() const
Definition: InstancesCount.h:315
Aws::OpsWorks::Model::InstancesCount::SetRegistering
void SetRegistering(int value)
Definition: InstancesCount.h:220
Aws::OpsWorks::Model::InstancesCount::GetConnectionLost
int GetConnectionLost() const
Definition: InstancesCount.h:84
Aws::OpsWorks::Model::InstancesCount::GetAssigning
int GetAssigning() const
Definition: InstancesCount.h:42
Aws::OpsWorks::Model::InstancesCount::StopFailedHasBeenSet
bool StopFailedHasBeenSet() const
Definition: InstancesCount.h:341
Aws::OpsWorks::Model::InstancesCount::GetRunningSetup
int GetRunningSetup() const
Definition: InstancesCount.h:252
Aws::OpsWorks::Model::InstancesCount::GetOnline
int GetOnline() const
Definition: InstancesCount.h:126
Aws::OpsWorks::Model::InstancesCount::InstancesCount
InstancesCount(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::InstancesCount::SetStopping
void SetStopping(int value)
Definition: InstancesCount.h:388
Aws::OpsWorks::Model::InstancesCount::RunningSetupHasBeenSet
bool RunningSetupHasBeenSet() const
Definition: InstancesCount.h:257
Aws::OpsWorks::Model::InstancesCount::StartFailedHasBeenSet
bool StartFailedHasBeenSet() const
Definition: InstancesCount.h:320
Aws::OpsWorks::Model::InstancesCount::SetTerminated
void SetTerminated(int value)
Definition: InstancesCount.h:409
Aws::OpsWorks::Model::InstancesCount::WithConnectionLost
InstancesCount & WithConnectionLost(int value)
Definition: InstancesCount.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::InstancesCount::WithSetupFailed
InstancesCount & WithSetupFailed(int value)
Definition: InstancesCount.h:288
Aws::OpsWorks::Model::InstancesCount::SetRegistered
void SetRegistered(int value)
Definition: InstancesCount.h:199
Aws::OpsWorks::Model::InstancesCount::RebootingHasBeenSet
bool RebootingHasBeenSet() const
Definition: InstancesCount.h:173
Aws::OpsWorks::Model::InstancesCount::SetConnectionLost
void SetConnectionLost(int value)
Definition: InstancesCount.h:94
Aws::OpsWorks::Model::InstancesCount::GetUnassigning
int GetUnassigning() const
Definition: InstancesCount.h:441
Aws::OpsWorks::Model::InstancesCount::SetRequested
void SetRequested(int value)
Definition: InstancesCount.h:241
Aws::OpsWorks::Model::InstancesCount::RegisteringHasBeenSet
bool RegisteringHasBeenSet() const
Definition: InstancesCount.h:215
Aws::OpsWorks::Model::InstancesCount::SetRebooting
void SetRebooting(int value)
Definition: InstancesCount.h:178
Aws::OpsWorks::Model::InstancesCount::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::OpsWorks::Model::InstancesCount::WithRunningSetup
InstancesCount & WithRunningSetup(int value)
Definition: InstancesCount.h:267
Aws::OpsWorks::Model::InstancesCount::operator=
InstancesCount & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::InstancesCount::SetUnassigning
void SetUnassigning(int value)
Definition: InstancesCount.h:451
Aws::OpsWorks::Model::InstancesCount::WithRegistering
InstancesCount & WithRegistering(int value)
Definition: InstancesCount.h:225
Aws::OpsWorks::Model::InstancesCount::GetRegistering
int GetRegistering() const
Definition: InstancesCount.h:210
Aws::OpsWorks::Model::InstancesCount::WithTerminated
InstancesCount & WithTerminated(int value)
Definition: InstancesCount.h:414
Aws::OpsWorks::Model::InstancesCount::SetRunningSetup
void SetRunningSetup(int value)
Definition: InstancesCount.h:262
Aws::OpsWorks::Model::InstancesCount::WithStopFailed
InstancesCount & WithStopFailed(int value)
Definition: InstancesCount.h:351
Aws::OpsWorks::Model::InstancesCount::GetRegistered
int GetRegistered() const
Definition: InstancesCount.h:189