AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DbSystemShapeSummary.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/ShapeType.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 DbSystemShapeSummary() = default;
38
40
43 inline int GetAvailableCoreCount() const { return m_availableCoreCount; }
44 inline bool AvailableCoreCountHasBeenSet() const { return m_availableCoreCountHasBeenSet; }
45 inline void SetAvailableCoreCount(int value) {
46 m_availableCoreCountHasBeenSet = true;
47 m_availableCoreCount = value;
48 }
51 return *this;
52 }
54
56
60 inline int GetAvailableCoreCountPerNode() const { return m_availableCoreCountPerNode; }
61 inline bool AvailableCoreCountPerNodeHasBeenSet() const { return m_availableCoreCountPerNodeHasBeenSet; }
62 inline void SetAvailableCoreCountPerNode(int value) {
63 m_availableCoreCountPerNodeHasBeenSet = true;
64 m_availableCoreCountPerNode = value;
65 }
68 return *this;
69 }
71
73
77 inline int GetAvailableDataStorageInTBs() const { return m_availableDataStorageInTBs; }
78 inline bool AvailableDataStorageInTBsHasBeenSet() const { return m_availableDataStorageInTBsHasBeenSet; }
79 inline void SetAvailableDataStorageInTBs(int value) {
80 m_availableDataStorageInTBsHasBeenSet = true;
81 m_availableDataStorageInTBs = value;
82 }
85 return *this;
86 }
88
90
94 inline int GetAvailableDataStoragePerServerInTBs() const { return m_availableDataStoragePerServerInTBs; }
95 inline bool AvailableDataStoragePerServerInTBsHasBeenSet() const { return m_availableDataStoragePerServerInTBsHasBeenSet; }
97 m_availableDataStoragePerServerInTBsHasBeenSet = true;
98 m_availableDataStoragePerServerInTBs = value;
99 }
102 return *this;
103 }
105
107
111 inline int GetAvailableDbNodePerNodeInGBs() const { return m_availableDbNodePerNodeInGBs; }
112 inline bool AvailableDbNodePerNodeInGBsHasBeenSet() const { return m_availableDbNodePerNodeInGBsHasBeenSet; }
113 inline void SetAvailableDbNodePerNodeInGBs(int value) {
114 m_availableDbNodePerNodeInGBsHasBeenSet = true;
115 m_availableDbNodePerNodeInGBs = value;
116 }
119 return *this;
120 }
122
124
128 inline int GetAvailableDbNodeStorageInGBs() const { return m_availableDbNodeStorageInGBs; }
129 inline bool AvailableDbNodeStorageInGBsHasBeenSet() const { return m_availableDbNodeStorageInGBsHasBeenSet; }
130 inline void SetAvailableDbNodeStorageInGBs(int value) {
131 m_availableDbNodeStorageInGBsHasBeenSet = true;
132 m_availableDbNodeStorageInGBs = value;
133 }
136 return *this;
137 }
139
141
145 inline int GetAvailableMemoryInGBs() const { return m_availableMemoryInGBs; }
146 inline bool AvailableMemoryInGBsHasBeenSet() const { return m_availableMemoryInGBsHasBeenSet; }
147 inline void SetAvailableMemoryInGBs(int value) {
148 m_availableMemoryInGBsHasBeenSet = true;
149 m_availableMemoryInGBs = value;
150 }
153 return *this;
154 }
156
158
162 inline int GetAvailableMemoryPerNodeInGBs() const { return m_availableMemoryPerNodeInGBs; }
163 inline bool AvailableMemoryPerNodeInGBsHasBeenSet() const { return m_availableMemoryPerNodeInGBsHasBeenSet; }
164 inline void SetAvailableMemoryPerNodeInGBs(int value) {
165 m_availableMemoryPerNodeInGBsHasBeenSet = true;
166 m_availableMemoryPerNodeInGBs = value;
167 }
170 return *this;
171 }
173
175
179 inline int GetCoreCountIncrement() const { return m_coreCountIncrement; }
180 inline bool CoreCountIncrementHasBeenSet() const { return m_coreCountIncrementHasBeenSet; }
181 inline void SetCoreCountIncrement(int value) {
182 m_coreCountIncrementHasBeenSet = true;
183 m_coreCountIncrement = value;
184 }
187 return *this;
188 }
190
192
196 inline int GetMaxStorageCount() const { return m_maxStorageCount; }
197 inline bool MaxStorageCountHasBeenSet() const { return m_maxStorageCountHasBeenSet; }
198 inline void SetMaxStorageCount(int value) {
199 m_maxStorageCountHasBeenSet = true;
200 m_maxStorageCount = value;
201 }
203 SetMaxStorageCount(value);
204 return *this;
205 }
207
209
212 inline int GetMaximumNodeCount() const { return m_maximumNodeCount; }
213 inline bool MaximumNodeCountHasBeenSet() const { return m_maximumNodeCountHasBeenSet; }
214 inline void SetMaximumNodeCount(int value) {
215 m_maximumNodeCountHasBeenSet = true;
216 m_maximumNodeCount = value;
217 }
219 SetMaximumNodeCount(value);
220 return *this;
221 }
223
225
229 inline int GetMinCoreCountPerNode() const { return m_minCoreCountPerNode; }
230 inline bool MinCoreCountPerNodeHasBeenSet() const { return m_minCoreCountPerNodeHasBeenSet; }
231 inline void SetMinCoreCountPerNode(int value) {
232 m_minCoreCountPerNodeHasBeenSet = true;
233 m_minCoreCountPerNode = value;
234 }
237 return *this;
238 }
240
242
246 inline int GetMinDataStorageInTBs() const { return m_minDataStorageInTBs; }
247 inline bool MinDataStorageInTBsHasBeenSet() const { return m_minDataStorageInTBsHasBeenSet; }
248 inline void SetMinDataStorageInTBs(int value) {
249 m_minDataStorageInTBsHasBeenSet = true;
250 m_minDataStorageInTBs = value;
251 }
254 return *this;
255 }
257
259
263 inline int GetMinDbNodeStoragePerNodeInGBs() const { return m_minDbNodeStoragePerNodeInGBs; }
264 inline bool MinDbNodeStoragePerNodeInGBsHasBeenSet() const { return m_minDbNodeStoragePerNodeInGBsHasBeenSet; }
265 inline void SetMinDbNodeStoragePerNodeInGBs(int value) {
266 m_minDbNodeStoragePerNodeInGBsHasBeenSet = true;
267 m_minDbNodeStoragePerNodeInGBs = value;
268 }
271 return *this;
272 }
274
276
280 inline int GetMinMemoryPerNodeInGBs() const { return m_minMemoryPerNodeInGBs; }
281 inline bool MinMemoryPerNodeInGBsHasBeenSet() const { return m_minMemoryPerNodeInGBsHasBeenSet; }
282 inline void SetMinMemoryPerNodeInGBs(int value) {
283 m_minMemoryPerNodeInGBsHasBeenSet = true;
284 m_minMemoryPerNodeInGBs = value;
285 }
288 return *this;
289 }
291
293
297 inline int GetMinStorageCount() const { return m_minStorageCount; }
298 inline bool MinStorageCountHasBeenSet() const { return m_minStorageCountHasBeenSet; }
299 inline void SetMinStorageCount(int value) {
300 m_minStorageCountHasBeenSet = true;
301 m_minStorageCount = value;
302 }
304 SetMinStorageCount(value);
305 return *this;
306 }
308
310
313 inline int GetMinimumCoreCount() const { return m_minimumCoreCount; }
314 inline bool MinimumCoreCountHasBeenSet() const { return m_minimumCoreCountHasBeenSet; }
315 inline void SetMinimumCoreCount(int value) {
316 m_minimumCoreCountHasBeenSet = true;
317 m_minimumCoreCount = value;
318 }
320 SetMinimumCoreCount(value);
321 return *this;
322 }
324
326
329 inline int GetMinimumNodeCount() const { return m_minimumNodeCount; }
330 inline bool MinimumNodeCountHasBeenSet() const { return m_minimumNodeCountHasBeenSet; }
331 inline void SetMinimumNodeCount(int value) {
332 m_minimumNodeCountHasBeenSet = true;
333 m_minimumNodeCount = value;
334 }
336 SetMinimumNodeCount(value);
337 return *this;
338 }
340
342
346 inline int GetRuntimeMinimumCoreCount() const { return m_runtimeMinimumCoreCount; }
347 inline bool RuntimeMinimumCoreCountHasBeenSet() const { return m_runtimeMinimumCoreCountHasBeenSet; }
348 inline void SetRuntimeMinimumCoreCount(int value) {
349 m_runtimeMinimumCoreCountHasBeenSet = true;
350 m_runtimeMinimumCoreCount = value;
351 }
354 return *this;
355 }
357
359
362 inline const Aws::String& GetShapeFamily() const { return m_shapeFamily; }
363 inline bool ShapeFamilyHasBeenSet() const { return m_shapeFamilyHasBeenSet; }
364 template <typename ShapeFamilyT = Aws::String>
365 void SetShapeFamily(ShapeFamilyT&& value) {
366 m_shapeFamilyHasBeenSet = true;
367 m_shapeFamily = std::forward<ShapeFamilyT>(value);
368 }
369 template <typename ShapeFamilyT = Aws::String>
370 DbSystemShapeSummary& WithShapeFamily(ShapeFamilyT&& value) {
371 SetShapeFamily(std::forward<ShapeFamilyT>(value));
372 return *this;
373 }
375
377
380 inline ShapeType GetShapeType() const { return m_shapeType; }
381 inline bool ShapeTypeHasBeenSet() const { return m_shapeTypeHasBeenSet; }
382 inline void SetShapeType(ShapeType value) {
383 m_shapeTypeHasBeenSet = true;
384 m_shapeType = value;
385 }
387 SetShapeType(value);
388 return *this;
389 }
391
393
396 inline const Aws::String& GetName() const { return m_name; }
397 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
398 template <typename NameT = Aws::String>
399 void SetName(NameT&& value) {
400 m_nameHasBeenSet = true;
401 m_name = std::forward<NameT>(value);
402 }
403 template <typename NameT = Aws::String>
405 SetName(std::forward<NameT>(value));
406 return *this;
407 }
409
411
418 inline ComputeModel GetComputeModel() const { return m_computeModel; }
419 inline bool ComputeModelHasBeenSet() const { return m_computeModelHasBeenSet; }
420 inline void SetComputeModel(ComputeModel value) {
421 m_computeModelHasBeenSet = true;
422 m_computeModel = value;
423 }
425 SetComputeModel(value);
426 return *this;
427 }
429
431
435 inline bool GetAreServerTypesSupported() const { return m_areServerTypesSupported; }
436 inline bool AreServerTypesSupportedHasBeenSet() const { return m_areServerTypesSupportedHasBeenSet; }
437 inline void SetAreServerTypesSupported(bool value) {
438 m_areServerTypesSupportedHasBeenSet = true;
439 m_areServerTypesSupported = value;
440 }
443 return *this;
444 }
446 private:
447 int m_availableCoreCount{0};
448
449 int m_availableCoreCountPerNode{0};
450
451 int m_availableDataStorageInTBs{0};
452
453 int m_availableDataStoragePerServerInTBs{0};
454
455 int m_availableDbNodePerNodeInGBs{0};
456
457 int m_availableDbNodeStorageInGBs{0};
458
459 int m_availableMemoryInGBs{0};
460
461 int m_availableMemoryPerNodeInGBs{0};
462
463 int m_coreCountIncrement{0};
464
465 int m_maxStorageCount{0};
466
467 int m_maximumNodeCount{0};
468
469 int m_minCoreCountPerNode{0};
470
471 int m_minDataStorageInTBs{0};
472
473 int m_minDbNodeStoragePerNodeInGBs{0};
474
475 int m_minMemoryPerNodeInGBs{0};
476
477 int m_minStorageCount{0};
478
479 int m_minimumCoreCount{0};
480
481 int m_minimumNodeCount{0};
482
483 int m_runtimeMinimumCoreCount{0};
484
485 Aws::String m_shapeFamily;
486
487 ShapeType m_shapeType{ShapeType::NOT_SET};
488
489 Aws::String m_name;
490
491 ComputeModel m_computeModel{ComputeModel::NOT_SET};
492
493 bool m_areServerTypesSupported{false};
494 bool m_availableCoreCountHasBeenSet = false;
495 bool m_availableCoreCountPerNodeHasBeenSet = false;
496 bool m_availableDataStorageInTBsHasBeenSet = false;
497 bool m_availableDataStoragePerServerInTBsHasBeenSet = false;
498 bool m_availableDbNodePerNodeInGBsHasBeenSet = false;
499 bool m_availableDbNodeStorageInGBsHasBeenSet = false;
500 bool m_availableMemoryInGBsHasBeenSet = false;
501 bool m_availableMemoryPerNodeInGBsHasBeenSet = false;
502 bool m_coreCountIncrementHasBeenSet = false;
503 bool m_maxStorageCountHasBeenSet = false;
504 bool m_maximumNodeCountHasBeenSet = false;
505 bool m_minCoreCountPerNodeHasBeenSet = false;
506 bool m_minDataStorageInTBsHasBeenSet = false;
507 bool m_minDbNodeStoragePerNodeInGBsHasBeenSet = false;
508 bool m_minMemoryPerNodeInGBsHasBeenSet = false;
509 bool m_minStorageCountHasBeenSet = false;
510 bool m_minimumCoreCountHasBeenSet = false;
511 bool m_minimumNodeCountHasBeenSet = false;
512 bool m_runtimeMinimumCoreCountHasBeenSet = false;
513 bool m_shapeFamilyHasBeenSet = false;
514 bool m_shapeTypeHasBeenSet = false;
515 bool m_nameHasBeenSet = false;
516 bool m_computeModelHasBeenSet = false;
517 bool m_areServerTypesSupportedHasBeenSet = false;
518};
519
520} // namespace Model
521} // namespace odb
522} // namespace Aws
DbSystemShapeSummary & WithMinStorageCount(int value)
DbSystemShapeSummary & WithName(NameT &&value)
DbSystemShapeSummary & WithMaximumNodeCount(int value)
DbSystemShapeSummary & WithMinimumNodeCount(int value)
AWS_ODB_API DbSystemShapeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DbSystemShapeSummary & WithAvailableDbNodeStorageInGBs(int value)
DbSystemShapeSummary & WithAvailableMemoryInGBs(int value)
DbSystemShapeSummary & WithShapeFamily(ShapeFamilyT &&value)
DbSystemShapeSummary & WithAvailableCoreCount(int value)
DbSystemShapeSummary & WithAvailableDataStoragePerServerInTBs(int value)
const Aws::String & GetShapeFamily() const
DbSystemShapeSummary & WithMinDataStorageInTBs(int value)
DbSystemShapeSummary & WithAvailableMemoryPerNodeInGBs(int value)
DbSystemShapeSummary & WithAvailableDbNodePerNodeInGBs(int value)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
DbSystemShapeSummary & WithMaxStorageCount(int value)
DbSystemShapeSummary & WithComputeModel(ComputeModel value)
DbSystemShapeSummary & WithRuntimeMinimumCoreCount(int value)
AWS_ODB_API DbSystemShapeSummary(Aws::Utils::Json::JsonView jsonValue)
DbSystemShapeSummary & WithMinMemoryPerNodeInGBs(int value)
DbSystemShapeSummary & WithAvailableCoreCountPerNode(int value)
DbSystemShapeSummary & WithCoreCountIncrement(int value)
DbSystemShapeSummary & WithAvailableDataStorageInTBs(int value)
AWS_ODB_API DbSystemShapeSummary()=default
DbSystemShapeSummary & WithAreServerTypesSupported(bool value)
DbSystemShapeSummary & WithMinimumCoreCount(int value)
DbSystemShapeSummary & WithMinCoreCountPerNode(int value)
DbSystemShapeSummary & WithMinDbNodeStoragePerNodeInGBs(int value)
DbSystemShapeSummary & WithShapeType(ShapeType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue