AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
DbSystemShapeSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/odb/Odb_EXPORTS.h>
10#include <aws/odb/model/ComputeModel.h>
11#include <aws/odb/model/ShapeAttribute.h>
12#include <aws/odb/model/ShapeType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace odb {
24namespace Model {
25
35 public:
36 AWS_ODB_API DbSystemShapeSummary() = default;
40
42
45 inline int GetAvailableCoreCount() const { return m_availableCoreCount; }
46 inline bool AvailableCoreCountHasBeenSet() const { return m_availableCoreCountHasBeenSet; }
47 inline void SetAvailableCoreCount(int value) {
48 m_availableCoreCountHasBeenSet = true;
49 m_availableCoreCount = value;
50 }
53 return *this;
54 }
56
58
62 inline int GetAvailableCoreCountPerNode() const { return m_availableCoreCountPerNode; }
63 inline bool AvailableCoreCountPerNodeHasBeenSet() const { return m_availableCoreCountPerNodeHasBeenSet; }
64 inline void SetAvailableCoreCountPerNode(int value) {
65 m_availableCoreCountPerNodeHasBeenSet = true;
66 m_availableCoreCountPerNode = value;
67 }
70 return *this;
71 }
73
75
79 inline int GetAvailableDataStorageInTBs() const { return m_availableDataStorageInTBs; }
80 inline bool AvailableDataStorageInTBsHasBeenSet() const { return m_availableDataStorageInTBsHasBeenSet; }
81 inline void SetAvailableDataStorageInTBs(int value) {
82 m_availableDataStorageInTBsHasBeenSet = true;
83 m_availableDataStorageInTBs = value;
84 }
87 return *this;
88 }
90
92
96 inline int GetAvailableDataStoragePerServerInTBs() const { return m_availableDataStoragePerServerInTBs; }
97 inline bool AvailableDataStoragePerServerInTBsHasBeenSet() const { return m_availableDataStoragePerServerInTBsHasBeenSet; }
99 m_availableDataStoragePerServerInTBsHasBeenSet = true;
100 m_availableDataStoragePerServerInTBs = value;
101 }
104 return *this;
105 }
107
109
113 inline int GetAvailableDbNodePerNodeInGBs() const { return m_availableDbNodePerNodeInGBs; }
114 inline bool AvailableDbNodePerNodeInGBsHasBeenSet() const { return m_availableDbNodePerNodeInGBsHasBeenSet; }
115 inline void SetAvailableDbNodePerNodeInGBs(int value) {
116 m_availableDbNodePerNodeInGBsHasBeenSet = true;
117 m_availableDbNodePerNodeInGBs = value;
118 }
121 return *this;
122 }
124
126
130 inline int GetAvailableDbNodeStorageInGBs() const { return m_availableDbNodeStorageInGBs; }
131 inline bool AvailableDbNodeStorageInGBsHasBeenSet() const { return m_availableDbNodeStorageInGBsHasBeenSet; }
132 inline void SetAvailableDbNodeStorageInGBs(int value) {
133 m_availableDbNodeStorageInGBsHasBeenSet = true;
134 m_availableDbNodeStorageInGBs = value;
135 }
138 return *this;
139 }
141
143
147 inline int GetAvailableMemoryInGBs() const { return m_availableMemoryInGBs; }
148 inline bool AvailableMemoryInGBsHasBeenSet() const { return m_availableMemoryInGBsHasBeenSet; }
149 inline void SetAvailableMemoryInGBs(int value) {
150 m_availableMemoryInGBsHasBeenSet = true;
151 m_availableMemoryInGBs = value;
152 }
155 return *this;
156 }
158
160
164 inline int GetAvailableMemoryPerNodeInGBs() const { return m_availableMemoryPerNodeInGBs; }
165 inline bool AvailableMemoryPerNodeInGBsHasBeenSet() const { return m_availableMemoryPerNodeInGBsHasBeenSet; }
166 inline void SetAvailableMemoryPerNodeInGBs(int value) {
167 m_availableMemoryPerNodeInGBsHasBeenSet = true;
168 m_availableMemoryPerNodeInGBs = value;
169 }
172 return *this;
173 }
175
177
181 inline int GetCoreCountIncrement() const { return m_coreCountIncrement; }
182 inline bool CoreCountIncrementHasBeenSet() const { return m_coreCountIncrementHasBeenSet; }
183 inline void SetCoreCountIncrement(int value) {
184 m_coreCountIncrementHasBeenSet = true;
185 m_coreCountIncrement = value;
186 }
189 return *this;
190 }
192
194
198 inline int GetMaxStorageCount() const { return m_maxStorageCount; }
199 inline bool MaxStorageCountHasBeenSet() const { return m_maxStorageCountHasBeenSet; }
200 inline void SetMaxStorageCount(int value) {
201 m_maxStorageCountHasBeenSet = true;
202 m_maxStorageCount = value;
203 }
205 SetMaxStorageCount(value);
206 return *this;
207 }
209
211
214 inline int GetMaximumNodeCount() const { return m_maximumNodeCount; }
215 inline bool MaximumNodeCountHasBeenSet() const { return m_maximumNodeCountHasBeenSet; }
216 inline void SetMaximumNodeCount(int value) {
217 m_maximumNodeCountHasBeenSet = true;
218 m_maximumNodeCount = value;
219 }
221 SetMaximumNodeCount(value);
222 return *this;
223 }
225
227
231 inline int GetMinCoreCountPerNode() const { return m_minCoreCountPerNode; }
232 inline bool MinCoreCountPerNodeHasBeenSet() const { return m_minCoreCountPerNodeHasBeenSet; }
233 inline void SetMinCoreCountPerNode(int value) {
234 m_minCoreCountPerNodeHasBeenSet = true;
235 m_minCoreCountPerNode = value;
236 }
239 return *this;
240 }
242
244
248 inline int GetMinDataStorageInTBs() const { return m_minDataStorageInTBs; }
249 inline bool MinDataStorageInTBsHasBeenSet() const { return m_minDataStorageInTBsHasBeenSet; }
250 inline void SetMinDataStorageInTBs(int value) {
251 m_minDataStorageInTBsHasBeenSet = true;
252 m_minDataStorageInTBs = value;
253 }
256 return *this;
257 }
259
261
265 inline int GetMinDbNodeStoragePerNodeInGBs() const { return m_minDbNodeStoragePerNodeInGBs; }
266 inline bool MinDbNodeStoragePerNodeInGBsHasBeenSet() const { return m_minDbNodeStoragePerNodeInGBsHasBeenSet; }
267 inline void SetMinDbNodeStoragePerNodeInGBs(int value) {
268 m_minDbNodeStoragePerNodeInGBsHasBeenSet = true;
269 m_minDbNodeStoragePerNodeInGBs = value;
270 }
273 return *this;
274 }
276
278
282 inline int GetMinMemoryPerNodeInGBs() const { return m_minMemoryPerNodeInGBs; }
283 inline bool MinMemoryPerNodeInGBsHasBeenSet() const { return m_minMemoryPerNodeInGBsHasBeenSet; }
284 inline void SetMinMemoryPerNodeInGBs(int value) {
285 m_minMemoryPerNodeInGBsHasBeenSet = true;
286 m_minMemoryPerNodeInGBs = value;
287 }
290 return *this;
291 }
293
295
299 inline int GetMinStorageCount() const { return m_minStorageCount; }
300 inline bool MinStorageCountHasBeenSet() const { return m_minStorageCountHasBeenSet; }
301 inline void SetMinStorageCount(int value) {
302 m_minStorageCountHasBeenSet = true;
303 m_minStorageCount = value;
304 }
306 SetMinStorageCount(value);
307 return *this;
308 }
310
312
315 inline int GetMinimumCoreCount() const { return m_minimumCoreCount; }
316 inline bool MinimumCoreCountHasBeenSet() const { return m_minimumCoreCountHasBeenSet; }
317 inline void SetMinimumCoreCount(int value) {
318 m_minimumCoreCountHasBeenSet = true;
319 m_minimumCoreCount = value;
320 }
322 SetMinimumCoreCount(value);
323 return *this;
324 }
326
328
331 inline int GetMinimumNodeCount() const { return m_minimumNodeCount; }
332 inline bool MinimumNodeCountHasBeenSet() const { return m_minimumNodeCountHasBeenSet; }
333 inline void SetMinimumNodeCount(int value) {
334 m_minimumNodeCountHasBeenSet = true;
335 m_minimumNodeCount = value;
336 }
338 SetMinimumNodeCount(value);
339 return *this;
340 }
342
344
348 inline int GetRuntimeMinimumCoreCount() const { return m_runtimeMinimumCoreCount; }
349 inline bool RuntimeMinimumCoreCountHasBeenSet() const { return m_runtimeMinimumCoreCountHasBeenSet; }
350 inline void SetRuntimeMinimumCoreCount(int value) {
351 m_runtimeMinimumCoreCountHasBeenSet = true;
352 m_runtimeMinimumCoreCount = value;
353 }
356 return *this;
357 }
359
361
364 inline const Aws::String& GetShapeFamily() const { return m_shapeFamily; }
365 inline bool ShapeFamilyHasBeenSet() const { return m_shapeFamilyHasBeenSet; }
366 template <typename ShapeFamilyT = Aws::String>
367 void SetShapeFamily(ShapeFamilyT&& value) {
368 m_shapeFamilyHasBeenSet = true;
369 m_shapeFamily = std::forward<ShapeFamilyT>(value);
370 }
371 template <typename ShapeFamilyT = Aws::String>
372 DbSystemShapeSummary& WithShapeFamily(ShapeFamilyT&& value) {
373 SetShapeFamily(std::forward<ShapeFamilyT>(value));
374 return *this;
375 }
377
379
382 inline ShapeType GetShapeType() const { return m_shapeType; }
383 inline bool ShapeTypeHasBeenSet() const { return m_shapeTypeHasBeenSet; }
384 inline void SetShapeType(ShapeType value) {
385 m_shapeTypeHasBeenSet = true;
386 m_shapeType = value;
387 }
389 SetShapeType(value);
390 return *this;
391 }
393
395
399 inline const Aws::Vector<ShapeAttribute>& GetShapeAttributes() const { return m_shapeAttributes; }
400 inline bool ShapeAttributesHasBeenSet() const { return m_shapeAttributesHasBeenSet; }
401 template <typename ShapeAttributesT = Aws::Vector<ShapeAttribute>>
402 void SetShapeAttributes(ShapeAttributesT&& value) {
403 m_shapeAttributesHasBeenSet = true;
404 m_shapeAttributes = std::forward<ShapeAttributesT>(value);
405 }
406 template <typename ShapeAttributesT = Aws::Vector<ShapeAttribute>>
407 DbSystemShapeSummary& WithShapeAttributes(ShapeAttributesT&& value) {
408 SetShapeAttributes(std::forward<ShapeAttributesT>(value));
409 return *this;
410 }
412 m_shapeAttributesHasBeenSet = true;
413 m_shapeAttributes.push_back(value);
414 return *this;
415 }
417
419
422 inline const Aws::String& GetName() const { return m_name; }
423 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
424 template <typename NameT = Aws::String>
425 void SetName(NameT&& value) {
426 m_nameHasBeenSet = true;
427 m_name = std::forward<NameT>(value);
428 }
429 template <typename NameT = Aws::String>
431 SetName(std::forward<NameT>(value));
432 return *this;
433 }
435
437
444 inline ComputeModel GetComputeModel() const { return m_computeModel; }
445 inline bool ComputeModelHasBeenSet() const { return m_computeModelHasBeenSet; }
446 inline void SetComputeModel(ComputeModel value) {
447 m_computeModelHasBeenSet = true;
448 m_computeModel = value;
449 }
451 SetComputeModel(value);
452 return *this;
453 }
455
457
461 inline bool GetAreServerTypesSupported() const { return m_areServerTypesSupported; }
462 inline bool AreServerTypesSupportedHasBeenSet() const { return m_areServerTypesSupportedHasBeenSet; }
463 inline void SetAreServerTypesSupported(bool value) {
464 m_areServerTypesSupportedHasBeenSet = true;
465 m_areServerTypesSupported = value;
466 }
469 return *this;
470 }
472 private:
473 int m_availableCoreCount{0};
474
475 int m_availableCoreCountPerNode{0};
476
477 int m_availableDataStorageInTBs{0};
478
479 int m_availableDataStoragePerServerInTBs{0};
480
481 int m_availableDbNodePerNodeInGBs{0};
482
483 int m_availableDbNodeStorageInGBs{0};
484
485 int m_availableMemoryInGBs{0};
486
487 int m_availableMemoryPerNodeInGBs{0};
488
489 int m_coreCountIncrement{0};
490
491 int m_maxStorageCount{0};
492
493 int m_maximumNodeCount{0};
494
495 int m_minCoreCountPerNode{0};
496
497 int m_minDataStorageInTBs{0};
498
499 int m_minDbNodeStoragePerNodeInGBs{0};
500
501 int m_minMemoryPerNodeInGBs{0};
502
503 int m_minStorageCount{0};
504
505 int m_minimumCoreCount{0};
506
507 int m_minimumNodeCount{0};
508
509 int m_runtimeMinimumCoreCount{0};
510
511 Aws::String m_shapeFamily;
512
513 ShapeType m_shapeType{ShapeType::NOT_SET};
514
515 Aws::Vector<ShapeAttribute> m_shapeAttributes;
516
517 Aws::String m_name;
518
519 ComputeModel m_computeModel{ComputeModel::NOT_SET};
520
521 bool m_areServerTypesSupported{false};
522 bool m_availableCoreCountHasBeenSet = false;
523 bool m_availableCoreCountPerNodeHasBeenSet = false;
524 bool m_availableDataStorageInTBsHasBeenSet = false;
525 bool m_availableDataStoragePerServerInTBsHasBeenSet = false;
526 bool m_availableDbNodePerNodeInGBsHasBeenSet = false;
527 bool m_availableDbNodeStorageInGBsHasBeenSet = false;
528 bool m_availableMemoryInGBsHasBeenSet = false;
529 bool m_availableMemoryPerNodeInGBsHasBeenSet = false;
530 bool m_coreCountIncrementHasBeenSet = false;
531 bool m_maxStorageCountHasBeenSet = false;
532 bool m_maximumNodeCountHasBeenSet = false;
533 bool m_minCoreCountPerNodeHasBeenSet = false;
534 bool m_minDataStorageInTBsHasBeenSet = false;
535 bool m_minDbNodeStoragePerNodeInGBsHasBeenSet = false;
536 bool m_minMemoryPerNodeInGBsHasBeenSet = false;
537 bool m_minStorageCountHasBeenSet = false;
538 bool m_minimumCoreCountHasBeenSet = false;
539 bool m_minimumNodeCountHasBeenSet = false;
540 bool m_runtimeMinimumCoreCountHasBeenSet = false;
541 bool m_shapeFamilyHasBeenSet = false;
542 bool m_shapeTypeHasBeenSet = false;
543 bool m_shapeAttributesHasBeenSet = false;
544 bool m_nameHasBeenSet = false;
545 bool m_computeModelHasBeenSet = false;
546 bool m_areServerTypesSupportedHasBeenSet = false;
547};
548
549} // namespace Model
550} // namespace odb
551} // 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 & WithShapeAttributes(ShapeAttributesT &&value)
DbSystemShapeSummary & WithAvailableDbNodeStorageInGBs(int value)
DbSystemShapeSummary & WithAvailableMemoryInGBs(int value)
DbSystemShapeSummary & WithShapeFamily(ShapeFamilyT &&value)
void SetShapeAttributes(ShapeAttributesT &&value)
DbSystemShapeSummary & WithAvailableCoreCount(int value)
DbSystemShapeSummary & WithAvailableDataStoragePerServerInTBs(int value)
const Aws::String & GetShapeFamily() const
DbSystemShapeSummary & AddShapeAttributes(ShapeAttribute value)
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)
const Aws::Vector< ShapeAttribute > & GetShapeAttributes() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue