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/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/odb/model/MaintenanceWindow.h>
13#include <aws/odb/model/CustomerContact.h>
15#include <aws/core/utils/UUID.h>
35 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateCloudExadataInfrastructure"; }
48 template<
typename DisplayNameT = Aws::String>
49 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
50 template<
typename DisplayNameT = Aws::String>
61 template<
typename ShapeT = Aws::String>
62 void SetShape(ShapeT&& value) { m_shapeHasBeenSet =
true; m_shape = std::forward<ShapeT>(value); }
63 template<
typename ShapeT = Aws::String>
76 template<
typename AvailabilityZoneT = Aws::String>
77 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
78 template<
typename AvailabilityZoneT = Aws::String>
91 template<
typename AvailabilityZoneIdT = Aws::String>
92 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
93 template<
typename AvailabilityZoneIdT = Aws::String>
103 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
105 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
107 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
109 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
121 inline void SetComputeCount(
int value) { m_computeCountHasBeenSet =
true; m_computeCount = value; }
132 template<
typename CustomerContactsToSendToOCIT = Aws::Vector<CustomerContact>>
133 void SetCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT&& value) { m_customerContactsToSendToOCIHasBeenSet =
true; m_customerContactsToSendToOCI = std::forward<CustomerContactsToSendToOCIT>(value); }
134 template<
typename CustomerContactsToSendToOCIT = Aws::Vector<CustomerContact>>
136 template<
typename CustomerContactsToSendToOCIT = CustomerContact>
148 template<
typename Ma
intenanceWindowT = Ma
intenanceWindow>
149 void SetMaintenanceWindow(MaintenanceWindowT&& value) { m_maintenanceWindowHasBeenSet =
true; m_maintenanceWindow = std::forward<MaintenanceWindowT>(value); }
150 template<
typename Ma
intenanceWindowT = Ma
intenanceWindow>
163 inline void SetStorageCount(
int value) { m_storageCountHasBeenSet =
true; m_storageCount = value; }
177 template<
typename ClientTokenT = Aws::String>
178 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
179 template<
typename ClientTokenT = Aws::String>
190 template<
typename DatabaseServerTypeT = Aws::String>
191 void SetDatabaseServerType(DatabaseServerTypeT&& value) { m_databaseServerTypeHasBeenSet =
true; m_databaseServerType = std::forward<DatabaseServerTypeT>(value); }
192 template<
typename DatabaseServerTypeT = Aws::String>
203 template<
typename StorageServerTypeT = Aws::String>
204 void SetStorageServerType(StorageServerTypeT&& value) { m_storageServerTypeHasBeenSet =
true; m_storageServerType = std::forward<StorageServerTypeT>(value); }
205 template<
typename StorageServerTypeT = Aws::String>
211 bool m_displayNameHasBeenSet =
false;
214 bool m_shapeHasBeenSet =
false;
217 bool m_availabilityZoneHasBeenSet =
false;
220 bool m_availabilityZoneIdHasBeenSet =
false;
223 bool m_tagsHasBeenSet =
false;
225 int m_computeCount{0};
226 bool m_computeCountHasBeenSet =
false;
229 bool m_customerContactsToSendToOCIHasBeenSet =
false;
231 MaintenanceWindow m_maintenanceWindow;
232 bool m_maintenanceWindowHasBeenSet =
false;
234 int m_storageCount{0};
235 bool m_storageCountHasBeenSet =
false;
238 bool m_clientTokenHasBeenSet =
true;
241 bool m_databaseServerTypeHasBeenSet =
false;
244 bool m_storageServerTypeHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
CreateCloudExadataInfrastructureRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
CreateCloudExadataInfrastructureRequest & WithComputeCount(int value)
void SetComputeCount(int value)
const Aws::String & GetStorageServerType() const
CreateCloudExadataInfrastructureRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
virtual const char * GetServiceRequestName() const override
void SetShape(ShapeT &&value)
CreateCloudExadataInfrastructureRequest & WithDisplayName(DisplayNameT &&value)
CreateCloudExadataInfrastructureRequest & WithClientToken(ClientTokenT &&value)
CreateCloudExadataInfrastructureRequest & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetDisplayName() const
bool ComputeCountHasBeenSet() const
bool StorageCountHasBeenSet() const
CreateCloudExadataInfrastructureRequest & WithMaintenanceWindow(MaintenanceWindowT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
void SetStorageServerType(StorageServerTypeT &&value)
bool StorageServerTypeHasBeenSet() const
AWS_ODB_API CreateCloudExadataInfrastructureRequest()=default
const Aws::String & GetAvailabilityZoneId() const
const Aws::String & GetAvailabilityZone() const
const Aws::Vector< CustomerContact > & GetCustomerContactsToSendToOCI() const
void SetDisplayName(DisplayNameT &&value)
CreateCloudExadataInfrastructureRequest & WithCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT &&value)
int GetComputeCount() const
bool ShapeHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateCloudExadataInfrastructureRequest & WithDatabaseServerType(DatabaseServerTypeT &&value)
bool CustomerContactsToSendToOCIHasBeenSet() const
CreateCloudExadataInfrastructureRequest & AddCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT &&value)
AWS_ODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClientToken(ClientTokenT &&value)
bool AvailabilityZoneHasBeenSet() const
const Aws::String & GetShape() const
int GetStorageCount() const
void SetMaintenanceWindow(MaintenanceWindowT &&value)
CreateCloudExadataInfrastructureRequest & WithStorageCount(int value)
CreateCloudExadataInfrastructureRequest & WithShape(ShapeT &&value)
void SetDatabaseServerType(DatabaseServerTypeT &&value)
const MaintenanceWindow & GetMaintenanceWindow() const
bool AvailabilityZoneIdHasBeenSet() const
void SetCustomerContactsToSendToOCI(CustomerContactsToSendToOCIT &&value)
const Aws::String & GetDatabaseServerType() const
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetClientToken() const
CreateCloudExadataInfrastructureRequest & WithStorageServerType(StorageServerTypeT &&value)
bool DisplayNameHasBeenSet() const
void SetStorageCount(int value)
bool TagsHasBeenSet() const
bool MaintenanceWindowHasBeenSet() const
AWS_ODB_API Aws::String SerializePayload() const override
bool DatabaseServerTypeHasBeenSet() const
CreateCloudExadataInfrastructureRequest & WithTags(TagsT &&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