AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
36 AWS_GAMELIFT_API EC2InstanceCounts(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline int GetDESIRED() const { return m_dESIRED; }
50 inline bool DESIREDHasBeenSet() const { return m_dESIREDHasBeenSet; }
51 inline void SetDESIRED(int value) { m_dESIREDHasBeenSet = true; m_dESIRED = value; }
52 inline EC2InstanceCounts& WithDESIRED(int value) { SetDESIRED(value); return *this;}
54
56
59 inline int GetMINIMUM() const { return m_mINIMUM; }
60 inline bool MINIMUMHasBeenSet() const { return m_mINIMUMHasBeenSet; }
61 inline void SetMINIMUM(int value) { m_mINIMUMHasBeenSet = true; m_mINIMUM = value; }
62 inline EC2InstanceCounts& WithMINIMUM(int value) { SetMINIMUM(value); return *this;}
64
66
69 inline int GetMAXIMUM() const { return m_mAXIMUM; }
70 inline bool MAXIMUMHasBeenSet() const { return m_mAXIMUMHasBeenSet; }
71 inline void SetMAXIMUM(int value) { m_mAXIMUMHasBeenSet = true; m_mAXIMUM = value; }
72 inline EC2InstanceCounts& WithMAXIMUM(int value) { SetMAXIMUM(value); return *this;}
74
76
79 inline int GetPENDING() const { return m_pENDING; }
80 inline bool PENDINGHasBeenSet() const { return m_pENDINGHasBeenSet; }
81 inline void SetPENDING(int value) { m_pENDINGHasBeenSet = true; m_pENDING = value; }
82 inline EC2InstanceCounts& WithPENDING(int value) { SetPENDING(value); return *this;}
84
86
89 inline int GetACTIVE() const { return m_aCTIVE; }
90 inline bool ACTIVEHasBeenSet() const { return m_aCTIVEHasBeenSet; }
91 inline void SetACTIVE(int value) { m_aCTIVEHasBeenSet = true; m_aCTIVE = value; }
92 inline EC2InstanceCounts& WithACTIVE(int value) { SetACTIVE(value); return *this;}
94
96
99 inline int GetIDLE() const { return m_iDLE; }
100 inline bool IDLEHasBeenSet() const { return m_iDLEHasBeenSet; }
101 inline void SetIDLE(int value) { m_iDLEHasBeenSet = true; m_iDLE = value; }
102 inline EC2InstanceCounts& WithIDLE(int value) { SetIDLE(value); return *this;}
104
106
110 inline int GetTERMINATING() const { return m_tERMINATING; }
111 inline bool TERMINATINGHasBeenSet() const { return m_tERMINATINGHasBeenSet; }
112 inline void SetTERMINATING(int value) { m_tERMINATINGHasBeenSet = true; m_tERMINATING = value; }
113 inline EC2InstanceCounts& WithTERMINATING(int value) { SetTERMINATING(value); return *this;}
115 private:
116
117 int m_dESIRED{0};
118 bool m_dESIREDHasBeenSet = false;
119
120 int m_mINIMUM{0};
121 bool m_mINIMUMHasBeenSet = false;
122
123 int m_mAXIMUM{0};
124 bool m_mAXIMUMHasBeenSet = false;
125
126 int m_pENDING{0};
127 bool m_pENDINGHasBeenSet = false;
128
129 int m_aCTIVE{0};
130 bool m_aCTIVEHasBeenSet = false;
131
132 int m_iDLE{0};
133 bool m_iDLEHasBeenSet = false;
134
135 int m_tERMINATING{0};
136 bool m_tERMINATINGHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace GameLift
141} // 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)
AWS_GAMELIFT_API EC2InstanceCounts()=default
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