AWS SDK for C++

AWS SDK for C++ Version 1.11.888

Loading...
Searching...
No Matches
FlexComponentSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/odb/Odb_EXPORTS.h>
9#include <aws/odb/model/ComputeModel.h>
10#include <aws/odb/model/HardwareType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace odb {
22namespace Model {
23
33 public:
34 AWS_ODB_API FlexComponentSummary() = default;
38
40
44 inline int GetAvailableCoreCount() const { return m_availableCoreCount; }
45 inline bool AvailableCoreCountHasBeenSet() const { return m_availableCoreCountHasBeenSet; }
46 inline void SetAvailableCoreCount(int value) {
47 m_availableCoreCountHasBeenSet = true;
48 m_availableCoreCount = value;
49 }
52 return *this;
53 }
55
57
61 inline int GetAvailableDbStorageInGBs() const { return m_availableDbStorageInGBs; }
62 inline bool AvailableDbStorageInGBsHasBeenSet() const { return m_availableDbStorageInGBsHasBeenSet; }
63 inline void SetAvailableDbStorageInGBs(int value) {
64 m_availableDbStorageInGBsHasBeenSet = true;
65 m_availableDbStorageInGBs = value;
66 }
69 return *this;
70 }
72
74
78 inline int GetAvailableLocalStorageInGBs() const { return m_availableLocalStorageInGBs; }
79 inline bool AvailableLocalStorageInGBsHasBeenSet() const { return m_availableLocalStorageInGBsHasBeenSet; }
80 inline void SetAvailableLocalStorageInGBs(int value) {
81 m_availableLocalStorageInGBsHasBeenSet = true;
82 m_availableLocalStorageInGBs = value;
83 }
86 return *this;
87 }
89
91
95 inline int GetAvailableMemoryInGBs() const { return m_availableMemoryInGBs; }
96 inline bool AvailableMemoryInGBsHasBeenSet() const { return m_availableMemoryInGBsHasBeenSet; }
97 inline void SetAvailableMemoryInGBs(int value) {
98 m_availableMemoryInGBsHasBeenSet = true;
99 m_availableMemoryInGBs = value;
100 }
103 return *this;
104 }
106
108
115 inline ComputeModel GetComputeModel() const { return m_computeModel; }
116 inline bool ComputeModelHasBeenSet() const { return m_computeModelHasBeenSet; }
117 inline void SetComputeModel(ComputeModel value) {
118 m_computeModelHasBeenSet = true;
119 m_computeModel = value;
120 }
122 SetComputeModel(value);
123 return *this;
124 }
126
128
131 inline const Aws::String& GetDescriptionSummary() const { return m_descriptionSummary; }
132 inline bool DescriptionSummaryHasBeenSet() const { return m_descriptionSummaryHasBeenSet; }
133 template <typename DescriptionSummaryT = Aws::String>
134 void SetDescriptionSummary(DescriptionSummaryT&& value) {
135 m_descriptionSummaryHasBeenSet = true;
136 m_descriptionSummary = std::forward<DescriptionSummaryT>(value);
137 }
138 template <typename DescriptionSummaryT = Aws::String>
139 FlexComponentSummary& WithDescriptionSummary(DescriptionSummaryT&& value) {
140 SetDescriptionSummary(std::forward<DescriptionSummaryT>(value));
141 return *this;
142 }
144
146
151 inline HardwareType GetHardwareType() const { return m_hardwareType; }
152 inline bool HardwareTypeHasBeenSet() const { return m_hardwareTypeHasBeenSet; }
153 inline void SetHardwareType(HardwareType value) {
154 m_hardwareTypeHasBeenSet = true;
155 m_hardwareType = value;
156 }
158 SetHardwareType(value);
159 return *this;
160 }
162
164
168 inline int GetMinimumCoreCount() const { return m_minimumCoreCount; }
169 inline bool MinimumCoreCountHasBeenSet() const { return m_minimumCoreCountHasBeenSet; }
170 inline void SetMinimumCoreCount(int value) {
171 m_minimumCoreCountHasBeenSet = true;
172 m_minimumCoreCount = value;
173 }
175 SetMinimumCoreCount(value);
176 return *this;
177 }
179
181
184 inline const Aws::String& GetName() const { return m_name; }
185 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
186 template <typename NameT = Aws::String>
187 void SetName(NameT&& value) {
188 m_nameHasBeenSet = true;
189 m_name = std::forward<NameT>(value);
190 }
191 template <typename NameT = Aws::String>
193 SetName(std::forward<NameT>(value));
194 return *this;
195 }
197
199
203 inline int GetRuntimeMinimumCoreCount() const { return m_runtimeMinimumCoreCount; }
204 inline bool RuntimeMinimumCoreCountHasBeenSet() const { return m_runtimeMinimumCoreCountHasBeenSet; }
205 inline void SetRuntimeMinimumCoreCount(int value) {
206 m_runtimeMinimumCoreCountHasBeenSet = true;
207 m_runtimeMinimumCoreCount = value;
208 }
211 return *this;
212 }
214
216
219 inline const Aws::String& GetShape() const { return m_shape; }
220 inline bool ShapeHasBeenSet() const { return m_shapeHasBeenSet; }
221 template <typename ShapeT = Aws::String>
222 void SetShape(ShapeT&& value) {
223 m_shapeHasBeenSet = true;
224 m_shape = std::forward<ShapeT>(value);
225 }
226 template <typename ShapeT = Aws::String>
228 SetShape(std::forward<ShapeT>(value));
229 return *this;
230 }
232 private:
233 int m_availableCoreCount{0};
234
235 int m_availableDbStorageInGBs{0};
236
237 int m_availableLocalStorageInGBs{0};
238
239 int m_availableMemoryInGBs{0};
240
241 ComputeModel m_computeModel{ComputeModel::NOT_SET};
242
243 Aws::String m_descriptionSummary;
244
245 HardwareType m_hardwareType{HardwareType::NOT_SET};
246
247 int m_minimumCoreCount{0};
248
249 Aws::String m_name;
250
251 int m_runtimeMinimumCoreCount{0};
252
253 Aws::String m_shape;
254 bool m_availableCoreCountHasBeenSet = false;
255 bool m_availableDbStorageInGBsHasBeenSet = false;
256 bool m_availableLocalStorageInGBsHasBeenSet = false;
257 bool m_availableMemoryInGBsHasBeenSet = false;
258 bool m_computeModelHasBeenSet = false;
259 bool m_descriptionSummaryHasBeenSet = false;
260 bool m_hardwareTypeHasBeenSet = false;
261 bool m_minimumCoreCountHasBeenSet = false;
262 bool m_nameHasBeenSet = false;
263 bool m_runtimeMinimumCoreCountHasBeenSet = false;
264 bool m_shapeHasBeenSet = false;
265};
266
267} // namespace Model
268} // namespace odb
269} // namespace Aws
const Aws::String & GetDescriptionSummary() const
FlexComponentSummary & WithDescriptionSummary(DescriptionSummaryT &&value)
AWS_ODB_API FlexComponentSummary(Aws::Utils::Json::JsonView jsonValue)
FlexComponentSummary & WithAvailableLocalStorageInGBs(int value)
FlexComponentSummary & WithName(NameT &&value)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
FlexComponentSummary & WithRuntimeMinimumCoreCount(int value)
FlexComponentSummary & WithAvailableDbStorageInGBs(int value)
void SetDescriptionSummary(DescriptionSummaryT &&value)
FlexComponentSummary & WithMinimumCoreCount(int value)
FlexComponentSummary & WithHardwareType(HardwareType value)
FlexComponentSummary & WithComputeModel(ComputeModel value)
FlexComponentSummary & WithAvailableCoreCount(int value)
AWS_ODB_API FlexComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FlexComponentSummary & WithAvailableMemoryInGBs(int value)
AWS_ODB_API FlexComponentSummary()=default
FlexComponentSummary & WithShape(ShapeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue