7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/neptune/model/ServerlessV2ScalingConfiguration.h>
12#include <aws/neptune/model/Tag.h>
49 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
50 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet =
true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
51 template<
typename AvailabilityZonesT = Aws::Vector<Aws::String>>
53 template<
typename AvailabilityZonesT = Aws::String>
75 template<
typename CharacterSetNameT = Aws::String>
76 void SetCharacterSetName(CharacterSetNameT&& value) { m_characterSetNameHasBeenSet =
true; m_characterSetName = std::forward<CharacterSetNameT>(value); }
77 template<
typename CharacterSetNameT = Aws::String>
88 inline void SetCopyTagsToSnapshot(
bool value) { m_copyTagsToSnapshotHasBeenSet =
true; m_copyTagsToSnapshot = value; }
100 template<
typename DatabaseNameT = Aws::String>
101 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
102 template<
typename DatabaseNameT = Aws::String>
116 template<
typename DBClusterIdentifierT = Aws::String>
117 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet =
true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
118 template<
typename DBClusterIdentifierT = Aws::String>
131 template<
typename DBClusterParameterGroupNameT = Aws::String>
132 void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT&& value) { m_dBClusterParameterGroupNameHasBeenSet =
true; m_dBClusterParameterGroupName = std::forward<DBClusterParameterGroupNameT>(value); }
133 template<
typename DBClusterParameterGroupNameT = Aws::String>
143 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
144 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
145 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
147 template<
typename VpcSecurityGroupIdsT = Aws::String>
159 template<
typename DBSubnetGroupNameT = Aws::String>
160 void SetDBSubnetGroupName(DBSubnetGroupNameT&& value) { m_dBSubnetGroupNameHasBeenSet =
true; m_dBSubnetGroupName = std::forward<DBSubnetGroupNameT>(value); }
161 template<
typename DBSubnetGroupNameT = Aws::String>
172 template<
typename EngineT = Aws::String>
173 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
174 template<
typename EngineT = Aws::String>
185 template<
typename EngineVersionT = Aws::String>
186 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
187 template<
typename EngineVersionT = Aws::String>
198 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
208 template<
typename MasterUsernameT = Aws::String>
209 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet =
true; m_masterUsername = std::forward<MasterUsernameT>(value); }
210 template<
typename MasterUsernameT = Aws::String>
220 template<
typename MasterUserPasswordT = Aws::String>
221 void SetMasterUserPassword(MasterUserPasswordT&& value) { m_masterUserPasswordHasBeenSet =
true; m_masterUserPassword = std::forward<MasterUserPasswordT>(value); }
222 template<
typename MasterUserPasswordT = Aws::String>
232 template<
typename OptionGroupNameT = Aws::String>
233 void SetOptionGroupName(OptionGroupNameT&& value) { m_optionGroupNameHasBeenSet =
true; m_optionGroupName = std::forward<OptionGroupNameT>(value); }
234 template<
typename OptionGroupNameT = Aws::String>
253 template<
typename PreferredBackupWindowT = Aws::String>
254 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) { m_preferredBackupWindowHasBeenSet =
true; m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value); }
255 template<
typename PreferredBackupWindowT = Aws::String>
273 template<
typename PreferredMa
intenanceWindowT = Aws::String>
274 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet =
true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
275 template<
typename PreferredMa
intenanceWindowT = Aws::String>
286 template<
typename ReplicationSourceIdentifierT = Aws::String>
287 void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT&& value) { m_replicationSourceIdentifierHasBeenSet =
true; m_replicationSourceIdentifier = std::forward<ReplicationSourceIdentifierT>(value); }
288 template<
typename ReplicationSourceIdentifierT = Aws::String>
298 template<
typename TagsT = Aws::Vector<Tag>>
299 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
300 template<
typename TagsT = Aws::Vector<Tag>>
302 template<
typename TagsT = Tag>
312 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
338 template<
typename KmsKeyIdT = Aws::String>
339 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
340 template<
typename KmsKeyIdT = Aws::String>
350 template<
typename PreSignedUrlT = Aws::String>
351 void SetPreSignedUrl(PreSignedUrlT&& value) { m_preSignedUrlHasBeenSet =
true; m_preSignedUrl = std::forward<PreSignedUrlT>(value); }
352 template<
typename PreSignedUrlT = Aws::String>
378 template<
typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
379 void SetEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT&& value) { m_enableCloudwatchLogsExportsHasBeenSet =
true; m_enableCloudwatchLogsExports = std::forward<EnableCloudwatchLogsExportsT>(value); }
380 template<
typename EnableCloudwatchLogsExportsT = Aws::Vector<Aws::String>>
382 template<
typename EnableCloudwatchLogsExportsT = Aws::String>
394 inline void SetDeletionProtection(
bool value) { m_deletionProtectionHasBeenSet =
true; m_deletionProtection = value; }
407 template<
typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
408 void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT&& value) { m_serverlessV2ScalingConfigurationHasBeenSet =
true; m_serverlessV2ScalingConfiguration = std::forward<ServerlessV2ScalingConfigurationT>(value); }
409 template<
typename ServerlessV2ScalingConfigurationT = ServerlessV2ScalingConfiguration>
420 template<
typename GlobalClusterIdentifierT = Aws::String>
421 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) { m_globalClusterIdentifierHasBeenSet =
true; m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value); }
422 template<
typename GlobalClusterIdentifierT = Aws::String>
441 template<
typename StorageTypeT = Aws::String>
442 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet =
true; m_storageType = std::forward<StorageTypeT>(value); }
443 template<
typename StorageTypeT = Aws::String>
453 template<
typename SourceRegionT = Aws::String>
454 void SetSourceRegion(SourceRegionT&& value) { m_sourceRegionHasBeenSet =
true; m_sourceRegion = std::forward<SourceRegionT>(value); }
455 template<
typename SourceRegionT = Aws::String>
461 bool m_availabilityZonesHasBeenSet =
false;
463 int m_backupRetentionPeriod{0};
464 bool m_backupRetentionPeriodHasBeenSet =
false;
467 bool m_characterSetNameHasBeenSet =
false;
469 bool m_copyTagsToSnapshot{
false};
470 bool m_copyTagsToSnapshotHasBeenSet =
false;
473 bool m_databaseNameHasBeenSet =
false;
476 bool m_dBClusterIdentifierHasBeenSet =
false;
479 bool m_dBClusterParameterGroupNameHasBeenSet =
false;
482 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
485 bool m_dBSubnetGroupNameHasBeenSet =
false;
488 bool m_engineHasBeenSet =
false;
491 bool m_engineVersionHasBeenSet =
false;
494 bool m_portHasBeenSet =
false;
497 bool m_masterUsernameHasBeenSet =
false;
500 bool m_masterUserPasswordHasBeenSet =
false;
503 bool m_optionGroupNameHasBeenSet =
false;
506 bool m_preferredBackupWindowHasBeenSet =
false;
509 bool m_preferredMaintenanceWindowHasBeenSet =
false;
512 bool m_replicationSourceIdentifierHasBeenSet =
false;
515 bool m_tagsHasBeenSet =
false;
517 bool m_storageEncrypted{
false};
518 bool m_storageEncryptedHasBeenSet =
false;
521 bool m_kmsKeyIdHasBeenSet =
false;
524 bool m_preSignedUrlHasBeenSet =
false;
526 bool m_enableIAMDatabaseAuthentication{
false};
527 bool m_enableIAMDatabaseAuthenticationHasBeenSet =
false;
530 bool m_enableCloudwatchLogsExportsHasBeenSet =
false;
532 bool m_deletionProtection{
false};
533 bool m_deletionProtectionHasBeenSet =
false;
535 ServerlessV2ScalingConfiguration m_serverlessV2ScalingConfiguration;
536 bool m_serverlessV2ScalingConfigurationHasBeenSet =
false;
539 bool m_globalClusterIdentifierHasBeenSet =
false;
542 bool m_storageTypeHasBeenSet =
false;
545 bool m_sourceRegionHasBeenSet =
false;
bool ReplicationSourceIdentifierHasBeenSet() const
const Aws::String & GetPreferredMaintenanceWindow() const
CreateDBClusterRequest & WithEngine(EngineT &&value)
const Aws::String & GetReplicationSourceIdentifier() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
bool GetEnableIAMDatabaseAuthentication() const
const Aws::String & GetSourceRegion() const
void SetCopyTagsToSnapshot(bool value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
CreateDBClusterRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreateDBClusterRequest & WithEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
CreateDBClusterRequest & AddAvailabilityZones(AvailabilityZonesT &&value)
CreateDBClusterRequest & WithStorageType(StorageTypeT &&value)
bool AvailabilityZonesHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::Vector< Aws::String > & GetEnableCloudwatchLogsExports() const
bool EnableIAMDatabaseAuthenticationHasBeenSet() const
const Aws::String & GetDatabaseName() const
const Aws::String & GetMasterUserPassword() const
bool TagsHasBeenSet() const
bool DBClusterIdentifierHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool EnableCloudwatchLogsExportsHasBeenSet() const
bool PreferredMaintenanceWindowHasBeenSet() const
void SetBackupRetentionPeriod(int value)
CreateDBClusterRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
void SetAvailabilityZones(AvailabilityZonesT &&value)
CreateDBClusterRequest & WithCopyTagsToSnapshot(bool value)
const Aws::String & GetEngineVersion() const
void SetCharacterSetName(CharacterSetNameT &&value)
bool GetStorageEncrypted() const
AWS_NEPTUNE_API CreateDBClusterRequest()=default
void SetStorageEncrypted(bool value)
CreateDBClusterRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
const Aws::String & GetDBClusterParameterGroupName() const
CreateDBClusterRequest & WithBackupRetentionPeriod(int value)
CreateDBClusterRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const Aws::String & GetDBSubnetGroupName() const
void SetPreSignedUrl(PreSignedUrlT &&value)
CreateDBClusterRequest & WithMasterUserPassword(MasterUserPasswordT &&value)
CreateDBClusterRequest & WithReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
bool OptionGroupNameHasBeenSet() const
bool BackupRetentionPeriodHasBeenSet() const
const Aws::String & GetOptionGroupName() const
CreateDBClusterRequest & WithTags(TagsT &&value)
void SetEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
const ServerlessV2ScalingConfiguration & GetServerlessV2ScalingConfiguration() const
CreateDBClusterRequest & WithMasterUsername(MasterUsernameT &&value)
int GetBackupRetentionPeriod() const
void SetTags(TagsT &&value)
const Aws::String & GetPreferredBackupWindow() const
bool PreferredBackupWindowHasBeenSet() const
bool StorageEncryptedHasBeenSet() const
CreateDBClusterRequest & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
bool EngineHasBeenSet() const
CreateDBClusterRequest & WithEngineVersion(EngineVersionT &&value)
bool ServerlessV2ScalingConfigurationHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
CreateDBClusterRequest & AddTags(TagsT &&value)
void SetReplicationSourceIdentifier(ReplicationSourceIdentifierT &&value)
void SetDeletionProtection(bool value)
const Aws::String & GetGlobalClusterIdentifier() const
void SetSourceRegion(SourceRegionT &&value)
void SetServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetDBClusterIdentifier() const
CreateDBClusterRequest & WithDBSubnetGroupName(DBSubnetGroupNameT &&value)
bool GetDeletionProtection() const
CreateDBClusterRequest & WithEnableIAMDatabaseAuthentication(bool value)
const Aws::String & GetEngine() const
CreateDBClusterRequest & WithOptionGroupName(OptionGroupNameT &&value)
bool DBSubnetGroupNameHasBeenSet() const
bool VpcSecurityGroupIdsHasBeenSet() const
bool MasterUserPasswordHasBeenSet() const
void SetDBSubnetGroupName(DBSubnetGroupNameT &&value)
const Aws::String & GetCharacterSetName() const
bool EngineVersionHasBeenSet() const
CreateDBClusterRequest & WithCharacterSetName(CharacterSetNameT &&value)
const Aws::String & GetStorageType() const
CreateDBClusterRequest & WithDeletionProtection(bool value)
CreateDBClusterRequest & WithSourceRegion(SourceRegionT &&value)
bool MasterUsernameHasBeenSet() const
bool StorageTypeHasBeenSet() const
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetMasterUserPassword(MasterUserPasswordT &&value)
CreateDBClusterRequest & WithAvailabilityZones(AvailabilityZonesT &&value)
bool GlobalClusterIdentifierHasBeenSet() const
const Aws::String & GetPreSignedUrl() const
const Aws::String & GetMasterUsername() const
void SetDatabaseName(DatabaseNameT &&value)
bool SourceRegionHasBeenSet() const
bool CharacterSetNameHasBeenSet() const
bool DeletionProtectionHasBeenSet() const
bool CopyTagsToSnapshotHasBeenSet() const
CreateDBClusterRequest & WithStorageEncrypted(bool value)
void SetMasterUsername(MasterUsernameT &&value)
CreateDBClusterRequest & WithPreSignedUrl(PreSignedUrlT &&value)
const Aws::String & GetKmsKeyId() const
void SetEngine(EngineT &&value)
bool DBClusterParameterGroupNameHasBeenSet() const
bool PreSignedUrlHasBeenSet() const
CreateDBClusterRequest & WithKmsKeyId(KmsKeyIdT &&value)
CreateDBClusterRequest & WithServerlessV2ScalingConfiguration(ServerlessV2ScalingConfigurationT &&value)
void SetOptionGroupName(OptionGroupNameT &&value)
bool PortHasBeenSet() const
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
CreateDBClusterRequest & AddEnableCloudwatchLogsExports(EnableCloudwatchLogsExportsT &&value)
CreateDBClusterRequest & WithDatabaseName(DatabaseNameT &&value)
void SetDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
void SetEngineVersion(EngineVersionT &&value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
void SetEnableIAMDatabaseAuthentication(bool value)
bool GetCopyTagsToSnapshot() const
CreateDBClusterRequest & WithPort(int value)
bool DatabaseNameHasBeenSet() const
CreateDBClusterRequest & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
CreateDBClusterRequest & WithDBClusterParameterGroupName(DBClusterParameterGroupNameT &&value)
void SetStorageType(StorageTypeT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector