AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EC2InstanceCounts.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
33 {
34 public:
35 AWS_GAMELIFT_API EC2InstanceCounts();
36 AWS_GAMELIFT_API EC2InstanceCounts(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline int GetDESIRED() const{ return m_dESIRED; }
49 inline bool DESIREDHasBeenSet() const { return m_dESIREDHasBeenSet; }
50 inline void SetDESIRED(int value) { m_dESIREDHasBeenSet = true; m_dESIRED = value; }
51 inline EC2InstanceCounts& WithDESIRED(int value) { SetDESIRED(value); return *this;}
53
55
58 inline int GetMINIMUM() const{ return m_mINIMUM; }
59 inline bool MINIMUMHasBeenSet() const { return m_mINIMUMHasBeenSet; }
60 inline void SetMINIMUM(int value) { m_mINIMUMHasBeenSet = true; m_mINIMUM = value; }
61 inline EC2InstanceCounts& WithMINIMUM(int value) { SetMINIMUM(value); return *this;}
63
65
68 inline int GetMAXIMUM() const{ return m_mAXIMUM; }
69 inline bool MAXIMUMHasBeenSet() const { return m_mAXIMUMHasBeenSet; }
70 inline void SetMAXIMUM(int value) { m_mAXIMUMHasBeenSet = true; m_mAXIMUM = value; }
71 inline EC2InstanceCounts& WithMAXIMUM(int value) { SetMAXIMUM(value); return *this;}
73
75
78 inline int GetPENDING() const{ return m_pENDING; }
79 inline bool PENDINGHasBeenSet() const { return m_pENDINGHasBeenSet; }
80 inline void SetPENDING(int value) { m_pENDINGHasBeenSet = true; m_pENDING = value; }
81 inline EC2InstanceCounts& WithPENDING(int value) { SetPENDING(value); return *this;}
83
85
88 inline int GetACTIVE() const{ return m_aCTIVE; }
89 inline bool ACTIVEHasBeenSet() const { return m_aCTIVEHasBeenSet; }
90 inline void SetACTIVE(int value) { m_aCTIVEHasBeenSet = true; m_aCTIVE = value; }
91 inline EC2InstanceCounts& WithACTIVE(int value) { SetACTIVE(value); return *this;}
93
95
98 inline int GetIDLE() const{ return m_iDLE; }
99 inline bool IDLEHasBeenSet() const { return m_iDLEHasBeenSet; }
100 inline void SetIDLE(int value) { m_iDLEHasBeenSet = true; m_iDLE = value; }
101 inline EC2InstanceCounts& WithIDLE(int value) { SetIDLE(value); return *this;}
103
105
109 inline int GetTERMINATING() const{ return m_tERMINATING; }
110 inline bool TERMINATINGHasBeenSet() const { return m_tERMINATINGHasBeenSet; }
111 inline void SetTERMINATING(int value) { m_tERMINATINGHasBeenSet = true; m_tERMINATING = value; }
112 inline EC2InstanceCounts& WithTERMINATING(int value) { SetTERMINATING(value); return *this;}
114 private:
115
116 int m_dESIRED;
117 bool m_dESIREDHasBeenSet = false;
118
119 int m_mINIMUM;
120 bool m_mINIMUMHasBeenSet = false;
121
122 int m_mAXIMUM;
123 bool m_mAXIMUMHasBeenSet = false;
124
125 int m_pENDING;
126 bool m_pENDINGHasBeenSet = false;
127
128 int m_aCTIVE;
129 bool m_aCTIVEHasBeenSet = false;
130
131 int m_iDLE;
132 bool m_iDLEHasBeenSet = false;
133
134 int m_tERMINATING;
135 bool m_tERMINATINGHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace GameLift
140} // namespace Aws
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
EC2InstanceCounts & WithMINIMUM(int value)
EC2InstanceCounts & WithPENDING(int value)
AWS_GAMELIFT_API EC2InstanceCounts(Aws::Utils::Json::JsonView jsonValue)
EC2InstanceCounts & WithDESIRED(int value)
EC2InstanceCounts & WithTERMINATING(int value)
EC2InstanceCounts & WithACTIVE(int value)
EC2InstanceCounts & WithIDLE(int value)
EC2InstanceCounts & WithMAXIMUM(int value)
AWS_GAMELIFT_API EC2InstanceCounts & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue