7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/AquaConfigurationStatus.h>
12#include <aws/redshift/model/Tag.h>
64 inline void SetDBName(
const char* value) { m_dBNameHasBeenSet =
true; m_dBName.assign(value); }
86 inline void SetClusterIdentifier(
const char* value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier.assign(value); }
104 inline void SetClusterType(
const char* value) { m_clusterTypeHasBeenSet =
true; m_clusterType.assign(value); }
124 inline void SetNodeType(
const char* value) { m_nodeTypeHasBeenSet =
true; m_nodeType.assign(value); }
147 inline void SetMasterUsername(
const char* value) { m_masterUsernameHasBeenSet =
true; m_masterUsername.assign(value); }
169 inline void SetMasterUserPassword(
const char* value) { m_masterUserPasswordHasBeenSet =
true; m_masterUserPassword.assign(value); }
218 inline void SetClusterSubnetGroupName(
const char* value) { m_clusterSubnetGroupNameHasBeenSet =
true; m_clusterSubnetGroupName.assign(value); }
239 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
282 inline void SetClusterParameterGroupName(
const char* value) { m_clusterParameterGroupNameHasBeenSet =
true; m_clusterParameterGroupName.assign(value); }
331 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
346 inline void SetClusterVersion(
const char* value) { m_clusterVersionHasBeenSet =
true; m_clusterVersion.assign(value); }
363 inline void SetAllowVersionUpgrade(
bool value) { m_allowVersionUpgradeHasBeenSet =
true; m_allowVersionUpgrade = value; }
381 inline void SetNumberOfNodes(
int value) { m_numberOfNodesHasBeenSet =
true; m_numberOfNodes = value; }
391 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
402 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
451 inline void SetElasticIp(
const char* value) { m_elasticIpHasBeenSet =
true; m_elasticIp.assign(value); }
480 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
498 inline void SetEnhancedVpcRouting(
bool value) { m_enhancedVpcRoutingHasBeenSet =
true; m_enhancedVpcRouting = value; }
510 inline void SetAdditionalInfo(
const char* value) { m_additionalInfoHasBeenSet =
true; m_additionalInfo.assign(value); }
547 inline void SetMaintenanceTrackName(
const char* value) { m_maintenanceTrackNameHasBeenSet =
true; m_maintenanceTrackName.assign(value); }
601 inline void SetDefaultIamRoleArn(
const char* value) { m_defaultIamRoleArnHasBeenSet =
true; m_defaultIamRoleArn.assign(value); }
616 inline void SetLoadSampleData(
const char* value) { m_loadSampleDataHasBeenSet =
true; m_loadSampleData.assign(value); }
661 inline void SetIpAddressType(
const char* value) { m_ipAddressTypeHasBeenSet =
true; m_ipAddressType.assign(value); }
674 inline void SetMultiAZ(
bool value) { m_multiAZHasBeenSet =
true; m_multiAZ = value; }
687 inline void SetRedshiftIdcApplicationArn(
const char* value) { m_redshiftIdcApplicationArnHasBeenSet =
true; m_redshiftIdcApplicationArn.assign(value); }
695 bool m_dBNameHasBeenSet =
false;
698 bool m_clusterIdentifierHasBeenSet =
false;
701 bool m_clusterTypeHasBeenSet =
false;
704 bool m_nodeTypeHasBeenSet =
false;
707 bool m_masterUsernameHasBeenSet =
false;
710 bool m_masterUserPasswordHasBeenSet =
false;
713 bool m_clusterSecurityGroupsHasBeenSet =
false;
716 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
719 bool m_clusterSubnetGroupNameHasBeenSet =
false;
722 bool m_availabilityZoneHasBeenSet =
false;
725 bool m_preferredMaintenanceWindowHasBeenSet =
false;
728 bool m_clusterParameterGroupNameHasBeenSet =
false;
730 int m_automatedSnapshotRetentionPeriod;
731 bool m_automatedSnapshotRetentionPeriodHasBeenSet =
false;
733 int m_manualSnapshotRetentionPeriod;
734 bool m_manualSnapshotRetentionPeriodHasBeenSet =
false;
737 bool m_portHasBeenSet =
false;
740 bool m_clusterVersionHasBeenSet =
false;
742 bool m_allowVersionUpgrade;
743 bool m_allowVersionUpgradeHasBeenSet =
false;
746 bool m_numberOfNodesHasBeenSet =
false;
748 bool m_publiclyAccessible;
749 bool m_publiclyAccessibleHasBeenSet =
false;
752 bool m_encryptedHasBeenSet =
false;
755 bool m_hsmClientCertificateIdentifierHasBeenSet =
false;
758 bool m_hsmConfigurationIdentifierHasBeenSet =
false;
761 bool m_elasticIpHasBeenSet =
false;
764 bool m_tagsHasBeenSet =
false;
767 bool m_kmsKeyIdHasBeenSet =
false;
769 bool m_enhancedVpcRouting;
770 bool m_enhancedVpcRoutingHasBeenSet =
false;
773 bool m_additionalInfoHasBeenSet =
false;
776 bool m_iamRolesHasBeenSet =
false;
779 bool m_maintenanceTrackNameHasBeenSet =
false;
782 bool m_snapshotScheduleIdentifierHasBeenSet =
false;
784 bool m_availabilityZoneRelocation;
785 bool m_availabilityZoneRelocationHasBeenSet =
false;
788 bool m_aquaConfigurationStatusHasBeenSet =
false;
791 bool m_defaultIamRoleArnHasBeenSet =
false;
794 bool m_loadSampleDataHasBeenSet =
false;
796 bool m_manageMasterPassword;
797 bool m_manageMasterPasswordHasBeenSet =
false;
800 bool m_masterPasswordSecretKmsKeyIdHasBeenSet =
false;
803 bool m_ipAddressTypeHasBeenSet =
false;
806 bool m_multiAZHasBeenSet =
false;
809 bool m_redshiftIdcApplicationArnHasBeenSet =
false;
CreateClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
CreateClusterRequest & WithMasterUsername(const Aws::String &value)
const Aws::String & GetDefaultIamRoleArn() const
CreateClusterRequest & WithIamRoles(Aws::Vector< Aws::String > &&value)
void SetElasticIp(const char *value)
void SetDefaultIamRoleArn(const char *value)
CreateClusterRequest & WithKmsKeyId(const char *value)
void SetDBName(const char *value)
const Aws::String & GetAdditionalInfo() const
CreateClusterRequest & WithManageMasterPassword(bool value)
void SetClusterIdentifier(const Aws::String &value)
CreateClusterRequest & WithClusterParameterGroupName(const Aws::String &value)
void SetAdditionalInfo(const Aws::String &value)
void SetClusterIdentifier(Aws::String &&value)
const Aws::String & GetElasticIp() const
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetAvailabilityZone() const
CreateClusterRequest & WithAvailabilityZoneRelocation(bool value)
void SetLoadSampleData(Aws::String &&value)
CreateClusterRequest & WithRedshiftIdcApplicationArn(const char *value)
void SetIpAddressType(const Aws::String &value)
CreateClusterRequest & WithClusterIdentifier(const Aws::String &value)
bool GetManageMasterPassword() const
const Aws::Vector< Aws::String > & GetClusterSecurityGroups() const
CreateClusterRequest & WithClusterIdentifier(const char *value)
bool AutomatedSnapshotRetentionPeriodHasBeenSet() const
bool TagsHasBeenSet() const
void SetAdditionalInfo(Aws::String &&value)
CreateClusterRequest & WithClusterSecurityGroups(Aws::Vector< Aws::String > &&value)
CreateClusterRequest & WithClusterVersion(const Aws::String &value)
void SetRedshiftIdcApplicationArn(const char *value)
CreateClusterRequest & WithAquaConfigurationStatus(AquaConfigurationStatus &&value)
bool NumberOfNodesHasBeenSet() const
CreateClusterRequest & WithMasterPasswordSecretKmsKeyId(Aws::String &&value)
void SetHsmClientCertificateIdentifier(const char *value)
const Aws::String & GetLoadSampleData() const
void SetNodeType(const Aws::String &value)
bool MasterUsernameHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
bool IamRolesHasBeenSet() const
void SetClusterVersion(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetIpAddressType(const char *value)
CreateClusterRequest & WithDefaultIamRoleArn(const Aws::String &value)
const Aws::String & GetHsmConfigurationIdentifier() const
CreateClusterRequest & WithHsmConfigurationIdentifier(const Aws::String &value)
CreateClusterRequest & WithNodeType(const char *value)
void SetDefaultIamRoleArn(const Aws::String &value)
CreateClusterRequest & WithKmsKeyId(Aws::String &&value)
CreateClusterRequest & WithDBName(const Aws::String &value)
void SetClusterVersion(Aws::String &&value)
CreateClusterRequest & WithClusterParameterGroupName(const char *value)
CreateClusterRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetClusterType(const Aws::String &value)
void SetNodeType(Aws::String &&value)
CreateClusterRequest & WithDefaultIamRoleArn(Aws::String &&value)
void SetAquaConfigurationStatus(AquaConfigurationStatus &&value)
CreateClusterRequest & WithSnapshotScheduleIdentifier(const Aws::String &value)
bool AvailabilityZoneRelocationHasBeenSet() const
CreateClusterRequest & WithMasterPasswordSecretKmsKeyId(const Aws::String &value)
void SetMaintenanceTrackName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetIamRoles() const
void SetMasterUsername(const char *value)
bool EncryptedHasBeenSet() const
void SetClusterSubnetGroupName(Aws::String &&value)
bool LoadSampleDataHasBeenSet() const
void SetClusterSubnetGroupName(const char *value)
CreateClusterRequest & WithIpAddressType(Aws::String &&value)
bool ClusterParameterGroupNameHasBeenSet() const
CreateClusterRequest & WithClusterParameterGroupName(Aws::String &&value)
CreateClusterRequest & WithNodeType(Aws::String &&value)
void SetAvailabilityZone(const char *value)
bool AllowVersionUpgradeHasBeenSet() const
CreateClusterRequest & WithAvailabilityZone(const Aws::String &value)
const Aws::String & GetClusterType() const
bool GetEncrypted() const
CreateClusterRequest & WithPort(int value)
CreateClusterRequest & WithAquaConfigurationStatus(const AquaConfigurationStatus &value)
CreateClusterRequest & AddIamRoles(Aws::String &&value)
void SetMultiAZ(bool value)
void SetAquaConfigurationStatus(const AquaConfigurationStatus &value)
int GetNumberOfNodes() const
void SetClusterParameterGroupName(Aws::String &&value)
bool GetAllowVersionUpgrade() const
CreateClusterRequest & WithHsmClientCertificateIdentifier(const char *value)
void SetMasterPasswordSecretKmsKeyId(Aws::String &&value)
CreateClusterRequest & WithDBName(const char *value)
CreateClusterRequest & WithMasterUserPassword(const Aws::String &value)
const Aws::String & GetClusterVersion() const
CreateClusterRequest & WithClusterType(const char *value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
bool ClusterSubnetGroupNameHasBeenSet() const
CreateClusterRequest & WithKmsKeyId(const Aws::String &value)
CreateClusterRequest & AddTags(Tag &&value)
bool HsmConfigurationIdentifierHasBeenSet() const
void SetMasterUserPassword(const Aws::String &value)
CreateClusterRequest & WithClusterVersion(Aws::String &&value)
void SetAvailabilityZone(const Aws::String &value)
CreateClusterRequest & WithIpAddressType(const char *value)
CreateClusterRequest & AddClusterSecurityGroups(const Aws::String &value)
CreateClusterRequest & WithAvailabilityZone(Aws::String &&value)
bool DBNameHasBeenSet() const
bool MasterPasswordSecretKmsKeyIdHasBeenSet() const
CreateClusterRequest & WithClusterSubnetGroupName(Aws::String &&value)
const Aws::String & GetNodeType() const
void SetLoadSampleData(const Aws::String &value)
CreateClusterRequest & WithPubliclyAccessible(bool value)
void SetMaintenanceTrackName(const char *value)
CreateClusterRequest & WithElasticIp(Aws::String &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetClusterSecurityGroups(Aws::Vector< Aws::String > &&value)
bool VpcSecurityGroupIdsHasBeenSet() const
CreateClusterRequest & AddVpcSecurityGroupIds(Aws::String &&value)
AWS_REDSHIFT_API CreateClusterRequest()
void SetHsmConfigurationIdentifier(const char *value)
void SetMasterUsername(Aws::String &&value)
CreateClusterRequest & WithAvailabilityZone(const char *value)
CreateClusterRequest & WithSnapshotScheduleIdentifier(const char *value)
CreateClusterRequest & WithManualSnapshotRetentionPeriod(int value)
CreateClusterRequest & WithClusterType(Aws::String &&value)
bool ClusterSecurityGroupsHasBeenSet() const
bool ManualSnapshotRetentionPeriodHasBeenSet() const
void SetIamRoles(Aws::Vector< Aws::String > &&value)
void SetIpAddressType(Aws::String &&value)
void SetEncrypted(bool value)
CreateClusterRequest & WithClusterVersion(const char *value)
bool GetAvailabilityZoneRelocation() const
CreateClusterRequest & AddIamRoles(const Aws::String &value)
CreateClusterRequest & WithHsmClientCertificateIdentifier(const Aws::String &value)
bool NodeTypeHasBeenSet() const
void SetMasterPasswordSecretKmsKeyId(const Aws::String &value)
void SetMasterPasswordSecretKmsKeyId(const char *value)
const Aws::String & GetRedshiftIdcApplicationArn() const
void SetAvailabilityZoneRelocation(bool value)
bool ClusterTypeHasBeenSet() const
CreateClusterRequest & AddClusterSecurityGroups(const char *value)
void SetAvailabilityZone(Aws::String &&value)
void SetClusterSubnetGroupName(const Aws::String &value)
CreateClusterRequest & WithIamRoles(const Aws::Vector< Aws::String > &value)
void SetSnapshotScheduleIdentifier(const Aws::String &value)
CreateClusterRequest & WithIpAddressType(const Aws::String &value)
void SetHsmConfigurationIdentifier(Aws::String &&value)
void SetMasterUsername(const Aws::String &value)
void SetElasticIp(const Aws::String &value)
int GetManualSnapshotRetentionPeriod() const
void SetSnapshotScheduleIdentifier(Aws::String &&value)
void SetAllowVersionUpgrade(bool value)
void SetHsmConfigurationIdentifier(const Aws::String &value)
CreateClusterRequest & WithNodeType(const Aws::String &value)
bool PubliclyAccessibleHasBeenSet() const
void SetPreferredMaintenanceWindow(const Aws::String &value)
bool AquaConfigurationStatusHasBeenSet() const
CreateClusterRequest & AddTags(const Tag &value)
void SetClusterType(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetNodeType(const char *value)
void SetClusterParameterGroupName(const Aws::String &value)
bool DefaultIamRoleArnHasBeenSet() const
void SetAutomatedSnapshotRetentionPeriod(int value)
bool AdditionalInfoHasBeenSet() const
const Aws::String & GetIpAddressType() const
void SetAdditionalInfo(const char *value)
CreateClusterRequest & WithTags(Aws::Vector< Tag > &&value)
bool HsmClientCertificateIdentifierHasBeenSet() const
void SetManageMasterPassword(bool value)
void SetKmsKeyId(Aws::String &&value)
CreateClusterRequest & WithMaintenanceTrackName(const char *value)
CreateClusterRequest & WithTags(const Aws::Vector< Tag > &value)
void SetLoadSampleData(const char *value)
void SetRedshiftIdcApplicationArn(const Aws::String &value)
CreateClusterRequest & WithMultiAZ(bool value)
CreateClusterRequest & WithHsmClientCertificateIdentifier(Aws::String &&value)
CreateClusterRequest & WithClusterSubnetGroupName(const char *value)
bool ManageMasterPasswordHasBeenSet() const
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
bool RedshiftIdcApplicationArnHasBeenSet() const
bool PortHasBeenSet() const
const Aws::String & GetDBName() const
CreateClusterRequest & WithLoadSampleData(const char *value)
bool ElasticIpHasBeenSet() const
CreateClusterRequest & WithMasterUsername(Aws::String &&value)
CreateClusterRequest & WithClusterSubnetGroupName(const Aws::String &value)
CreateClusterRequest & WithMaintenanceTrackName(const Aws::String &value)
const Aws::String & GetMasterUsername() const
void SetClusterIdentifier(const char *value)
void SetHsmClientCertificateIdentifier(Aws::String &&value)
void SetDefaultIamRoleArn(Aws::String &&value)
CreateClusterRequest & WithHsmConfigurationIdentifier(Aws::String &&value)
CreateClusterRequest & WithMasterUserPassword(Aws::String &&value)
CreateClusterRequest & WithAdditionalInfo(const char *value)
const Aws::String & GetClusterIdentifier() const
const Aws::String & GetKmsKeyId() const
CreateClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
CreateClusterRequest & WithMasterUsername(const char *value)
CreateClusterRequest & WithSnapshotScheduleIdentifier(Aws::String &&value)
CreateClusterRequest & WithRedshiftIdcApplicationArn(Aws::String &&value)
bool MasterUserPasswordHasBeenSet() const
const Aws::String & GetSnapshotScheduleIdentifier() const
CreateClusterRequest & WithClusterType(const Aws::String &value)
void SetMasterUserPassword(const char *value)
const AquaConfigurationStatus & GetAquaConfigurationStatus() const
CreateClusterRequest & WithDBName(Aws::String &&value)
void SetElasticIp(Aws::String &&value)
void SetClusterVersion(const char *value)
bool SnapshotScheduleIdentifierHasBeenSet() const
void SetEnhancedVpcRouting(bool value)
CreateClusterRequest & AddIamRoles(const char *value)
bool GetPubliclyAccessible() const
void SetKmsKeyId(const Aws::String &value)
void SetKmsKeyId(const char *value)
CreateClusterRequest & WithLoadSampleData(const Aws::String &value)
int GetAutomatedSnapshotRetentionPeriod() const
CreateClusterRequest & WithMasterUserPassword(const char *value)
bool GetEnhancedVpcRouting() const
bool EnhancedVpcRoutingHasBeenSet() const
void SetRedshiftIdcApplicationArn(Aws::String &&value)
void SetPubliclyAccessible(bool value)
CreateClusterRequest & WithClusterIdentifier(Aws::String &&value)
CreateClusterRequest & AddClusterSecurityGroups(Aws::String &&value)
CreateClusterRequest & WithDefaultIamRoleArn(const char *value)
void SetClusterType(const char *value)
void SetMaintenanceTrackName(const Aws::String &value)
void SetClusterSecurityGroups(const Aws::Vector< Aws::String > &value)
CreateClusterRequest & WithAutomatedSnapshotRetentionPeriod(int value)
CreateClusterRequest & WithClusterSecurityGroups(const Aws::Vector< Aws::String > &value)
void SetPreferredMaintenanceWindow(const char *value)
const Aws::String & GetMasterPasswordSecretKmsKeyId() const
const Aws::String & GetClusterSubnetGroupName() const
bool MaintenanceTrackNameHasBeenSet() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetClusterParameterGroupName() const
CreateClusterRequest & WithNumberOfNodes(int value)
void SetIamRoles(const Aws::Vector< Aws::String > &value)
CreateClusterRequest & WithMasterPasswordSecretKmsKeyId(const char *value)
CreateClusterRequest & AddVpcSecurityGroupIds(const char *value)
CreateClusterRequest & WithHsmConfigurationIdentifier(const char *value)
void SetHsmClientCertificateIdentifier(const Aws::String &value)
CreateClusterRequest & WithAdditionalInfo(const Aws::String &value)
void SetMasterUserPassword(Aws::String &&value)
bool AvailabilityZoneHasBeenSet() const
CreateClusterRequest & WithAllowVersionUpgrade(bool value)
CreateClusterRequest & WithElasticIp(const char *value)
bool ClusterVersionHasBeenSet() const
CreateClusterRequest & WithPreferredMaintenanceWindow(const char *value)
CreateClusterRequest & AddVpcSecurityGroupIds(const Aws::String &value)
CreateClusterRequest & WithElasticIp(const Aws::String &value)
const Aws::String & GetMasterUserPassword() const
void SetDBName(const Aws::String &value)
const Aws::String & GetPreferredMaintenanceWindow() const
bool ClusterIdentifierHasBeenSet() const
void SetManualSnapshotRetentionPeriod(int value)
bool MultiAZHasBeenSet() const
CreateClusterRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateClusterRequest & WithEncrypted(bool value)
void SetNumberOfNodes(int value)
CreateClusterRequest & WithMaintenanceTrackName(Aws::String &&value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
CreateClusterRequest & WithAdditionalInfo(Aws::String &&value)
const Aws::String & GetHsmClientCertificateIdentifier() const
bool IpAddressTypeHasBeenSet() const
void SetDBName(Aws::String &&value)
const Aws::String & GetMaintenanceTrackName() const
CreateClusterRequest & WithEnhancedVpcRouting(bool value)
void SetSnapshotScheduleIdentifier(const char *value)
CreateClusterRequest & WithLoadSampleData(Aws::String &&value)
bool PreferredMaintenanceWindowHasBeenSet() const
void SetClusterParameterGroupName(const char *value)
CreateClusterRequest & WithRedshiftIdcApplicationArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector