AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateCloudAutonomousVmClusterRequest.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/LicenseModel.h>
12#include <aws/odb/model/MaintenanceWindow.h>
13#include <aws/core/utils/memory/stl/AWSMap.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:
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 "CreateCloudAutonomousVmCluster"; }
36
37 AWS_ODB_API Aws::String SerializePayload() const override;
38
40
41
43
47 inline const Aws::String& GetCloudExadataInfrastructureId() const { return m_cloudExadataInfrastructureId; }
48 inline bool CloudExadataInfrastructureIdHasBeenSet() const { return m_cloudExadataInfrastructureIdHasBeenSet; }
49 template<typename CloudExadataInfrastructureIdT = Aws::String>
50 void SetCloudExadataInfrastructureId(CloudExadataInfrastructureIdT&& value) { m_cloudExadataInfrastructureIdHasBeenSet = true; m_cloudExadataInfrastructureId = std::forward<CloudExadataInfrastructureIdT>(value); }
51 template<typename CloudExadataInfrastructureIdT = Aws::String>
52 CreateCloudAutonomousVmClusterRequest& WithCloudExadataInfrastructureId(CloudExadataInfrastructureIdT&& value) { SetCloudExadataInfrastructureId(std::forward<CloudExadataInfrastructureIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetOdbNetworkId() const { return m_odbNetworkId; }
60 inline bool OdbNetworkIdHasBeenSet() const { return m_odbNetworkIdHasBeenSet; }
61 template<typename OdbNetworkIdT = Aws::String>
62 void SetOdbNetworkId(OdbNetworkIdT&& value) { m_odbNetworkIdHasBeenSet = true; m_odbNetworkId = std::forward<OdbNetworkIdT>(value); }
63 template<typename OdbNetworkIdT = Aws::String>
64 CreateCloudAutonomousVmClusterRequest& WithOdbNetworkId(OdbNetworkIdT&& value) { SetOdbNetworkId(std::forward<OdbNetworkIdT>(value)); return *this;}
66
68
72 inline const Aws::String& GetDisplayName() const { return m_displayName; }
73 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
74 template<typename DisplayNameT = Aws::String>
75 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
76 template<typename DisplayNameT = Aws::String>
77 CreateCloudAutonomousVmClusterRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
79
81
84 inline const Aws::String& GetClientToken() const { return m_clientToken; }
85 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
86 template<typename ClientTokenT = Aws::String>
87 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
88 template<typename ClientTokenT = Aws::String>
89 CreateCloudAutonomousVmClusterRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
91
93
97 inline double GetAutonomousDataStorageSizeInTBs() const { return m_autonomousDataStorageSizeInTBs; }
98 inline bool AutonomousDataStorageSizeInTBsHasBeenSet() const { return m_autonomousDataStorageSizeInTBsHasBeenSet; }
99 inline void SetAutonomousDataStorageSizeInTBs(double value) { m_autonomousDataStorageSizeInTBsHasBeenSet = true; m_autonomousDataStorageSizeInTBs = value; }
102
104
107 inline int GetCpuCoreCountPerNode() const { return m_cpuCoreCountPerNode; }
108 inline bool CpuCoreCountPerNodeHasBeenSet() const { return m_cpuCoreCountPerNodeHasBeenSet; }
109 inline void SetCpuCoreCountPerNode(int value) { m_cpuCoreCountPerNodeHasBeenSet = true; m_cpuCoreCountPerNode = value; }
112
114
117 inline const Aws::Vector<Aws::String>& GetDbServers() const { return m_dbServers; }
118 inline bool DbServersHasBeenSet() const { return m_dbServersHasBeenSet; }
119 template<typename DbServersT = Aws::Vector<Aws::String>>
120 void SetDbServers(DbServersT&& value) { m_dbServersHasBeenSet = true; m_dbServers = std::forward<DbServersT>(value); }
121 template<typename DbServersT = Aws::Vector<Aws::String>>
122 CreateCloudAutonomousVmClusterRequest& WithDbServers(DbServersT&& value) { SetDbServers(std::forward<DbServersT>(value)); return *this;}
123 template<typename DbServersT = Aws::String>
124 CreateCloudAutonomousVmClusterRequest& AddDbServers(DbServersT&& value) { m_dbServersHasBeenSet = true; m_dbServers.emplace_back(std::forward<DbServersT>(value)); return *this; }
126
128
131 inline const Aws::String& GetDescription() const { return m_description; }
132 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 template<typename DescriptionT = Aws::String>
134 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
135 template<typename DescriptionT = Aws::String>
136 CreateCloudAutonomousVmClusterRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
138
140
144 inline bool GetIsMtlsEnabledVmCluster() const { return m_isMtlsEnabledVmCluster; }
145 inline bool IsMtlsEnabledVmClusterHasBeenSet() const { return m_isMtlsEnabledVmClusterHasBeenSet; }
146 inline void SetIsMtlsEnabledVmCluster(bool value) { m_isMtlsEnabledVmClusterHasBeenSet = true; m_isMtlsEnabledVmCluster = value; }
149
151
154 inline LicenseModel GetLicenseModel() const { return m_licenseModel; }
155 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
156 inline void SetLicenseModel(LicenseModel value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; }
159
161
165 inline const MaintenanceWindow& GetMaintenanceWindow() const { return m_maintenanceWindow; }
166 inline bool MaintenanceWindowHasBeenSet() const { return m_maintenanceWindowHasBeenSet; }
167 template<typename MaintenanceWindowT = MaintenanceWindow>
168 void SetMaintenanceWindow(MaintenanceWindowT&& value) { m_maintenanceWindowHasBeenSet = true; m_maintenanceWindow = std::forward<MaintenanceWindowT>(value); }
169 template<typename MaintenanceWindowT = MaintenanceWindow>
170 CreateCloudAutonomousVmClusterRequest& WithMaintenanceWindow(MaintenanceWindowT&& value) { SetMaintenanceWindow(std::forward<MaintenanceWindowT>(value)); return *this;}
172
174
177 inline int GetMemoryPerOracleComputeUnitInGBs() const { return m_memoryPerOracleComputeUnitInGBs; }
178 inline bool MemoryPerOracleComputeUnitInGBsHasBeenSet() const { return m_memoryPerOracleComputeUnitInGBsHasBeenSet; }
179 inline void SetMemoryPerOracleComputeUnitInGBs(int value) { m_memoryPerOracleComputeUnitInGBsHasBeenSet = true; m_memoryPerOracleComputeUnitInGBs = value; }
182
184
187 inline int GetScanListenerPortNonTls() const { return m_scanListenerPortNonTls; }
188 inline bool ScanListenerPortNonTlsHasBeenSet() const { return m_scanListenerPortNonTlsHasBeenSet; }
189 inline void SetScanListenerPortNonTls(int value) { m_scanListenerPortNonTlsHasBeenSet = true; m_scanListenerPortNonTls = value; }
192
194
197 inline int GetScanListenerPortTls() const { return m_scanListenerPortTls; }
198 inline bool ScanListenerPortTlsHasBeenSet() const { return m_scanListenerPortTlsHasBeenSet; }
199 inline void SetScanListenerPortTls(int value) { m_scanListenerPortTlsHasBeenSet = true; m_scanListenerPortTls = value; }
202
204
208 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
209 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
210 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
211 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
212 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
213 CreateCloudAutonomousVmClusterRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
214 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
215 CreateCloudAutonomousVmClusterRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
216 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
217 }
219
221
224 inline const Aws::String& GetTimeZone() const { return m_timeZone; }
225 inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; }
226 template<typename TimeZoneT = Aws::String>
227 void SetTimeZone(TimeZoneT&& value) { m_timeZoneHasBeenSet = true; m_timeZone = std::forward<TimeZoneT>(value); }
228 template<typename TimeZoneT = Aws::String>
229 CreateCloudAutonomousVmClusterRequest& WithTimeZone(TimeZoneT&& value) { SetTimeZone(std::forward<TimeZoneT>(value)); return *this;}
231
233
237 inline int GetTotalContainerDatabases() const { return m_totalContainerDatabases; }
238 inline bool TotalContainerDatabasesHasBeenSet() const { return m_totalContainerDatabasesHasBeenSet; }
239 inline void SetTotalContainerDatabases(int value) { m_totalContainerDatabasesHasBeenSet = true; m_totalContainerDatabases = value; }
242 private:
243
244 Aws::String m_cloudExadataInfrastructureId;
245 bool m_cloudExadataInfrastructureIdHasBeenSet = false;
246
247 Aws::String m_odbNetworkId;
248 bool m_odbNetworkIdHasBeenSet = false;
249
250 Aws::String m_displayName;
251 bool m_displayNameHasBeenSet = false;
252
254 bool m_clientTokenHasBeenSet = true;
255
256 double m_autonomousDataStorageSizeInTBs{0.0};
257 bool m_autonomousDataStorageSizeInTBsHasBeenSet = false;
258
259 int m_cpuCoreCountPerNode{0};
260 bool m_cpuCoreCountPerNodeHasBeenSet = false;
261
262 Aws::Vector<Aws::String> m_dbServers;
263 bool m_dbServersHasBeenSet = false;
264
265 Aws::String m_description;
266 bool m_descriptionHasBeenSet = false;
267
268 bool m_isMtlsEnabledVmCluster{false};
269 bool m_isMtlsEnabledVmClusterHasBeenSet = false;
270
271 LicenseModel m_licenseModel{LicenseModel::NOT_SET};
272 bool m_licenseModelHasBeenSet = false;
273
274 MaintenanceWindow m_maintenanceWindow;
275 bool m_maintenanceWindowHasBeenSet = false;
276
277 int m_memoryPerOracleComputeUnitInGBs{0};
278 bool m_memoryPerOracleComputeUnitInGBsHasBeenSet = false;
279
280 int m_scanListenerPortNonTls{0};
281 bool m_scanListenerPortNonTlsHasBeenSet = false;
282
283 int m_scanListenerPortTls{0};
284 bool m_scanListenerPortTlsHasBeenSet = false;
285
287 bool m_tagsHasBeenSet = false;
288
289 Aws::String m_timeZone;
290 bool m_timeZoneHasBeenSet = false;
291
292 int m_totalContainerDatabases{0};
293 bool m_totalContainerDatabasesHasBeenSet = false;
294 };
295
296} // namespace Model
297} // namespace odb
298} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
CreateCloudAutonomousVmClusterRequest & WithOdbNetworkId(OdbNetworkIdT &&value)
CreateCloudAutonomousVmClusterRequest & WithLicenseModel(LicenseModel value)
CreateCloudAutonomousVmClusterRequest & AddDbServers(DbServersT &&value)
CreateCloudAutonomousVmClusterRequest & WithTotalContainerDatabases(int value)
CreateCloudAutonomousVmClusterRequest & WithCloudExadataInfrastructureId(CloudExadataInfrastructureIdT &&value)
CreateCloudAutonomousVmClusterRequest & WithCpuCoreCountPerNode(int value)
AWS_ODB_API Aws::String SerializePayload() const override
AWS_ODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateCloudAutonomousVmClusterRequest & WithDescription(DescriptionT &&value)
CreateCloudAutonomousVmClusterRequest & WithScanListenerPortNonTls(int value)
CreateCloudAutonomousVmClusterRequest & WithDbServers(DbServersT &&value)
CreateCloudAutonomousVmClusterRequest & WithTags(TagsT &&value)
CreateCloudAutonomousVmClusterRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateCloudAutonomousVmClusterRequest & WithClientToken(ClientTokenT &&value)
CreateCloudAutonomousVmClusterRequest & WithMemoryPerOracleComputeUnitInGBs(int value)
void SetCloudExadataInfrastructureId(CloudExadataInfrastructureIdT &&value)
CreateCloudAutonomousVmClusterRequest & WithMaintenanceWindow(MaintenanceWindowT &&value)
CreateCloudAutonomousVmClusterRequest & WithDisplayName(DisplayNameT &&value)
CreateCloudAutonomousVmClusterRequest & WithIsMtlsEnabledVmCluster(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateCloudAutonomousVmClusterRequest & WithScanListenerPortTls(int value)
CreateCloudAutonomousVmClusterRequest & WithTimeZone(TimeZoneT &&value)
CreateCloudAutonomousVmClusterRequest & WithAutonomousDataStorageSizeInTBs(double 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