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/Tag.h>
85 inline void SetDBClusterIdentifier(
const char* value) { m_dBClusterIdentifierHasBeenSet =
true; m_dBClusterIdentifier.assign(value); }
99 inline void SetDBClusterParameterGroupName(
const char* value) { m_dBClusterParameterGroupNameHasBeenSet =
true; m_dBClusterParameterGroupName.assign(value); }
130 inline void SetDBSubnetGroupName(
const char* value) { m_dBSubnetGroupNameHasBeenSet =
true; m_dBSubnetGroupName.assign(value); }
145 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
162 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
174 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
189 inline void SetMasterUsername(
const char* value) { m_masterUsernameHasBeenSet =
true; m_masterUsername.assign(value); }
205 inline void SetMasterUserPassword(
const char* value) { m_masterUserPasswordHasBeenSet =
true; m_masterUserPassword.assign(value); }
226 inline void SetPreferredBackupWindow(
const char* value) { m_preferredBackupWindowHasBeenSet =
true; m_preferredBackupWindow.assign(value); }
271 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
293 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
307 inline void SetPreSignedUrl(
const char* value) { m_preSignedUrlHasBeenSet =
true; m_preSignedUrl.assign(value); }
344 inline void SetDeletionProtection(
bool value) { m_deletionProtectionHasBeenSet =
true; m_deletionProtection = value; }
356 inline void SetGlobalClusterIdentifier(
const char* value) { m_globalClusterIdentifierHasBeenSet =
true; m_globalClusterIdentifier.assign(value); }
377 inline void SetStorageType(
const char* value) { m_storageTypeHasBeenSet =
true; m_storageType.assign(value); }
391 inline void SetSourceRegion(
const char* value) { m_sourceRegionHasBeenSet =
true; m_sourceRegion.assign(value); }
399 bool m_availabilityZonesHasBeenSet =
false;
401 int m_backupRetentionPeriod;
402 bool m_backupRetentionPeriodHasBeenSet =
false;
405 bool m_dBClusterIdentifierHasBeenSet =
false;
408 bool m_dBClusterParameterGroupNameHasBeenSet =
false;
411 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
414 bool m_dBSubnetGroupNameHasBeenSet =
false;
417 bool m_engineHasBeenSet =
false;
420 bool m_engineVersionHasBeenSet =
false;
423 bool m_portHasBeenSet =
false;
426 bool m_masterUsernameHasBeenSet =
false;
429 bool m_masterUserPasswordHasBeenSet =
false;
432 bool m_preferredBackupWindowHasBeenSet =
false;
435 bool m_preferredMaintenanceWindowHasBeenSet =
false;
438 bool m_tagsHasBeenSet =
false;
440 bool m_storageEncrypted;
441 bool m_storageEncryptedHasBeenSet =
false;
444 bool m_kmsKeyIdHasBeenSet =
false;
447 bool m_preSignedUrlHasBeenSet =
false;
450 bool m_enableCloudwatchLogsExportsHasBeenSet =
false;
452 bool m_deletionProtection;
453 bool m_deletionProtectionHasBeenSet =
false;
456 bool m_globalClusterIdentifierHasBeenSet =
false;
459 bool m_storageTypeHasBeenSet =
false;
462 bool m_sourceRegionHasBeenSet =
false;
CreateDBClusterRequest & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
CreateDBClusterRequest & WithPreSignedUrl(Aws::String &&value)
CreateDBClusterRequest & WithMasterUserPassword(const Aws::String &value)
const Aws::String & GetEngineVersion() const
bool DeletionProtectionHasBeenSet() const
void SetEnableCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
const Aws::String & GetMasterUserPassword() const
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateDBClusterRequest & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
void SetSourceRegion(const Aws::String &value)
CreateDBClusterRequest & WithDBClusterIdentifier(const Aws::String &value)
CreateDBClusterRequest & AddAvailabilityZones(const char *value)
CreateDBClusterRequest & WithMasterUserPassword(Aws::String &&value)
int GetBackupRetentionPeriod() const
CreateDBClusterRequest & WithMasterUsername(const Aws::String &value)
bool StorageEncryptedHasBeenSet() const
CreateDBClusterRequest & WithStorageType(Aws::String &&value)
void SetSourceRegion(const char *value)
void SetPreferredBackupWindow(const Aws::String &value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(const char *value)
void SetKmsKeyId(const char *value)
CreateDBClusterRequest & WithDBClusterParameterGroupName(Aws::String &&value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(const Aws::String &value)
const Aws::String & GetGlobalClusterIdentifier() const
void SetMasterUsername(const Aws::String &value)
CreateDBClusterRequest & AddAvailabilityZones(const Aws::String &value)
CreateDBClusterRequest & WithPreSignedUrl(const Aws::String &value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(const char *value)
CreateDBClusterRequest & WithDBClusterIdentifier(Aws::String &&value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetEngine() const
CreateDBClusterRequest & WithDBClusterParameterGroupName(const char *value)
CreateDBClusterRequest & WithPreferredBackupWindow(Aws::String &&value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(Aws::String &&value)
CreateDBClusterRequest & WithMasterUsername(Aws::String &&value)
bool SourceRegionHasBeenSet() const
void SetBackupRetentionPeriod(int value)
void SetEngine(const char *value)
void SetPreSignedUrl(const Aws::String &value)
AWS_DOCDB_API CreateDBClusterRequest()
void SetGlobalClusterIdentifier(Aws::String &&value)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
CreateDBClusterRequest & WithGlobalClusterIdentifier(const char *value)
bool KmsKeyIdHasBeenSet() const
CreateDBClusterRequest & WithGlobalClusterIdentifier(Aws::String &&value)
void SetDBClusterIdentifier(const char *value)
void SetDeletionProtection(bool value)
bool TagsHasBeenSet() const
void SetPreSignedUrl(const char *value)
CreateDBClusterRequest & WithKmsKeyId(const Aws::String &value)
const Aws::String & GetPreferredBackupWindow() const
const Aws::String & GetMasterUsername() const
void SetEngineVersion(const char *value)
CreateDBClusterRequest & WithPreferredBackupWindow(const char *value)
void SetEngineVersion(const Aws::String &value)
CreateDBClusterRequest & WithEngineVersion(const Aws::String &value)
CreateDBClusterRequest & WithEnableCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
CreateDBClusterRequest & WithStorageType(const char *value)
bool StorageTypeHasBeenSet() const
bool EngineHasBeenSet() const
void SetSourceRegion(Aws::String &&value)
bool EngineVersionHasBeenSet() const
CreateDBClusterRequest & WithPort(int value)
void SetTags(Aws::Vector< Tag > &&value)
void SetGlobalClusterIdentifier(const char *value)
CreateDBClusterRequest & WithEngine(Aws::String &&value)
void SetMasterUsername(const char *value)
void SetEngine(Aws::String &&value)
void SetEnableCloudwatchLogsExports(const Aws::Vector< Aws::String > &value)
CreateDBClusterRequest & WithEngine(const char *value)
CreateDBClusterRequest & WithStorageType(const Aws::String &value)
CreateDBClusterRequest & WithDBClusterIdentifier(const char *value)
CreateDBClusterRequest & WithEngine(const Aws::String &value)
CreateDBClusterRequest & WithDBSubnetGroupName(Aws::String &&value)
bool PreferredBackupWindowHasBeenSet() const
void SetEngine(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetPreferredBackupWindow(Aws::String &&value)
CreateDBClusterRequest & WithEngineVersion(const char *value)
void SetStorageType(const char *value)
void SetDBClusterParameterGroupName(Aws::String &&value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(Aws::String &&value)
const Aws::String & GetDBClusterIdentifier() const
void SetTags(const Aws::Vector< Tag > &value)
CreateDBClusterRequest & WithTags(Aws::Vector< Tag > &&value)
void SetGlobalClusterIdentifier(const Aws::String &value)
bool DBClusterParameterGroupNameHasBeenSet() const
CreateDBClusterRequest & WithKmsKeyId(Aws::String &&value)
void SetDBClusterIdentifier(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::Vector< Aws::String > & GetEnableCloudwatchLogsExports() const
bool BackupRetentionPeriodHasBeenSet() const
void SetPreSignedUrl(Aws::String &&value)
bool PreferredMaintenanceWindowHasBeenSet() const
bool EnableCloudwatchLogsExportsHasBeenSet() const
const Aws::String & GetPreferredMaintenanceWindow() const
void SetPreferredMaintenanceWindow(Aws::String &&value)
void SetDBClusterParameterGroupName(const char *value)
void SetDBSubnetGroupName(const Aws::String &value)
bool MasterUsernameHasBeenSet() const
bool MasterUserPasswordHasBeenSet() const
void SetKmsKeyId(Aws::String &&value)
const Aws::String & GetPreSignedUrl() const
AWS_DOCDB_API Aws::String SerializePayload() const override
void SetPreferredMaintenanceWindow(const char *value)
bool GetDeletionProtection() const
CreateDBClusterRequest & WithEngineVersion(Aws::String &&value)
CreateDBClusterRequest & WithDeletionProtection(bool value)
CreateDBClusterRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDBClusterRequest & AddTags(Tag &&value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(const char *value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
bool DBSubnetGroupNameHasBeenSet() const
void SetStorageType(const Aws::String &value)
CreateDBClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
CreateDBClusterRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetMasterUserPassword(const char *value)
CreateDBClusterRequest & WithDBSubnetGroupName(const Aws::String &value)
const Aws::String & GetDBClusterParameterGroupName() const
CreateDBClusterRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetKmsKeyId(const Aws::String &value)
void SetMasterUserPassword(const Aws::String &value)
CreateDBClusterRequest & WithKmsKeyId(const char *value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(const Aws::String &value)
CreateDBClusterRequest & WithDBSubnetGroupName(const char *value)
CreateDBClusterRequest & WithMasterUserPassword(const char *value)
void SetPreferredBackupWindow(const char *value)
void SetDBSubnetGroupName(Aws::String &&value)
void SetDBClusterParameterGroupName(const Aws::String &value)
void SetMasterUserPassword(Aws::String &&value)
bool PreSignedUrlHasBeenSet() const
CreateDBClusterRequest & WithBackupRetentionPeriod(int value)
bool GlobalClusterIdentifierHasBeenSet() const
CreateDBClusterRequest & WithMasterUsername(const char *value)
CreateDBClusterRequest & WithPreSignedUrl(const char *value)
CreateDBClusterRequest & AddAvailabilityZones(Aws::String &&value)
void SetDBSubnetGroupName(const char *value)
CreateDBClusterRequest & WithDBClusterParameterGroupName(const Aws::String &value)
CreateDBClusterRequest & WithSourceRegion(Aws::String &&value)
void SetEngineVersion(Aws::String &&value)
CreateDBClusterRequest & WithSourceRegion(const char *value)
void SetStorageEncrypted(bool value)
CreateDBClusterRequest & AddTags(const Tag &value)
bool AvailabilityZonesHasBeenSet() const
bool DBClusterIdentifierHasBeenSet() const
CreateDBClusterRequest & WithEnableCloudwatchLogsExports(Aws::Vector< Aws::String > &&value)
const Aws::String & GetStorageType() const
void SetDBClusterIdentifier(const Aws::String &value)
bool GetStorageEncrypted() const
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateDBClusterRequest & WithStorageEncrypted(bool value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
const Aws::String & GetSourceRegion() const
CreateDBClusterRequest & WithSourceRegion(const Aws::String &value)
void SetStorageType(Aws::String &&value)
bool PortHasBeenSet() const
CreateDBClusterRequest & WithPreferredBackupWindow(const Aws::String &value)
bool VpcSecurityGroupIdsHasBeenSet() const
const Aws::String & GetDBSubnetGroupName() const
void SetMasterUsername(Aws::String &&value)
CreateDBClusterRequest & WithGlobalClusterIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector