7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/docdb/DocDBRequest.h>
10#include <aws/docdb/DocDB_EXPORTS.h>
11#include <aws/docdb/model/ServerlessV2ScalingConfiguration.h>
12#include <aws/docdb/model/Tag.h>
49 template <
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
51 m_availabilityZonesHasBeenSet =
true;
52 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
54 template <
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
59 template <
typename AvailabilityZonesT = Aws::String>
61 m_availabilityZonesHasBeenSet =
true;
62 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
76 m_backupRetentionPeriodHasBeenSet =
true;
77 m_backupRetentionPeriod = value;
95 template <
typename DBClusterIdentifierT = Aws::String>
97 m_dBClusterIdentifierHasBeenSet =
true;
98 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
100 template <
typename DBClusterIdentifierT = Aws::String>
113 template <
typename DBClusterParameterGroupNameT = Aws::String>
115 m_dBClusterParameterGroupNameHasBeenSet =
true;
116 m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value);
118 template <
typename DBClusterParameterGroupNameT = Aws::String>
131 template <
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
133 m_vpcSecurityGroupIdsHasBeenSet =
true;
134 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
136 template <
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
141 template <
typename VpcSecurityGroupIdsT = Aws::String>
143 m_vpcSecurityGroupIdsHasBeenSet =
true;
144 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
157 template <
typename DBSubnetGroupNameT = Aws::String>
159 m_dBSubnetGroupNameHasBeenSet =
true;
160 m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value);
162 template <
typename DBSubnetGroupNameT = Aws::String>
176 template <
typename EngineT = Aws::String>
178 m_engineHasBeenSet =
true;
179 m_engine = std::forward<EngineT>(value);
181 template <
typename EngineT = Aws::String>
197 template <
typename EngineVersionT = Aws::String>
199 m_engineVersionHasBeenSet =
true;
200 m_engineVersion = std::forward<EngineVersionT>(value);
202 template <
typename EngineVersionT = Aws::String>
216 m_portHasBeenSet =
true;
234 template <
typename MasterUsernameT = Aws::String>
236 m_masterUsernameHasBeenSet =
true;
237 m_masterUsername = std::forward<MasterUsernameT>(value);
239 template <
typename MasterUsernameT = Aws::String>
254 template <
typename MasterUserPasswordT = Aws::String>
256 m_masterUserPasswordHasBeenSet =
true;
257 m_masterUserPassword = std::forward<MasterUserPasswordT>(value);
259 template <
typename MasterUserPasswordT = Aws::String>
279 template <
typename PreferredBackupWindowT = Aws::String>
281 m_preferredBackupWindowHasBeenSet =
true;
282 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
284 template <
typename PreferredBackupWindowT = Aws::String>
302 template <
typename PreferredMa
intenanceWindowT = Aws::String>
304 m_preferredMaintenanceWindowHasBeenSet =
true;
305 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
307 template <
typename PreferredMa
intenanceWindowT = Aws::String>
320 template <
typename TagsT = Aws::Vector<Tag>>
322 m_tagsHasBeenSet =
true;
323 m_tags = std::forward<TagsT>(value);
325 template <
typename TagsT = Aws::Vector<Tag>>
327 SetTags(std::forward<TagsT>(value));
330 template <
typename TagsT = Tag>
332 m_tagsHasBeenSet =
true;
333 m_tags.emplace_back(std::forward<TagsT>(value));
345 m_storageEncryptedHasBeenSet =
true;
346 m_storageEncrypted = value;
370 template <
typename KmsKeyIdT = Aws::String>
372 m_kmsKeyIdHasBeenSet =
true;
373 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
375 template <
typename KmsKeyIdT = Aws::String>
388 template <
typename PreSignedUrlT = Aws::String>
390 m_preSignedUrlHasBeenSet =
true;
391 m_preSignedUrl = std::forward<PreSignedUrlT>(value);
393 template <
typename PreSignedUrlT = Aws::String>
412 template <
typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
414 m_enableCloudwatchLogsExportsHasBeenSet =
true;
415 m_enableCloudwatchLogsExports = std::forward<EnableCloudwatchLogsExportsT>(value);
417 template <
typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
422 template <
typename EnableCloudwatchLogsExportsT = Aws::String>
424 m_enableCloudwatchLogsExportsHasBeenSet =
true;
425 m_enableCloudwatchLogsExports.emplace_back(std::forward<EnableCloudwatchLogsExportsT>(value));
441 m_deletionProtectionHasBeenSet =
true;
442 m_deletionProtection = value;
456 template <
typename GlobalClusterIdentifierT = Aws::String>
458 m_globalClusterIdentifierHasBeenSet =
true;
459 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
461 template <
typename GlobalClusterIdentifierT = Aws::String>
481 template <
typename StorageTypeT = Aws::String>
483 m_storageTypeHasBeenSet =
true;
484 m_storageType = std::forward<StorageTypeT>(value);
486 template <
typename StorageTypeT = Aws::String>
500 template <
typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
502 m_serverlessV2ScalingConfigurationHasBeenSet =
true;
503 m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value);
505 template <
typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
522 m_manageMasterUserPasswordHasBeenSet =
true;
523 m_manageMasterUserPassword = value;
550 template <
typename MasterUserSecretKmsKeyIdT = Aws::String>
552 m_masterUserSecretKmsKeyIdHasBeenSet =
true;
553 m_masterUserSecretKmsKeyId = std::forward<MasterUserSecretKmsKeyIdT>(value);
555 template <
typename MasterUserSecretKmsKeyIdT = Aws::String>
574 template <
typename NetworkTypeT = Aws::String>
576 m_networkTypeHasBeenSet =
true;
577 m_networkType = std::forward<NetworkTypeT>(value);
579 template <
typename NetworkTypeT = Aws::String>
592 template <
typename SourceRegionT = Aws::String>
594 m_sourceRegionHasBeenSet =
true;
595 m_sourceRegion = std::forward<SourceRegionT>(value);
597 template <
typename SourceRegionT = Aws::String>
606 int m_backupRetentionPeriod{0};
632 bool m_storageEncrypted{
false};
640 bool m_deletionProtection{
false};
646 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
648 bool m_manageMasterUserPassword{
false};
655 bool m_availabilityZonesHasBeenSet =
false;
656 bool m_backupRetentionPeriodHasBeenSet =
false;
657 bool m_dBClusterIdentifierHasBeenSet =
false;
658 bool m_dBClusterParameterGroupNameHasBeenSet =
false;
659 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
660 bool m_dBSubnetGroupNameHasBeenSet =
false;
661 bool m_engineHasBeenSet =
false;
662 bool m_engineVersionHasBeenSet =
false;
663 bool m_portHasBeenSet =
false;
664 bool m_masterUsernameHasBeenSet =
false;
665 bool m_masterUserPasswordHasBeenSet =
false;
666 bool m_preferredBackupWindowHasBeenSet =
false;
667 bool m_preferredMaintenanceWindowHasBeenSet =
false;
668 bool m_tagsHasBeenSet =
false;
669 bool m_storageEncryptedHasBeenSet =
false;
670 bool m_kmsKeyIdHasBeenSet =
false;
671 bool m_preSignedUrlHasBeenSet =
false;
672 bool m_enableCloudwatchLogsExportsHasBeenSet =
false;
673 bool m_deletionProtectionHasBeenSet =
false;
674 bool m_globalClusterIdentifierHasBeenSet =
false;
675 bool m_storageTypeHasBeenSet =
false;
676 bool m_serverlessV2ScalingConfigurationHasBeenSet =
false;
677 bool m_manageMasterUserPasswordHasBeenSet =
false;
678 bool m_masterUserSecretKmsKeyIdHasBeenSet =
false;
679 bool m_networkTypeHasBeenSet =
false;
680 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
CreateDBClusterRequest & WithNetworkType(NetworkTypeT &&value)
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
bool NetworkTypeHasBeenSet() const
CreateDBClusterRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
CreateDBClusterRequest & WithEngine(EngineT &&value)
void SetNetworkType(NetworkTypeT &&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 & GetNetworkType() 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