AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
SizingProjection.h
1
6#pragma once
7#include <aws/backup-external/BackupExternal_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BackupExternal {
17namespace Model {
18
26 public:
27 AWS_BACKUPEXTERNAL_API SizingProjection() = default;
28 AWS_BACKUPEXTERNAL_API SizingProjection(Aws::Utils::Json::JsonView jsonValue);
29 AWS_BACKUPEXTERNAL_API SizingProjection& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_BACKUPEXTERNAL_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetYear() const { return m_year; }
38 inline bool YearHasBeenSet() const { return m_yearHasBeenSet; }
39 inline void SetYear(int value) {
40 m_yearHasBeenSet = true;
41 m_year = value;
42 }
43 inline SizingProjection& WithYear(int value) {
44 SetYear(value);
45 return *this;
46 }
48
50
53 inline long long GetRequiredNodeCount() const { return m_requiredNodeCount; }
54 inline bool RequiredNodeCountHasBeenSet() const { return m_requiredNodeCountHasBeenSet; }
55 inline void SetRequiredNodeCount(long long value) {
56 m_requiredNodeCountHasBeenSet = true;
57 m_requiredNodeCount = value;
58 }
59 inline SizingProjection& WithRequiredNodeCount(long long value) {
61 return *this;
62 }
64
66
69 inline double GetDataStorageSizeTiBPerNode() const { return m_dataStorageSizeTiBPerNode; }
70 inline bool DataStorageSizeTiBPerNodeHasBeenSet() const { return m_dataStorageSizeTiBPerNodeHasBeenSet; }
71 inline void SetDataStorageSizeTiBPerNode(double value) {
72 m_dataStorageSizeTiBPerNodeHasBeenSet = true;
73 m_dataStorageSizeTiBPerNode = value;
74 }
77 return *this;
78 }
80
82
85 inline double GetMetadataStorageSizeTiBPerNode() const { return m_metadataStorageSizeTiBPerNode; }
86 inline bool MetadataStorageSizeTiBPerNodeHasBeenSet() const { return m_metadataStorageSizeTiBPerNodeHasBeenSet; }
87 inline void SetMetadataStorageSizeTiBPerNode(double value) {
88 m_metadataStorageSizeTiBPerNodeHasBeenSet = true;
89 m_metadataStorageSizeTiBPerNode = value;
90 }
93 return *this;
94 }
96 private:
97 int m_year{0};
98
99 long long m_requiredNodeCount{0};
100
101 double m_dataStorageSizeTiBPerNode{0.0};
102
103 double m_metadataStorageSizeTiBPerNode{0.0};
104 bool m_yearHasBeenSet = false;
105 bool m_requiredNodeCountHasBeenSet = false;
106 bool m_dataStorageSizeTiBPerNodeHasBeenSet = false;
107 bool m_metadataStorageSizeTiBPerNodeHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace BackupExternal
112} // namespace Aws
SizingProjection & WithMetadataStorageSizeTiBPerNode(double value)
SizingProjection & WithDataStorageSizeTiBPerNode(double value)
AWS_BACKUPEXTERNAL_API SizingProjection(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUPEXTERNAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUPEXTERNAL_API SizingProjection & operator=(Aws::Utils::Json::JsonView jsonValue)
SizingProjection & WithRequiredNodeCount(long long value)
AWS_BACKUPEXTERNAL_API SizingProjection()=default
Aws::Utils::Json::JsonValue JsonValue