AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DbSystemShapeSummary.h
1
6#pragma once
7#include <aws/odb/Odb_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/odb/model/ShapeType.h>
10#include <aws/odb/model/ComputeModel.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace odb
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_ODB_API DbSystemShapeSummary() = default;
43
44
46
49 inline int GetAvailableCoreCount() const { return m_availableCoreCount; }
50 inline bool AvailableCoreCountHasBeenSet() const { return m_availableCoreCountHasBeenSet; }
51 inline void SetAvailableCoreCount(int value) { m_availableCoreCountHasBeenSet = true; m_availableCoreCount = value; }
52 inline DbSystemShapeSummary& WithAvailableCoreCount(int value) { SetAvailableCoreCount(value); return *this;}
54
56
60 inline int GetAvailableCoreCountPerNode() const { return m_availableCoreCountPerNode; }
61 inline bool AvailableCoreCountPerNodeHasBeenSet() const { return m_availableCoreCountPerNodeHasBeenSet; }
62 inline void SetAvailableCoreCountPerNode(int value) { m_availableCoreCountPerNodeHasBeenSet = true; m_availableCoreCountPerNode = value; }
65
67
71 inline int GetAvailableDataStorageInTBs() const { return m_availableDataStorageInTBs; }
72 inline bool AvailableDataStorageInTBsHasBeenSet() const { return m_availableDataStorageInTBsHasBeenSet; }
73 inline void SetAvailableDataStorageInTBs(int value) { m_availableDataStorageInTBsHasBeenSet = true; m_availableDataStorageInTBs = value; }
76
78
82 inline int GetAvailableDataStoragePerServerInTBs() const { return m_availableDataStoragePerServerInTBs; }
83 inline bool AvailableDataStoragePerServerInTBsHasBeenSet() const { return m_availableDataStoragePerServerInTBsHasBeenSet; }
84 inline void SetAvailableDataStoragePerServerInTBs(int value) { m_availableDataStoragePerServerInTBsHasBeenSet = true; m_availableDataStoragePerServerInTBs = value; }
87
89
93 inline int GetAvailableDbNodePerNodeInGBs() const { return m_availableDbNodePerNodeInGBs; }
94 inline bool AvailableDbNodePerNodeInGBsHasBeenSet() const { return m_availableDbNodePerNodeInGBsHasBeenSet; }
95 inline void SetAvailableDbNodePerNodeInGBs(int value) { m_availableDbNodePerNodeInGBsHasBeenSet = true; m_availableDbNodePerNodeInGBs = value; }
98
100
104 inline int GetAvailableDbNodeStorageInGBs() const { return m_availableDbNodeStorageInGBs; }
105 inline bool AvailableDbNodeStorageInGBsHasBeenSet() const { return m_availableDbNodeStorageInGBsHasBeenSet; }
106 inline void SetAvailableDbNodeStorageInGBs(int value) { m_availableDbNodeStorageInGBsHasBeenSet = true; m_availableDbNodeStorageInGBs = value; }
109
111
115 inline int GetAvailableMemoryInGBs() const { return m_availableMemoryInGBs; }
116 inline bool AvailableMemoryInGBsHasBeenSet() const { return m_availableMemoryInGBsHasBeenSet; }
117 inline void SetAvailableMemoryInGBs(int value) { m_availableMemoryInGBsHasBeenSet = true; m_availableMemoryInGBs = value; }
120
122
126 inline int GetAvailableMemoryPerNodeInGBs() const { return m_availableMemoryPerNodeInGBs; }
127 inline bool AvailableMemoryPerNodeInGBsHasBeenSet() const { return m_availableMemoryPerNodeInGBsHasBeenSet; }
128 inline void SetAvailableMemoryPerNodeInGBs(int value) { m_availableMemoryPerNodeInGBsHasBeenSet = true; m_availableMemoryPerNodeInGBs = value; }
131
133
137 inline int GetCoreCountIncrement() const { return m_coreCountIncrement; }
138 inline bool CoreCountIncrementHasBeenSet() const { return m_coreCountIncrementHasBeenSet; }
139 inline void SetCoreCountIncrement(int value) { m_coreCountIncrementHasBeenSet = true; m_coreCountIncrement = value; }
140 inline DbSystemShapeSummary& WithCoreCountIncrement(int value) { SetCoreCountIncrement(value); return *this;}
142
144
148 inline int GetMaxStorageCount() const { return m_maxStorageCount; }
149 inline bool MaxStorageCountHasBeenSet() const { return m_maxStorageCountHasBeenSet; }
150 inline void SetMaxStorageCount(int value) { m_maxStorageCountHasBeenSet = true; m_maxStorageCount = value; }
151 inline DbSystemShapeSummary& WithMaxStorageCount(int value) { SetMaxStorageCount(value); return *this;}
153
155
158 inline int GetMaximumNodeCount() const { return m_maximumNodeCount; }
159 inline bool MaximumNodeCountHasBeenSet() const { return m_maximumNodeCountHasBeenSet; }
160 inline void SetMaximumNodeCount(int value) { m_maximumNodeCountHasBeenSet = true; m_maximumNodeCount = value; }
161 inline DbSystemShapeSummary& WithMaximumNodeCount(int value) { SetMaximumNodeCount(value); return *this;}
163
165
169 inline int GetMinCoreCountPerNode() const { return m_minCoreCountPerNode; }
170 inline bool MinCoreCountPerNodeHasBeenSet() const { return m_minCoreCountPerNodeHasBeenSet; }
171 inline void SetMinCoreCountPerNode(int value) { m_minCoreCountPerNodeHasBeenSet = true; m_minCoreCountPerNode = value; }
172 inline DbSystemShapeSummary& WithMinCoreCountPerNode(int value) { SetMinCoreCountPerNode(value); return *this;}
174
176
180 inline int GetMinDataStorageInTBs() const { return m_minDataStorageInTBs; }
181 inline bool MinDataStorageInTBsHasBeenSet() const { return m_minDataStorageInTBsHasBeenSet; }
182 inline void SetMinDataStorageInTBs(int value) { m_minDataStorageInTBsHasBeenSet = true; m_minDataStorageInTBs = value; }
183 inline DbSystemShapeSummary& WithMinDataStorageInTBs(int value) { SetMinDataStorageInTBs(value); return *this;}
185
187
191 inline int GetMinDbNodeStoragePerNodeInGBs() const { return m_minDbNodeStoragePerNodeInGBs; }
192 inline bool MinDbNodeStoragePerNodeInGBsHasBeenSet() const { return m_minDbNodeStoragePerNodeInGBsHasBeenSet; }
193 inline void SetMinDbNodeStoragePerNodeInGBs(int value) { m_minDbNodeStoragePerNodeInGBsHasBeenSet = true; m_minDbNodeStoragePerNodeInGBs = value; }
196
198
202 inline int GetMinMemoryPerNodeInGBs() const { return m_minMemoryPerNodeInGBs; }
203 inline bool MinMemoryPerNodeInGBsHasBeenSet() const { return m_minMemoryPerNodeInGBsHasBeenSet; }
204 inline void SetMinMemoryPerNodeInGBs(int value) { m_minMemoryPerNodeInGBsHasBeenSet = true; m_minMemoryPerNodeInGBs = value; }
207
209
213 inline int GetMinStorageCount() const { return m_minStorageCount; }
214 inline bool MinStorageCountHasBeenSet() const { return m_minStorageCountHasBeenSet; }
215 inline void SetMinStorageCount(int value) { m_minStorageCountHasBeenSet = true; m_minStorageCount = value; }
216 inline DbSystemShapeSummary& WithMinStorageCount(int value) { SetMinStorageCount(value); return *this;}
218
220
223 inline int GetMinimumCoreCount() const { return m_minimumCoreCount; }
224 inline bool MinimumCoreCountHasBeenSet() const { return m_minimumCoreCountHasBeenSet; }
225 inline void SetMinimumCoreCount(int value) { m_minimumCoreCountHasBeenSet = true; m_minimumCoreCount = value; }
226 inline DbSystemShapeSummary& WithMinimumCoreCount(int value) { SetMinimumCoreCount(value); return *this;}
228
230
233 inline int GetMinimumNodeCount() const { return m_minimumNodeCount; }
234 inline bool MinimumNodeCountHasBeenSet() const { return m_minimumNodeCountHasBeenSet; }
235 inline void SetMinimumNodeCount(int value) { m_minimumNodeCountHasBeenSet = true; m_minimumNodeCount = value; }
236 inline DbSystemShapeSummary& WithMinimumNodeCount(int value) { SetMinimumNodeCount(value); return *this;}
238
240
244 inline int GetRuntimeMinimumCoreCount() const { return m_runtimeMinimumCoreCount; }
245 inline bool RuntimeMinimumCoreCountHasBeenSet() const { return m_runtimeMinimumCoreCountHasBeenSet; }
246 inline void SetRuntimeMinimumCoreCount(int value) { m_runtimeMinimumCoreCountHasBeenSet = true; m_runtimeMinimumCoreCount = value; }
249
251
254 inline const Aws::String& GetShapeFamily() const { return m_shapeFamily; }
255 inline bool ShapeFamilyHasBeenSet() const { return m_shapeFamilyHasBeenSet; }
256 template<typename ShapeFamilyT = Aws::String>
257 void SetShapeFamily(ShapeFamilyT&& value) { m_shapeFamilyHasBeenSet = true; m_shapeFamily = std::forward<ShapeFamilyT>(value); }
258 template<typename ShapeFamilyT = Aws::String>
259 DbSystemShapeSummary& WithShapeFamily(ShapeFamilyT&& value) { SetShapeFamily(std::forward<ShapeFamilyT>(value)); return *this;}
261
263
266 inline ShapeType GetShapeType() const { return m_shapeType; }
267 inline bool ShapeTypeHasBeenSet() const { return m_shapeTypeHasBeenSet; }
268 inline void SetShapeType(ShapeType value) { m_shapeTypeHasBeenSet = true; m_shapeType = value; }
269 inline DbSystemShapeSummary& WithShapeType(ShapeType value) { SetShapeType(value); return *this;}
271
273
276 inline const Aws::String& GetName() const { return m_name; }
277 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
278 template<typename NameT = Aws::String>
279 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
280 template<typename NameT = Aws::String>
281 DbSystemShapeSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
283
285
292 inline ComputeModel GetComputeModel() const { return m_computeModel; }
293 inline bool ComputeModelHasBeenSet() const { return m_computeModelHasBeenSet; }
294 inline void SetComputeModel(ComputeModel value) { m_computeModelHasBeenSet = true; m_computeModel = value; }
297
299
303 inline bool GetAreServerTypesSupported() const { return m_areServerTypesSupported; }
304 inline bool AreServerTypesSupportedHasBeenSet() const { return m_areServerTypesSupportedHasBeenSet; }
305 inline void SetAreServerTypesSupported(bool value) { m_areServerTypesSupportedHasBeenSet = true; m_areServerTypesSupported = value; }
308 private:
309
310 int m_availableCoreCount{0};
311 bool m_availableCoreCountHasBeenSet = false;
312
313 int m_availableCoreCountPerNode{0};
314 bool m_availableCoreCountPerNodeHasBeenSet = false;
315
316 int m_availableDataStorageInTBs{0};
317 bool m_availableDataStorageInTBsHasBeenSet = false;
318
319 int m_availableDataStoragePerServerInTBs{0};
320 bool m_availableDataStoragePerServerInTBsHasBeenSet = false;
321
322 int m_availableDbNodePerNodeInGBs{0};
323 bool m_availableDbNodePerNodeInGBsHasBeenSet = false;
324
325 int m_availableDbNodeStorageInGBs{0};
326 bool m_availableDbNodeStorageInGBsHasBeenSet = false;
327
328 int m_availableMemoryInGBs{0};
329 bool m_availableMemoryInGBsHasBeenSet = false;
330
331 int m_availableMemoryPerNodeInGBs{0};
332 bool m_availableMemoryPerNodeInGBsHasBeenSet = false;
333
334 int m_coreCountIncrement{0};
335 bool m_coreCountIncrementHasBeenSet = false;
336
337 int m_maxStorageCount{0};
338 bool m_maxStorageCountHasBeenSet = false;
339
340 int m_maximumNodeCount{0};
341 bool m_maximumNodeCountHasBeenSet = false;
342
343 int m_minCoreCountPerNode{0};
344 bool m_minCoreCountPerNodeHasBeenSet = false;
345
346 int m_minDataStorageInTBs{0};
347 bool m_minDataStorageInTBsHasBeenSet = false;
348
349 int m_minDbNodeStoragePerNodeInGBs{0};
350 bool m_minDbNodeStoragePerNodeInGBsHasBeenSet = false;
351
352 int m_minMemoryPerNodeInGBs{0};
353 bool m_minMemoryPerNodeInGBsHasBeenSet = false;
354
355 int m_minStorageCount{0};
356 bool m_minStorageCountHasBeenSet = false;
357
358 int m_minimumCoreCount{0};
359 bool m_minimumCoreCountHasBeenSet = false;
360
361 int m_minimumNodeCount{0};
362 bool m_minimumNodeCountHasBeenSet = false;
363
364 int m_runtimeMinimumCoreCount{0};
365 bool m_runtimeMinimumCoreCountHasBeenSet = false;
366
367 Aws::String m_shapeFamily;
368 bool m_shapeFamilyHasBeenSet = false;
369
370 ShapeType m_shapeType{ShapeType::NOT_SET};
371 bool m_shapeTypeHasBeenSet = false;
372
373 Aws::String m_name;
374 bool m_nameHasBeenSet = false;
375
376 ComputeModel m_computeModel{ComputeModel::NOT_SET};
377 bool m_computeModelHasBeenSet = false;
378
379 bool m_areServerTypesSupported{false};
380 bool m_areServerTypesSupportedHasBeenSet = false;
381 };
382
383} // namespace Model
384} // namespace odb
385} // 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