AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateCloudVmClusterRequest.h
1
6#pragma once
7#include <aws/odb/Odb_EXPORTS.h>
8#include <aws/odb/OdbRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/odb/model/DataCollectionOptions.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/odb/model/LicenseModel.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace odb
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_ODB_API CreateCloudVmClusterRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateCloudVmCluster"; }
36
37 AWS_ODB_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetCloudExadataInfrastructureId() const { return m_cloudExadataInfrastructureId; }
47 inline bool CloudExadataInfrastructureIdHasBeenSet() const { return m_cloudExadataInfrastructureIdHasBeenSet; }
48 template<typename CloudExadataInfrastructureIdT = Aws::String>
49 void SetCloudExadataInfrastructureId(CloudExadataInfrastructureIdT&& value) { m_cloudExadataInfrastructureIdHasBeenSet = true; m_cloudExadataInfrastructureId = std::forward<CloudExadataInfrastructureIdT>(value); }
50 template<typename CloudExadataInfrastructureIdT = Aws::String>
51 CreateCloudVmClusterRequest& WithCloudExadataInfrastructureId(CloudExadataInfrastructureIdT&& value) { SetCloudExadataInfrastructureId(std::forward<CloudExadataInfrastructureIdT>(value)); return *this;}
53
55
58 inline int GetCpuCoreCount() const { return m_cpuCoreCount; }
59 inline bool CpuCoreCountHasBeenSet() const { return m_cpuCoreCountHasBeenSet; }
60 inline void SetCpuCoreCount(int value) { m_cpuCoreCountHasBeenSet = true; m_cpuCoreCount = value; }
61 inline CreateCloudVmClusterRequest& WithCpuCoreCount(int value) { SetCpuCoreCount(value); return *this;}
63
65
68 inline const Aws::String& GetDisplayName() const { return m_displayName; }
69 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
70 template<typename DisplayNameT = Aws::String>
71 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
72 template<typename DisplayNameT = Aws::String>
73 CreateCloudVmClusterRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
75
77
82 inline const Aws::String& GetGiVersion() const { return m_giVersion; }
83 inline bool GiVersionHasBeenSet() const { return m_giVersionHasBeenSet; }
84 template<typename GiVersionT = Aws::String>
85 void SetGiVersion(GiVersionT&& value) { m_giVersionHasBeenSet = true; m_giVersion = std::forward<GiVersionT>(value); }
86 template<typename GiVersionT = Aws::String>
87 CreateCloudVmClusterRequest& WithGiVersion(GiVersionT&& value) { SetGiVersion(std::forward<GiVersionT>(value)); return *this;}
89
91
98 inline const Aws::String& GetHostname() const { return m_hostname; }
99 inline bool HostnameHasBeenSet() const { return m_hostnameHasBeenSet; }
100 template<typename HostnameT = Aws::String>
101 void SetHostname(HostnameT&& value) { m_hostnameHasBeenSet = true; m_hostname = std::forward<HostnameT>(value); }
102 template<typename HostnameT = Aws::String>
103 CreateCloudVmClusterRequest& WithHostname(HostnameT&& value) { SetHostname(std::forward<HostnameT>(value)); return *this;}
105
107
111 inline const Aws::Vector<Aws::String>& GetSshPublicKeys() const { return m_sshPublicKeys; }
112 inline bool SshPublicKeysHasBeenSet() const { return m_sshPublicKeysHasBeenSet; }
113 template<typename SshPublicKeysT = Aws::Vector<Aws::String>>
114 void SetSshPublicKeys(SshPublicKeysT&& value) { m_sshPublicKeysHasBeenSet = true; m_sshPublicKeys = std::forward<SshPublicKeysT>(value); }
115 template<typename SshPublicKeysT = Aws::Vector<Aws::String>>
116 CreateCloudVmClusterRequest& WithSshPublicKeys(SshPublicKeysT&& value) { SetSshPublicKeys(std::forward<SshPublicKeysT>(value)); return *this;}
117 template<typename SshPublicKeysT = Aws::String>
118 CreateCloudVmClusterRequest& AddSshPublicKeys(SshPublicKeysT&& value) { m_sshPublicKeysHasBeenSet = true; m_sshPublicKeys.emplace_back(std::forward<SshPublicKeysT>(value)); return *this; }
120
122
125 inline const Aws::String& GetOdbNetworkId() const { return m_odbNetworkId; }
126 inline bool OdbNetworkIdHasBeenSet() const { return m_odbNetworkIdHasBeenSet; }
127 template<typename OdbNetworkIdT = Aws::String>
128 void SetOdbNetworkId(OdbNetworkIdT&& value) { m_odbNetworkIdHasBeenSet = true; m_odbNetworkId = std::forward<OdbNetworkIdT>(value); }
129 template<typename OdbNetworkIdT = Aws::String>
130 CreateCloudVmClusterRequest& WithOdbNetworkId(OdbNetworkIdT&& value) { SetOdbNetworkId(std::forward<OdbNetworkIdT>(value)); return *this;}
132
134
138 inline const Aws::String& GetClusterName() const { return m_clusterName; }
139 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
140 template<typename ClusterNameT = Aws::String>
141 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
142 template<typename ClusterNameT = Aws::String>
143 CreateCloudVmClusterRequest& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
145
147
151 inline const DataCollectionOptions& GetDataCollectionOptions() const { return m_dataCollectionOptions; }
152 inline bool DataCollectionOptionsHasBeenSet() const { return m_dataCollectionOptionsHasBeenSet; }
153 template<typename DataCollectionOptionsT = DataCollectionOptions>
154 void SetDataCollectionOptions(DataCollectionOptionsT&& value) { m_dataCollectionOptionsHasBeenSet = true; m_dataCollectionOptions = std::forward<DataCollectionOptionsT>(value); }
155 template<typename DataCollectionOptionsT = DataCollectionOptions>
156 CreateCloudVmClusterRequest& WithDataCollectionOptions(DataCollectionOptionsT&& value) { SetDataCollectionOptions(std::forward<DataCollectionOptionsT>(value)); return *this;}
158
160
164 inline double GetDataStorageSizeInTBs() const { return m_dataStorageSizeInTBs; }
165 inline bool DataStorageSizeInTBsHasBeenSet() const { return m_dataStorageSizeInTBsHasBeenSet; }
166 inline void SetDataStorageSizeInTBs(double value) { m_dataStorageSizeInTBsHasBeenSet = true; m_dataStorageSizeInTBs = value; }
169
171
175 inline int GetDbNodeStorageSizeInGBs() const { return m_dbNodeStorageSizeInGBs; }
176 inline bool DbNodeStorageSizeInGBsHasBeenSet() const { return m_dbNodeStorageSizeInGBsHasBeenSet; }
177 inline void SetDbNodeStorageSizeInGBs(int value) { m_dbNodeStorageSizeInGBsHasBeenSet = true; m_dbNodeStorageSizeInGBs = value; }
180
182
185 inline const Aws::Vector<Aws::String>& GetDbServers() const { return m_dbServers; }
186 inline bool DbServersHasBeenSet() const { return m_dbServersHasBeenSet; }
187 template<typename DbServersT = Aws::Vector<Aws::String>>
188 void SetDbServers(DbServersT&& value) { m_dbServersHasBeenSet = true; m_dbServers = std::forward<DbServersT>(value); }
189 template<typename DbServersT = Aws::Vector<Aws::String>>
190 CreateCloudVmClusterRequest& WithDbServers(DbServersT&& value) { SetDbServers(std::forward<DbServersT>(value)); return *this;}
191 template<typename DbServersT = Aws::String>
192 CreateCloudVmClusterRequest& AddDbServers(DbServersT&& value) { m_dbServersHasBeenSet = true; m_dbServers.emplace_back(std::forward<DbServersT>(value)); return *this; }
194
196
199 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
200 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
201 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
202 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
203 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
204 CreateCloudVmClusterRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
205 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
206 CreateCloudVmClusterRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
207 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
208 }
210
212
216 inline bool GetIsLocalBackupEnabled() const { return m_isLocalBackupEnabled; }
217 inline bool IsLocalBackupEnabledHasBeenSet() const { return m_isLocalBackupEnabledHasBeenSet; }
218 inline void SetIsLocalBackupEnabled(bool value) { m_isLocalBackupEnabledHasBeenSet = true; m_isLocalBackupEnabled = value; }
221
223
226 inline bool GetIsSparseDiskgroupEnabled() const { return m_isSparseDiskgroupEnabled; }
227 inline bool IsSparseDiskgroupEnabledHasBeenSet() const { return m_isSparseDiskgroupEnabledHasBeenSet; }
228 inline void SetIsSparseDiskgroupEnabled(bool value) { m_isSparseDiskgroupEnabledHasBeenSet = true; m_isSparseDiskgroupEnabled = value; }
231
233
237 inline LicenseModel GetLicenseModel() const { return m_licenseModel; }
238 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
239 inline void SetLicenseModel(LicenseModel value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; }
242
244
247 inline int GetMemorySizeInGBs() const { return m_memorySizeInGBs; }
248 inline bool MemorySizeInGBsHasBeenSet() const { return m_memorySizeInGBsHasBeenSet; }
249 inline void SetMemorySizeInGBs(int value) { m_memorySizeInGBsHasBeenSet = true; m_memorySizeInGBs = value; }
250 inline CreateCloudVmClusterRequest& WithMemorySizeInGBs(int value) { SetMemorySizeInGBs(value); return *this;}
252
254
257 inline const Aws::String& GetSystemVersion() const { return m_systemVersion; }
258 inline bool SystemVersionHasBeenSet() const { return m_systemVersionHasBeenSet; }
259 template<typename SystemVersionT = Aws::String>
260 void SetSystemVersion(SystemVersionT&& value) { m_systemVersionHasBeenSet = true; m_systemVersion = std::forward<SystemVersionT>(value); }
261 template<typename SystemVersionT = Aws::String>
262 CreateCloudVmClusterRequest& WithSystemVersion(SystemVersionT&& value) { SetSystemVersion(std::forward<SystemVersionT>(value)); return *this;}
264
266
270 inline const Aws::String& GetTimeZone() const { return m_timeZone; }
271 inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; }
272 template<typename TimeZoneT = Aws::String>
273 void SetTimeZone(TimeZoneT&& value) { m_timeZoneHasBeenSet = true; m_timeZone = std::forward<TimeZoneT>(value); }
274 template<typename TimeZoneT = Aws::String>
275 CreateCloudVmClusterRequest& WithTimeZone(TimeZoneT&& value) { SetTimeZone(std::forward<TimeZoneT>(value)); return *this;}
277
279
286 inline const Aws::String& GetClientToken() const { return m_clientToken; }
287 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
288 template<typename ClientTokenT = Aws::String>
289 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
290 template<typename ClientTokenT = Aws::String>
291 CreateCloudVmClusterRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
293
295
302 inline int GetScanListenerPortTcp() const { return m_scanListenerPortTcp; }
303 inline bool ScanListenerPortTcpHasBeenSet() const { return m_scanListenerPortTcpHasBeenSet; }
304 inline void SetScanListenerPortTcp(int value) { m_scanListenerPortTcpHasBeenSet = true; m_scanListenerPortTcp = value; }
307 private:
308
309 Aws::String m_cloudExadataInfrastructureId;
310 bool m_cloudExadataInfrastructureIdHasBeenSet = false;
311
312 int m_cpuCoreCount{0};
313 bool m_cpuCoreCountHasBeenSet = false;
314
315 Aws::String m_displayName;
316 bool m_displayNameHasBeenSet = false;
317
318 Aws::String m_giVersion;
319 bool m_giVersionHasBeenSet = false;
320
321 Aws::String m_hostname;
322 bool m_hostnameHasBeenSet = false;
323
324 Aws::Vector<Aws::String> m_sshPublicKeys;
325 bool m_sshPublicKeysHasBeenSet = false;
326
327 Aws::String m_odbNetworkId;
328 bool m_odbNetworkIdHasBeenSet = false;
329
330 Aws::String m_clusterName;
331 bool m_clusterNameHasBeenSet = false;
332
333 DataCollectionOptions m_dataCollectionOptions;
334 bool m_dataCollectionOptionsHasBeenSet = false;
335
336 double m_dataStorageSizeInTBs{0.0};
337 bool m_dataStorageSizeInTBsHasBeenSet = false;
338
339 int m_dbNodeStorageSizeInGBs{0};
340 bool m_dbNodeStorageSizeInGBsHasBeenSet = false;
341
342 Aws::Vector<Aws::String> m_dbServers;
343 bool m_dbServersHasBeenSet = false;
344
346 bool m_tagsHasBeenSet = false;
347
348 bool m_isLocalBackupEnabled{false};
349 bool m_isLocalBackupEnabledHasBeenSet = false;
350
351 bool m_isSparseDiskgroupEnabled{false};
352 bool m_isSparseDiskgroupEnabledHasBeenSet = false;
353
354 LicenseModel m_licenseModel{LicenseModel::NOT_SET};
355 bool m_licenseModelHasBeenSet = false;
356
357 int m_memorySizeInGBs{0};
358 bool m_memorySizeInGBsHasBeenSet = false;
359
360 Aws::String m_systemVersion;
361 bool m_systemVersionHasBeenSet = false;
362
363 Aws::String m_timeZone;
364 bool m_timeZoneHasBeenSet = false;
365
367 bool m_clientTokenHasBeenSet = true;
368
369 int m_scanListenerPortTcp{0};
370 bool m_scanListenerPortTcpHasBeenSet = false;
371 };
372
373} // namespace Model
374} // namespace odb
375} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
const Aws::Vector< Aws::String > & GetSshPublicKeys() const
CreateCloudVmClusterRequest & WithLicenseModel(LicenseModel value)
void SetCloudExadataInfrastructureId(CloudExadataInfrastructureIdT &&value)
CreateCloudVmClusterRequest & WithClientToken(ClientTokenT &&value)
CreateCloudVmClusterRequest & AddSshPublicKeys(SshPublicKeysT &&value)
CreateCloudVmClusterRequest & AddDbServers(DbServersT &&value)
void SetDataCollectionOptions(DataCollectionOptionsT &&value)
CreateCloudVmClusterRequest & WithScanListenerPortTcp(int value)
CreateCloudVmClusterRequest & WithOdbNetworkId(OdbNetworkIdT &&value)
CreateCloudVmClusterRequest & WithDbNodeStorageSizeInGBs(int value)
CreateCloudVmClusterRequest & WithIsSparseDiskgroupEnabled(bool value)
CreateCloudVmClusterRequest & WithIsLocalBackupEnabled(bool value)
CreateCloudVmClusterRequest & WithHostname(HostnameT &&value)
CreateCloudVmClusterRequest & WithDataStorageSizeInTBs(double value)
CreateCloudVmClusterRequest & WithDisplayName(DisplayNameT &&value)
CreateCloudVmClusterRequest & WithCpuCoreCount(int value)
AWS_ODB_API CreateCloudVmClusterRequest()=default
CreateCloudVmClusterRequest & WithTimeZone(TimeZoneT &&value)
AWS_ODB_API Aws::String SerializePayload() const override
CreateCloudVmClusterRequest & WithDbServers(DbServersT &&value)
CreateCloudVmClusterRequest & WithSystemVersion(SystemVersionT &&value)
CreateCloudVmClusterRequest & WithSshPublicKeys(SshPublicKeysT &&value)
CreateCloudVmClusterRequest & WithDataCollectionOptions(DataCollectionOptionsT &&value)
CreateCloudVmClusterRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
virtual const char * GetServiceRequestName() const override
CreateCloudVmClusterRequest & WithTags(TagsT &&value)
CreateCloudVmClusterRequest & WithMemorySizeInGBs(int value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< Aws::String > & GetDbServers() const
CreateCloudVmClusterRequest & WithClusterName(ClusterNameT &&value)
const DataCollectionOptions & GetDataCollectionOptions() const
AWS_ODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateCloudVmClusterRequest & WithCloudExadataInfrastructureId(CloudExadataInfrastructureIdT &&value)
CreateCloudVmClusterRequest & WithGiVersion(GiVersionT &&value)
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