AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
CreateExadbVmClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/odb/OdbRequest.h>
12#include <aws/odb/Odb_EXPORTS.h>
13#include <aws/odb/model/DataCollectionOptions.h>
14#include <aws/odb/model/LicenseModel.h>
15#include <aws/odb/model/ShapeAttribute.h>
16
17#include <utility>
18
19namespace Aws {
20namespace odb {
21namespace Model {
22
26 public:
27 AWS_ODB_API CreateExadbVmClusterRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateExadbVmCluster"; }
34
35 AWS_ODB_API Aws::String SerializePayload() const override;
36
38
40
43 inline const Aws::String& GetDisplayName() const { return m_displayName; }
44 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
45 template <typename DisplayNameT = Aws::String>
46 void SetDisplayName(DisplayNameT&& value) {
47 m_displayNameHasBeenSet = true;
48 m_displayName = std::forward<DisplayNameT>(value);
49 }
50 template <typename DisplayNameT = Aws::String>
52 SetDisplayName(std::forward<DisplayNameT>(value));
53 return *this;
54 }
56
58
61 inline int GetEnabledEcpuCount() const { return m_enabledEcpuCount; }
62 inline bool EnabledEcpuCountHasBeenSet() const { return m_enabledEcpuCountHasBeenSet; }
63 inline void SetEnabledEcpuCount(int value) {
64 m_enabledEcpuCountHasBeenSet = true;
65 m_enabledEcpuCount = value;
66 }
69 return *this;
70 }
72
74
78 inline const Aws::String& GetExascaleDbStorageVaultId() const { return m_exascaleDbStorageVaultId; }
79 inline bool ExascaleDbStorageVaultIdHasBeenSet() const { return m_exascaleDbStorageVaultIdHasBeenSet; }
80 template <typename ExascaleDbStorageVaultIdT = Aws::String>
81 void SetExascaleDbStorageVaultId(ExascaleDbStorageVaultIdT&& value) {
82 m_exascaleDbStorageVaultIdHasBeenSet = true;
83 m_exascaleDbStorageVaultId = std::forward<ExascaleDbStorageVaultIdT>(value);
84 }
85 template <typename ExascaleDbStorageVaultIdT = Aws::String>
86 CreateExadbVmClusterRequest& WithExascaleDbStorageVaultId(ExascaleDbStorageVaultIdT&& value) {
87 SetExascaleDbStorageVaultId(std::forward<ExascaleDbStorageVaultIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetGridImageId() const { return m_gridImageId; }
97 inline bool GridImageIdHasBeenSet() const { return m_gridImageIdHasBeenSet; }
98 template <typename GridImageIdT = Aws::String>
99 void SetGridImageId(GridImageIdT&& value) {
100 m_gridImageIdHasBeenSet = true;
101 m_gridImageId = std::forward<GridImageIdT>(value);
102 }
103 template <typename GridImageIdT = Aws::String>
105 SetGridImageId(std::forward<GridImageIdT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetHostname() const { return m_hostname; }
115 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
116 template <typename HostnameT = Aws::String>
117 void SetHostname(HostnameT&& value) {
118 m_hostnameHasBeenSet = true;
119 m_hostname = std::forward<HostnameT>(value);
120 }
121 template <typename HostnameT = Aws::String>
123 SetHostname(std::forward<HostnameT>(value));
124 return *this;
125 }
127
129
132 inline int GetNodeCount() const { return m_nodeCount; }
133 inline bool NodeCountHasBeenSet() const { return m_nodeCountHasBeenSet; }
134 inline void SetNodeCount(int value) {
135 m_nodeCountHasBeenSet = true;
136 m_nodeCount = value;
137 }
139 SetNodeCount(value);
140 return *this;
141 }
143
145
148 inline const Aws::String& GetOdbNetworkId() const { return m_odbNetworkId; }
149 inline bool OdbNetworkIdHasBeenSet() const { return m_odbNetworkIdHasBeenSet; }
150 template <typename OdbNetworkIdT = Aws::String>
151 void SetOdbNetworkId(OdbNetworkIdT&& value) {
152 m_odbNetworkIdHasBeenSet = true;
153 m_odbNetworkId = std::forward<OdbNetworkIdT>(value);
154 }
155 template <typename OdbNetworkIdT = Aws::String>
157 SetOdbNetworkId(std::forward<OdbNetworkIdT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::String& GetShape() const { return m_shape; }
167 inline bool ShapeHasBeenSet() const { return m_shapeHasBeenSet; }
168 template <typename ShapeT = Aws::String>
169 void SetShape(ShapeT&& value) {
170 m_shapeHasBeenSet = true;
171 m_shape = std::forward<ShapeT>(value);
172 }
173 template <typename ShapeT = Aws::String>
175 SetShape(std::forward<ShapeT>(value));
176 return *this;
177 }
179
181
185 inline const Aws::Vector<Aws::String>& GetSshPublicKeys() const { return m_sshPublicKeys; }
186 inline bool SshPublicKeysHasBeenSet() const { return m_sshPublicKeysHasBeenSet; }
187 template <typename SshPublicKeysT = Aws::Vector<Aws::String>>
188 void SetSshPublicKeys(SshPublicKeysT&& value) {
189 m_sshPublicKeysHasBeenSet = true;
190 m_sshPublicKeys = std::forward<SshPublicKeysT>(value);
191 }
192 template <typename SshPublicKeysT = Aws::Vector<Aws::String>>
194 SetSshPublicKeys(std::forward<SshPublicKeysT>(value));
195 return *this;
196 }
197 template <typename SshPublicKeysT = Aws::String>
199 m_sshPublicKeysHasBeenSet = true;
200 m_sshPublicKeys.emplace_back(std::forward<SshPublicKeysT>(value));
201 return *this;
202 }
204
206
209 inline int GetTotalEcpuCount() const { return m_totalEcpuCount; }
210 inline bool TotalEcpuCountHasBeenSet() const { return m_totalEcpuCountHasBeenSet; }
211 inline void SetTotalEcpuCount(int value) {
212 m_totalEcpuCountHasBeenSet = true;
213 m_totalEcpuCount = value;
214 }
216 SetTotalEcpuCount(value);
217 return *this;
218 }
220
222
226 inline int GetVmFileSystemStorageTotalSizeInGBs() const { return m_vmFileSystemStorageTotalSizeInGBs; }
227 inline bool VmFileSystemStorageTotalSizeInGBsHasBeenSet() const { return m_vmFileSystemStorageTotalSizeInGBsHasBeenSet; }
229 m_vmFileSystemStorageTotalSizeInGBsHasBeenSet = true;
230 m_vmFileSystemStorageTotalSizeInGBs = value;
231 }
234 return *this;
235 }
237
239
243 inline const Aws::String& GetClusterName() const { return m_clusterName; }
244 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
245 template <typename ClusterNameT = Aws::String>
246 void SetClusterName(ClusterNameT&& value) {
247 m_clusterNameHasBeenSet = true;
248 m_clusterName = std::forward<ClusterNameT>(value);
249 }
250 template <typename ClusterNameT = Aws::String>
252 SetClusterName(std::forward<ClusterNameT>(value));
253 return *this;
254 }
256
258
262 inline const DataCollectionOptions& GetDataCollectionOptions() const { return m_dataCollectionOptions; }
263 inline bool DataCollectionOptionsHasBeenSet() const { return m_dataCollectionOptionsHasBeenSet; }
264 template <typename DataCollectionOptionsT = DataCollectionOptions>
265 void SetDataCollectionOptions(DataCollectionOptionsT&& value) {
266 m_dataCollectionOptionsHasBeenSet = true;
267 m_dataCollectionOptions = std::forward<DataCollectionOptionsT>(value);
268 }
269 template <typename DataCollectionOptionsT = DataCollectionOptions>
271 SetDataCollectionOptions(std::forward<DataCollectionOptionsT>(value));
272 return *this;
273 }
275
277
280 inline LicenseModel GetLicenseModel() const { return m_licenseModel; }
281 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
282 inline void SetLicenseModel(LicenseModel value) {
283 m_licenseModelHasBeenSet = true;
284 m_licenseModel = value;
285 }
287 SetLicenseModel(value);
288 return *this;
289 }
291
293
297 inline int GetScanListenerPortTcp() const { return m_scanListenerPortTcp; }
298 inline bool ScanListenerPortTcpHasBeenSet() const { return m_scanListenerPortTcpHasBeenSet; }
299 inline void SetScanListenerPortTcp(int value) {
300 m_scanListenerPortTcpHasBeenSet = true;
301 m_scanListenerPortTcp = value;
302 }
305 return *this;
306 }
308
310
314 inline int GetScanListenerPortTcpSsl() const { return m_scanListenerPortTcpSsl; }
315 inline bool ScanListenerPortTcpSslHasBeenSet() const { return m_scanListenerPortTcpSslHasBeenSet; }
316 inline void SetScanListenerPortTcpSsl(int value) {
317 m_scanListenerPortTcpSslHasBeenSet = true;
318 m_scanListenerPortTcpSsl = value;
319 }
322 return *this;
323 }
325
327
330 inline ShapeAttribute GetShapeAttribute() const { return m_shapeAttribute; }
331 inline bool ShapeAttributeHasBeenSet() const { return m_shapeAttributeHasBeenSet; }
333 m_shapeAttributeHasBeenSet = true;
334 m_shapeAttribute = value;
335 }
337 SetShapeAttribute(value);
338 return *this;
339 }
341
343
347 inline const Aws::String& GetSystemVersion() const { return m_systemVersion; }
348 inline bool SystemVersionHasBeenSet() const { return m_systemVersionHasBeenSet; }
349 template <typename SystemVersionT = Aws::String>
350 void SetSystemVersion(SystemVersionT&& value) {
351 m_systemVersionHasBeenSet = true;
352 m_systemVersion = std::forward<SystemVersionT>(value);
353 }
354 template <typename SystemVersionT = Aws::String>
356 SetSystemVersion(std::forward<SystemVersionT>(value));
357 return *this;
358 }
360
362
365 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
366 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
367 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
368 void SetTags(TagsT&& value) {
369 m_tagsHasBeenSet = true;
370 m_tags = std::forward<TagsT>(value);
371 }
372 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
374 SetTags(std::forward<TagsT>(value));
375 return *this;
376 }
377 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
378 CreateExadbVmClusterRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
379 m_tagsHasBeenSet = true;
380 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
381 return *this;
382 }
384
386
389 inline const Aws::String& GetTimeZone() const { return m_timeZone; }
390 inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; }
391 template <typename TimeZoneT = Aws::String>
392 void SetTimeZone(TimeZoneT&& value) {
393 m_timeZoneHasBeenSet = true;
394 m_timeZone = std::forward<TimeZoneT>(value);
395 }
396 template <typename TimeZoneT = Aws::String>
398 SetTimeZone(std::forward<TimeZoneT>(value));
399 return *this;
400 }
402
404
411 inline const Aws::String& GetClientToken() const { return m_clientToken; }
412 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
413 template <typename ClientTokenT = Aws::String>
414 void SetClientToken(ClientTokenT&& value) {
415 m_clientTokenHasBeenSet = true;
416 m_clientToken = std::forward<ClientTokenT>(value);
417 }
418 template <typename ClientTokenT = Aws::String>
420 SetClientToken(std::forward<ClientTokenT>(value));
421 return *this;
422 }
424 private:
425 Aws::String m_displayName;
426
427 int m_enabledEcpuCount{0};
428
429 Aws::String m_exascaleDbStorageVaultId;
430
431 Aws::String m_gridImageId;
432
433 Aws::String m_hostname;
434
435 int m_nodeCount{0};
436
437 Aws::String m_odbNetworkId;
438
439 Aws::String m_shape;
440
441 Aws::Vector<Aws::String> m_sshPublicKeys;
442
443 int m_totalEcpuCount{0};
444
445 int m_vmFileSystemStorageTotalSizeInGBs{0};
446
447 Aws::String m_clusterName;
448
449 DataCollectionOptions m_dataCollectionOptions;
450
451 LicenseModel m_licenseModel{LicenseModel::NOT_SET};
452
453 int m_scanListenerPortTcp{0};
454
455 int m_scanListenerPortTcpSsl{0};
456
457 ShapeAttribute m_shapeAttribute{ShapeAttribute::NOT_SET};
458
459 Aws::String m_systemVersion;
460
462
463 Aws::String m_timeZone;
464
466 bool m_displayNameHasBeenSet = false;
467 bool m_enabledEcpuCountHasBeenSet = false;
468 bool m_exascaleDbStorageVaultIdHasBeenSet = false;
469 bool m_gridImageIdHasBeenSet = false;
470 bool m_hostnameHasBeenSet = false;
471 bool m_nodeCountHasBeenSet = false;
472 bool m_odbNetworkIdHasBeenSet = false;
473 bool m_shapeHasBeenSet = false;
474 bool m_sshPublicKeysHasBeenSet = false;
475 bool m_totalEcpuCountHasBeenSet = false;
476 bool m_vmFileSystemStorageTotalSizeInGBsHasBeenSet = false;
477 bool m_clusterNameHasBeenSet = false;
478 bool m_dataCollectionOptionsHasBeenSet = false;
479 bool m_licenseModelHasBeenSet = false;
480 bool m_scanListenerPortTcpHasBeenSet = false;
481 bool m_scanListenerPortTcpSslHasBeenSet = false;
482 bool m_shapeAttributeHasBeenSet = false;
483 bool m_systemVersionHasBeenSet = false;
484 bool m_tagsHasBeenSet = false;
485 bool m_timeZoneHasBeenSet = false;
486 bool m_clientTokenHasBeenSet = true;
487};
488
489} // namespace Model
490} // namespace odb
491} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_ODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateExadbVmClusterRequest & WithScanListenerPortTcpSsl(int value)
CreateExadbVmClusterRequest & WithSshPublicKeys(SshPublicKeysT &&value)
const DataCollectionOptions & GetDataCollectionOptions() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateExadbVmClusterRequest & WithShapeAttribute(ShapeAttribute value)
void SetDataCollectionOptions(DataCollectionOptionsT &&value)
CreateExadbVmClusterRequest & WithOdbNetworkId(OdbNetworkIdT &&value)
CreateExadbVmClusterRequest & WithNodeCount(int value)
void SetExascaleDbStorageVaultId(ExascaleDbStorageVaultIdT &&value)
CreateExadbVmClusterRequest & WithClientToken(ClientTokenT &&value)
CreateExadbVmClusterRequest & WithTimeZone(TimeZoneT &&value)
AWS_ODB_API Aws::String SerializePayload() const override
CreateExadbVmClusterRequest & WithDisplayName(DisplayNameT &&value)
CreateExadbVmClusterRequest & WithScanListenerPortTcp(int value)
CreateExadbVmClusterRequest & WithTotalEcpuCount(int value)
CreateExadbVmClusterRequest & WithGridImageId(GridImageIdT &&value)
CreateExadbVmClusterRequest & WithSystemVersion(SystemVersionT &&value)
CreateExadbVmClusterRequest & WithExascaleDbStorageVaultId(ExascaleDbStorageVaultIdT &&value)
CreateExadbVmClusterRequest & WithHostname(HostnameT &&value)
virtual const char * GetServiceRequestName() const override
CreateExadbVmClusterRequest & WithClusterName(ClusterNameT &&value)
CreateExadbVmClusterRequest & WithVmFileSystemStorageTotalSizeInGBs(int value)
const Aws::Vector< Aws::String > & GetSshPublicKeys() const
CreateExadbVmClusterRequest & WithEnabledEcpuCount(int value)
CreateExadbVmClusterRequest & WithDataCollectionOptions(DataCollectionOptionsT &&value)
CreateExadbVmClusterRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateExadbVmClusterRequest & AddSshPublicKeys(SshPublicKeysT &&value)
CreateExadbVmClusterRequest & WithShape(ShapeT &&value)
CreateExadbVmClusterRequest & WithLicenseModel(LicenseModel value)
CreateExadbVmClusterRequest & WithTags(TagsT &&value)
AWS_ODB_API CreateExadbVmClusterRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector