AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
UpdateExadbVmClusterRequest.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/OdbRequest.h>
10#include <aws/odb/Odb_EXPORTS.h>
11#include <aws/odb/model/DataCollectionOptions.h>
12#include <aws/odb/model/LicenseModel.h>
13#include <aws/odb/model/UpdateAction.h>
14
15#include <utility>
16
17namespace Aws {
18namespace odb {
19namespace Model {
20
24 public:
25 AWS_ODB_API UpdateExadbVmClusterRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateExadbVmCluster"; }
32
33 AWS_ODB_API Aws::String SerializePayload() const override;
34
36
38
41 inline const Aws::String& GetExadbVmClusterId() const { return m_exadbVmClusterId; }
42 inline bool ExadbVmClusterIdHasBeenSet() const { return m_exadbVmClusterIdHasBeenSet; }
43 template <typename ExadbVmClusterIdT = Aws::String>
44 void SetExadbVmClusterId(ExadbVmClusterIdT&& value) {
45 m_exadbVmClusterIdHasBeenSet = true;
46 m_exadbVmClusterId = std::forward<ExadbVmClusterIdT>(value);
47 }
48 template <typename ExadbVmClusterIdT = Aws::String>
50 SetExadbVmClusterId(std::forward<ExadbVmClusterIdT>(value));
51 return *this;
52 }
54
56
60 inline const DataCollectionOptions& GetDataCollectionOptions() const { return m_dataCollectionOptions; }
61 inline bool DataCollectionOptionsHasBeenSet() const { return m_dataCollectionOptionsHasBeenSet; }
62 template <typename DataCollectionOptionsT = DataCollectionOptions>
63 void SetDataCollectionOptions(DataCollectionOptionsT&& value) {
64 m_dataCollectionOptionsHasBeenSet = true;
65 m_dataCollectionOptions = std::forward<DataCollectionOptionsT>(value);
66 }
67 template <typename DataCollectionOptionsT = DataCollectionOptions>
68 UpdateExadbVmClusterRequest& WithDataCollectionOptions(DataCollectionOptionsT&& value) {
69 SetDataCollectionOptions(std::forward<DataCollectionOptionsT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDisplayName() const { return m_displayName; }
79 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
80 template <typename DisplayNameT = Aws::String>
81 void SetDisplayName(DisplayNameT&& value) {
82 m_displayNameHasBeenSet = true;
83 m_displayName = std::forward<DisplayNameT>(value);
84 }
85 template <typename DisplayNameT = Aws::String>
87 SetDisplayName(std::forward<DisplayNameT>(value));
88 return *this;
89 }
91
93
96 inline int GetEnabledEcpuCount() const { return m_enabledEcpuCount; }
97 inline bool EnabledEcpuCountHasBeenSet() const { return m_enabledEcpuCountHasBeenSet; }
98 inline void SetEnabledEcpuCount(int value) {
99 m_enabledEcpuCountHasBeenSet = true;
100 m_enabledEcpuCount = value;
101 }
103 SetEnabledEcpuCount(value);
104 return *this;
105 }
107
109
112 inline const Aws::String& GetGridImageId() const { return m_gridImageId; }
113 inline bool GridImageIdHasBeenSet() const { return m_gridImageIdHasBeenSet; }
114 template <typename GridImageIdT = Aws::String>
115 void SetGridImageId(GridImageIdT&& value) {
116 m_gridImageIdHasBeenSet = true;
117 m_gridImageId = std::forward<GridImageIdT>(value);
118 }
119 template <typename GridImageIdT = Aws::String>
121 SetGridImageId(std::forward<GridImageIdT>(value));
122 return *this;
123 }
125
127
130 inline LicenseModel GetLicenseModel() const { return m_licenseModel; }
131 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
132 inline void SetLicenseModel(LicenseModel value) {
133 m_licenseModelHasBeenSet = true;
134 m_licenseModel = value;
135 }
137 SetLicenseModel(value);
138 return *this;
139 }
141
143
147 inline const Aws::Vector<Aws::String>& GetSshPublicKeys() const { return m_sshPublicKeys; }
148 inline bool SshPublicKeysHasBeenSet() const { return m_sshPublicKeysHasBeenSet; }
149 template <typename SshPublicKeysT = Aws::Vector<Aws::String>>
150 void SetSshPublicKeys(SshPublicKeysT&& value) {
151 m_sshPublicKeysHasBeenSet = true;
152 m_sshPublicKeys = std::forward<SshPublicKeysT>(value);
153 }
154 template <typename SshPublicKeysT = Aws::Vector<Aws::String>>
156 SetSshPublicKeys(std::forward<SshPublicKeysT>(value));
157 return *this;
158 }
159 template <typename SshPublicKeysT = Aws::String>
161 m_sshPublicKeysHasBeenSet = true;
162 m_sshPublicKeys.emplace_back(std::forward<SshPublicKeysT>(value));
163 return *this;
164 }
166
168
172 inline const Aws::String& GetSystemVersion() const { return m_systemVersion; }
173 inline bool SystemVersionHasBeenSet() const { return m_systemVersionHasBeenSet; }
174 template <typename SystemVersionT = Aws::String>
175 void SetSystemVersion(SystemVersionT&& value) {
176 m_systemVersionHasBeenSet = true;
177 m_systemVersion = std::forward<SystemVersionT>(value);
178 }
179 template <typename SystemVersionT = Aws::String>
181 SetSystemVersion(std::forward<SystemVersionT>(value));
182 return *this;
183 }
185
187
190 inline int GetTotalEcpuCount() const { return m_totalEcpuCount; }
191 inline bool TotalEcpuCountHasBeenSet() const { return m_totalEcpuCountHasBeenSet; }
192 inline void SetTotalEcpuCount(int value) {
193 m_totalEcpuCountHasBeenSet = true;
194 m_totalEcpuCount = value;
195 }
197 SetTotalEcpuCount(value);
198 return *this;
199 }
201
203
206 inline UpdateAction GetUpdateAction() const { return m_updateAction; }
207 inline bool UpdateActionHasBeenSet() const { return m_updateActionHasBeenSet; }
208 inline void SetUpdateAction(UpdateAction value) {
209 m_updateActionHasBeenSet = true;
210 m_updateAction = value;
211 }
213 SetUpdateAction(value);
214 return *this;
215 }
217
219
223 inline int GetVmFileSystemStorageTotalSizeInGBs() const { return m_vmFileSystemStorageTotalSizeInGBs; }
224 inline bool VmFileSystemStorageTotalSizeInGBsHasBeenSet() const { return m_vmFileSystemStorageTotalSizeInGBsHasBeenSet; }
226 m_vmFileSystemStorageTotalSizeInGBsHasBeenSet = true;
227 m_vmFileSystemStorageTotalSizeInGBs = value;
228 }
231 return *this;
232 }
234 private:
235 Aws::String m_exadbVmClusterId;
236
237 DataCollectionOptions m_dataCollectionOptions;
238
239 Aws::String m_displayName;
240
241 int m_enabledEcpuCount{0};
242
243 Aws::String m_gridImageId;
244
245 LicenseModel m_licenseModel{LicenseModel::NOT_SET};
246
247 Aws::Vector<Aws::String> m_sshPublicKeys;
248
249 Aws::String m_systemVersion;
250
251 int m_totalEcpuCount{0};
252
253 UpdateAction m_updateAction{UpdateAction::NOT_SET};
254
255 int m_vmFileSystemStorageTotalSizeInGBs{0};
256 bool m_exadbVmClusterIdHasBeenSet = false;
257 bool m_dataCollectionOptionsHasBeenSet = false;
258 bool m_displayNameHasBeenSet = false;
259 bool m_enabledEcpuCountHasBeenSet = false;
260 bool m_gridImageIdHasBeenSet = false;
261 bool m_licenseModelHasBeenSet = false;
262 bool m_sshPublicKeysHasBeenSet = false;
263 bool m_systemVersionHasBeenSet = false;
264 bool m_totalEcpuCountHasBeenSet = false;
265 bool m_updateActionHasBeenSet = false;
266 bool m_vmFileSystemStorageTotalSizeInGBsHasBeenSet = false;
267};
268
269} // namespace Model
270} // namespace odb
271} // namespace Aws
UpdateExadbVmClusterRequest & WithVmFileSystemStorageTotalSizeInGBs(int value)
AWS_ODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateExadbVmClusterRequest & WithLicenseModel(LicenseModel value)
UpdateExadbVmClusterRequest & WithSshPublicKeys(SshPublicKeysT &&value)
UpdateExadbVmClusterRequest & WithDataCollectionOptions(DataCollectionOptionsT &&value)
UpdateExadbVmClusterRequest & WithTotalEcpuCount(int value)
const Aws::Vector< Aws::String > & GetSshPublicKeys() const
UpdateExadbVmClusterRequest & WithExadbVmClusterId(ExadbVmClusterIdT &&value)
AWS_ODB_API UpdateExadbVmClusterRequest()=default
void SetDataCollectionOptions(DataCollectionOptionsT &&value)
UpdateExadbVmClusterRequest & WithEnabledEcpuCount(int value)
UpdateExadbVmClusterRequest & WithGridImageId(GridImageIdT &&value)
UpdateExadbVmClusterRequest & WithUpdateAction(UpdateAction value)
UpdateExadbVmClusterRequest & AddSshPublicKeys(SshPublicKeysT &&value)
virtual const char * GetServiceRequestName() const override
UpdateExadbVmClusterRequest & WithDisplayName(DisplayNameT &&value)
const DataCollectionOptions & GetDataCollectionOptions() const
UpdateExadbVmClusterRequest & WithSystemVersion(SystemVersionT &&value)
AWS_ODB_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector