7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/docdb/model/ServerlessV2ScalingConfiguration.h>
12#include <aws/docdb/model/Tag.h>
53 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
54 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
55 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
57 template<
typename AvailabilityZonesT = Aws::String>
83 template<
typename DBClusterIdentifierT = Aws::String>
84 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet =
true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
85 template<
typename DBClusterIdentifierT = Aws::String>
95 template<
typename DBClusterParameterGroupNameT = Aws::String>
96 void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) { m_dBClusterParameterGroupNameHasBeenSet =
true; m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value); }
97 template<
typename DBClusterParameterGroupNameT = Aws::String>
107 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
108 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
109 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
111 template<
typename VpcSecurityGroupIdsT = Aws::String>
123 template<
typename DBSubnetGroupNameT = Aws::String>
124 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) { m_dBSubnetGroupNameHasBeenSet =
true; m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value); }
125 template<
typename DBSubnetGroupNameT = Aws::String>
136 template<
typename EngineT = Aws::String>
137 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
138 template<
typename EngineT = Aws::String>
151 template<
typename EngineVersionT = Aws::String>
152 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
153 template<
typename EngineVersionT = Aws::String>
163 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
176 template<
typename MasterUsernameT = Aws::String>
177 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet =
true; m_masterUsername = std::forward<MasterUsernameT>(value); }
178 template<
typename MasterUsernameT = Aws::String>
190 template<
typename MasterUserPasswordT = Aws::String>
191 void SetMasterUserPassword(MasterUserPasswordT&& value) { m_masterUserPasswordHasBeenSet =
true; m_masterUserPassword = std::forward<MasterUserPasswordT>(value); }
192 template<
typename MasterUserPasswordT = Aws::String>
209 template<
typename PreferredBackupWindowT = Aws::String>
210 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) { m_preferredBackupWindowHasBeenSet =
true; m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value); }
211 template<
typename PreferredBackupWindowT = Aws::String>
226 template<
typename PreferredMa
intenanceWindowT = Aws::String>
227 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet =
true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
228 template<
typename PreferredMa
intenanceWindowT = Aws::String>
238 template<
typename TagsT = Aws::Vector<Tag>>
239 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
240 template<
typename TagsT = Aws::Vector<Tag>>
242 template<
typename TagsT = Tag>
252 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
272 template<
typename KmsKeyIdT = Aws::String>
273 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
274 template<
typename KmsKeyIdT = Aws::String>
284 template<
typename PreSignedUrlT = Aws::String>
285 void SetPreSignedUrl(PreSignedUrlT&& value) { m_preSignedUrlHasBeenSet =
true; m_preSignedUrl = std::forward<PreSignedUrlT>(value); }
286 template<
typename PreSignedUrlT = Aws::String>
302 template<
typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
303 void SetEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) { m_enableCloudwatchLogsExportsHasBeenSet =
true; m_enableCloudwatchLogsExports = std::forward<EnableCloudwatchLogsExportsT>(value); }
304 template<
typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
306 template<
typename EnableCloudwatchLogsExportsT = Aws::String>
320 inline void SetDeletionProtection(
bool value) { m_deletionProtectionHasBeenSet =
true; m_deletionProtection = value; }
330 template<
typename GlobalClusterIdentifierT = Aws::String>
331 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) { m_globalClusterIdentifierHasBeenSet =
true; m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value); }
332 template<
typename GlobalClusterIdentifierT = Aws::String>
349 template<
typename StorageTypeT = Aws::String>
350 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet =
true; m_storageType = std::forward<StorageTypeT>(value); }
351 template<
typename StorageTypeT = Aws::String>
362 template<
typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
363 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) { m_serverlessV2ScalingConfigurationHasBeenSet =
true; m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value); }
364 template<
typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
400 template<
typename MasterUserSecretKmsKeyIdT = Aws::String>
401 void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT&& value) { m_masterUserSecretKmsKeyIdHasBeenSet =
true; m_masterUserSecretKmsKeyId = std::forward<MasterUserSecretKmsKeyIdT>(value); }
402 template<
typename MasterUserSecretKmsKeyIdT = Aws::String>
412 template<
typename SourceRegionT = Aws::String>
413 void SetSourceRegion(SourceRegionT&& value) { m_sourceRegionHasBeenSet =
true; m_sourceRegion = std::forward<SourceRegionT>(value); }
414 template<
typename SourceRegionT = Aws::String>
420 bool m_availabilityZonesHasBeenSet =
false;
422 int m_backupRetentionPeriod{0};
423 bool m_backupRetentionPeriodHasBeenSet =
false;
426 bool m_dBClusterIdentifierHasBeenSet =
false;
429 bool m_dBClusterParameterGroupNameHasBeenSet =
false;
432 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
435 bool m_dBSubnetGroupNameHasBeenSet =
false;
438 bool m_engineHasBeenSet =
false;
441 bool m_engineVersionHasBeenSet =
false;
444 bool m_portHasBeenSet =
false;
447 bool m_masterUsernameHasBeenSet =
false;
450 bool m_masterUserPasswordHasBeenSet =
false;
453 bool m_preferredBackupWindowHasBeenSet =
false;
456 bool m_preferredMaintenanceWindowHasBeenSet =
false;
459 bool m_tagsHasBeenSet =
false;
461 bool m_storageEncrypted{
false};
462 bool m_storageEncryptedHasBeenSet =
false;
465 bool m_kmsKeyIdHasBeenSet =
false;
468 bool m_preSignedUrlHasBeenSet =
false;
471 bool m_enableCloudwatchLogsExportsHasBeenSet =
false;
473 bool m_deletionProtection{
false};
474 bool m_deletionProtectionHasBeenSet =
false;
477 bool m_globalClusterIdentifierHasBeenSet =
false;
480 bool m_storageTypeHasBeenSet =
false;
482 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
483 bool m_serverlessV2ScalingConfigurationHasBeenSet =
false;
485 bool m_manageMasterUserPassword{
false};
486 bool m_manageMasterUserPasswordHasBeenSet =
false;
489 bool m_masterUserSecretKmsKeyIdHasBeenSet =
false;
492 bool m_sourceRegionHasBeenSet =
false;
CreateDBClusterRequest & WithSourceRegion(SourceRegionT &&value)
AWS_DOCDB_API CreateDBClusterRequest()=default
const Aws::String & GetEngineVersion() const
bool DeletionProtectionHasBeenSet() const
const Aws::String & GetMasterUserPassword() const
CreateDBClusterRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool ManageMasterUserPasswordHasBeenSet() const
int GetBackupRetentionPeriod() const
bool StorageEncryptedHasBeenSet() const
CreateDBClusterRequest & AddAvailabilityZones(AvailabilityZonesT &&value)
void SetManageMasterUserPassword(bool value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const Aws::String & GetGlobalClusterIdentifier() const
void SetEngineVersion(EngineVersionT &&value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetEngine() const
bool SourceRegionHasBeenSet() const
void SetSourceRegion(SourceRegionT &&value)
void SetBackupRetentionPeriod(int value)
void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
bool KmsKeyIdHasBeenSet() const
CreateDBClusterRequest & WithAvailabilityZones(AvailabilityZonesT &&value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
void SetEngine(EngineT &&value)
void SetDeletionProtection(bool value)
bool TagsHasBeenSet() const
const Aws::String & GetPreferredBackupWindow() const
const Aws::String & GetMasterUsername() const
CreateDBClusterRequest & AddTags(TagsT &&value)
CreateDBClusterRequest & WithStorageType(StorageTypeT &&value)
CreateDBClusterRequest & WithEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
CreateDBClusterRequest & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
bool StorageTypeHasBeenSet() const
bool EngineHasBeenSet() const
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
void SetTags(TagsT &&value)
bool EngineVersionHasBeenSet() const
void SetAvailabilityZones(AvailabilityZonesT &&value)
CreateDBClusterRequest & WithPort(int value)
CreateDBClusterRequest & WithManageMasterUserPassword(bool value)
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
CreateDBClusterRequest & WithMasterUsername(MasterUsernameT &&value)
CreateDBClusterRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
CreateDBClusterRequest & WithEngineVersion(EngineVersionT &&value)
const Aws::String & GetMasterUserSecretKmsKeyId() const
bool PreferredBackupWindowHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateDBClusterRequest & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
void SetStorageType(StorageTypeT &&value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetDBClusterIdentifier() const
CreateDBClusterRequest & WithMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
CreateDBClusterRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
bool DBClusterParameterGroupNameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::Vector< Aws::String > & GetEnableCloudwatchLogsExports() const
bool BackupRetentionPeriodHasBeenSet() const
bool PreferredMaintenanceWindowHasBeenSet() const
bool EnableCloudwatchLogsExportsHasBeenSet() const
const Aws::String & GetPreferredMaintenanceWindow() const
CreateDBClusterRequest & WithPreSignedUrl(PreSignedUrlT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const ServerlessV2ScalingConfiguration & GetServerlessV2ScalingConfiguration() const
bool MasterUsernameHasBeenSet() const
bool MasterUserPasswordHasBeenSet() const
void SetMasterUserPassword(MasterUserPasswordT &&value)
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
const Aws::String & GetPreSignedUrl() const
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
bool GetDeletionProtection() const
CreateDBClusterRequest & WithDeletionProtection(bool value)
bool DBSubnetGroupNameHasBeenSet() const
CreateDBClusterRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
CreateDBClusterRequest & WithEngine(EngineT &&value)
const Aws::String & GetDBClusterParameterGroupName() const
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
bool GetManageMasterUserPassword() const
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
CreateDBClusterRequest & WithMasterUserPassword(MasterUserPasswordT &&value)
void SetDBSubnetGroupName(DBSubnetGroupNameT &&value)
void SetMasterUsername(MasterUsernameT &&value)
bool PreSignedUrlHasBeenSet() const
CreateDBClusterRequest & WithBackupRetentionPeriod(int value)
CreateDBClusterRequest & WithTags(TagsT &&value)
bool GlobalClusterIdentifierHasBeenSet() const
CreateDBClusterRequest & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
void SetStorageEncrypted(bool value)
bool AvailabilityZonesHasBeenSet() const
bool DBClusterIdentifierHasBeenSet() const
const Aws::String & GetStorageType() const
bool GetStorageEncrypted() const
CreateDBClusterRequest & WithStorageEncrypted(bool value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
CreateDBClusterRequest & WithDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
const Aws::String & GetSourceRegion() const
bool ServerlessV2ScalingConfigurationHasBeenSet() const
bool PortHasBeenSet() const
void SetEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
void SetMasterUserSecretKmsKeyId(MasterUserSecretKmsKeyIdT &&value)
bool VpcSecurityGroupIdsHasBeenSet() const
void SetPreSignedUrl(PreSignedUrlT &&value)
bool MasterUserSecretKmsKeyIdHasBeenSet() const
const Aws::String & GetDBSubnetGroupName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector