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>
58 inline void SetClusterIdentifier(
const char* value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier.assign(value); }
75 inline void SetSnapshotIdentifier(
const char* value) { m_snapshotIdentifierHasBeenSet =
true; m_snapshotIdentifier.assign(value); }
91 inline void SetSnapshotArn(
const char* value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn.assign(value); }
107 inline void SetSnapshotClusterIdentifier(
const char* value) { m_snapshotClusterIdentifierHasBeenSet =
true; m_snapshotClusterIdentifier.assign(value); }
123 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
137 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
151 inline void SetAllowVersionUpgrade(
bool value) { m_allowVersionUpgradeHasBeenSet =
true; m_allowVersionUpgrade = value; }
165 inline void SetClusterSubnetGroupName(
const char* value) { m_clusterSubnetGroupNameHasBeenSet =
true; m_clusterSubnetGroupName.assign(value); }
177 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
191 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
237 inline void SetElasticIp(
const char* value) { m_elasticIpHasBeenSet =
true; m_elasticIp.assign(value); }
258 inline void SetClusterParameterGroupName(
const char* value) { m_clusterParameterGroupNameHasBeenSet =
true; m_clusterParameterGroupName.assign(value); }
361 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
381 inline void SetNodeType(
const char* value) { m_nodeTypeHasBeenSet =
true; m_nodeType.assign(value); }
399 inline void SetEnhancedVpcRouting(
bool value) { m_enhancedVpcRoutingHasBeenSet =
true; m_enhancedVpcRouting = value; }
411 inline void SetAdditionalInfo(
const char* value) { m_additionalInfoHasBeenSet =
true; m_additionalInfo.assign(value); }
452 inline void SetMaintenanceTrackName(
const char* value) { m_maintenanceTrackNameHasBeenSet =
true; m_maintenanceTrackName.assign(value); }
478 inline void SetNumberOfNodes(
int value) { m_numberOfNodesHasBeenSet =
true; m_numberOfNodes = value; }
517 inline void SetDefaultIamRoleArn(
const char* value) { m_defaultIamRoleArnHasBeenSet =
true; m_defaultIamRoleArn.assign(value); }
531 inline void SetReservedNodeId(
const char* value) { m_reservedNodeIdHasBeenSet =
true; m_reservedNodeId.assign(value); }
558 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
600 inline void SetIpAddressType(
const char* value) { m_ipAddressTypeHasBeenSet =
true; m_ipAddressType.assign(value); }
613 inline void SetMultiAZ(
bool value) { m_multiAZHasBeenSet =
true; m_multiAZ = value; }
619 bool m_clusterIdentifierHasBeenSet =
false;
622 bool m_snapshotIdentifierHasBeenSet =
false;
625 bool m_snapshotArnHasBeenSet =
false;
628 bool m_snapshotClusterIdentifierHasBeenSet =
false;
631 bool m_portHasBeenSet =
false;
634 bool m_availabilityZoneHasBeenSet =
false;
636 bool m_allowVersionUpgrade;
637 bool m_allowVersionUpgradeHasBeenSet =
false;
640 bool m_clusterSubnetGroupNameHasBeenSet =
false;
642 bool m_publiclyAccessible;
643 bool m_publiclyAccessibleHasBeenSet =
false;
646 bool m_ownerAccountHasBeenSet =
false;
649 bool m_hsmClientCertificateIdentifierHasBeenSet =
false;
652 bool m_hsmConfigurationIdentifierHasBeenSet =
false;
655 bool m_elasticIpHasBeenSet =
false;
658 bool m_clusterParameterGroupNameHasBeenSet =
false;
661 bool m_clusterSecurityGroupsHasBeenSet =
false;
664 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
667 bool m_preferredMaintenanceWindowHasBeenSet =
false;
669 int m_automatedSnapshotRetentionPeriod;
670 bool m_automatedSnapshotRetentionPeriodHasBeenSet =
false;
672 int m_manualSnapshotRetentionPeriod;
673 bool m_manualSnapshotRetentionPeriodHasBeenSet =
false;
676 bool m_kmsKeyIdHasBeenSet =
false;
679 bool m_nodeTypeHasBeenSet =
false;
681 bool m_enhancedVpcRouting;
682 bool m_enhancedVpcRoutingHasBeenSet =
false;
685 bool m_additionalInfoHasBeenSet =
false;
688 bool m_iamRolesHasBeenSet =
false;
691 bool m_maintenanceTrackNameHasBeenSet =
false;
694 bool m_snapshotScheduleIdentifierHasBeenSet =
false;
697 bool m_numberOfNodesHasBeenSet =
false;
699 bool m_availabilityZoneRelocation;
700 bool m_availabilityZoneRelocationHasBeenSet =
false;
703 bool m_aquaConfigurationStatusHasBeenSet =
false;
706 bool m_defaultIamRoleArnHasBeenSet =
false;
709 bool m_reservedNodeIdHasBeenSet =
false;
712 bool m_targetReservedNodeOfferingIdHasBeenSet =
false;
715 bool m_encryptedHasBeenSet =
false;
717 bool m_manageMasterPassword;
718 bool m_manageMasterPasswordHasBeenSet =
false;
721 bool m_masterPasswordSecretKmsKeyIdHasBeenSet =
false;
724 bool m_ipAddressTypeHasBeenSet =
false;
727 bool m_multiAZHasBeenSet =
false;
RestoreFromClusterSnapshotRequest & WithHsmConfigurationIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithNodeType(Aws::String &&value)
bool EncryptedHasBeenSet() const
const Aws::String & GetClusterIdentifier() const
const Aws::String & GetHsmConfigurationIdentifier() const
virtual const char * GetServiceRequestName() const override
void SetClusterSecurityGroups(const Aws::Vector< Aws::String > &value)
const Aws::String & GetAvailabilityZone() const
bool ClusterIdentifierHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithNodeType(const char *value)
bool AutomatedSnapshotRetentionPeriodHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithTargetReservedNodeOfferingId(Aws::String &&value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetIpAddressType(const Aws::String &value)
bool SnapshotIdentifierHasBeenSet() const
void SetMaintenanceTrackName(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithAdditionalInfo(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithIpAddressType(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithSnapshotArn(const char *value)
void SetSnapshotClusterIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithIamRoles(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & WithAquaConfigurationStatus(AquaConfigurationStatus &&value)
void SetSnapshotIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZoneRelocation(bool value)
bool VpcSecurityGroupIdsHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithReservedNodeId(const char *value)
RestoreFromClusterSnapshotRequest & WithClusterParameterGroupName(const char *value)
void SetSnapshotIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZone(const char *value)
void SetSnapshotArn(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithAdditionalInfo(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithAllowVersionUpgrade(bool value)
RestoreFromClusterSnapshotRequest & WithPreferredMaintenanceWindow(const char *value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetNodeType() const
bool OwnerAccountHasBeenSet() const
bool SnapshotArnHasBeenSet() const
void SetClusterParameterGroupName(const char *value)
bool IpAddressTypeHasBeenSet() const
bool MasterPasswordSecretKmsKeyIdHasBeenSet() const
void SetIamRoles(Aws::Vector< Aws::String > &&value)
RestoreFromClusterSnapshotRequest & WithHsmClientCertificateIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithKmsKeyId(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZone(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithMultiAZ(bool value)
const Aws::Vector< Aws::String > & GetClusterSecurityGroups() const
RestoreFromClusterSnapshotRequest & AddVpcSecurityGroupIds(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithClusterParameterGroupName(Aws::String &&value)
void SetMultiAZ(bool value)
bool ManualSnapshotRetentionPeriodHasBeenSet() const
const Aws::String & GetIpAddressType() const
bool ClusterParameterGroupNameHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithTargetReservedNodeOfferingId(const Aws::String &value)
const Aws::String & GetKmsKeyId() const
RestoreFromClusterSnapshotRequest & WithMasterPasswordSecretKmsKeyId(const char *value)
RestoreFromClusterSnapshotRequest & WithHsmClientCertificateIdentifier(const char *value)
bool AvailabilityZoneHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithElasticIp(Aws::String &&value)
void SetReservedNodeId(Aws::String &&value)
void SetNodeType(const char *value)
const Aws::String & GetSnapshotScheduleIdentifier() const
bool AllowVersionUpgradeHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithKmsKeyId(Aws::String &&value)
void SetClusterSubnetGroupName(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithClusterIdentifier(const char *value)
void SetIpAddressType(const char *value)
void SetHsmConfigurationIdentifier(const char *value)
const Aws::String & GetMaintenanceTrackName() const
void SetPreferredMaintenanceWindow(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithAdditionalInfo(const char *value)
void SetClusterIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithElasticIp(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotClusterIdentifier(const Aws::String &value)
const Aws::String & GetAdditionalInfo() const
RestoreFromClusterSnapshotRequest & WithSnapshotIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & AddVpcSecurityGroupIds(Aws::String &&value)
void SetSnapshotScheduleIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithMasterPasswordSecretKmsKeyId(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithClusterSecurityGroups(Aws::Vector< Aws::String > &&value)
RestoreFromClusterSnapshotRequest & WithMasterPasswordSecretKmsKeyId(Aws::String &&value)
AWS_REDSHIFT_API RestoreFromClusterSnapshotRequest()
void SetSnapshotArn(const Aws::String &value)
void SetClusterIdentifier(const Aws::String &value)
bool GetAllowVersionUpgrade() const
RestoreFromClusterSnapshotRequest & AddVpcSecurityGroupIds(const char *value)
void SetOwnerAccount(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithClusterParameterGroupName(const Aws::String &value)
void SetAllowVersionUpgrade(bool value)
bool PreferredMaintenanceWindowHasBeenSet() const
bool ClusterSecurityGroupsHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithDefaultIamRoleArn(const char *value)
const Aws::String & GetSnapshotClusterIdentifier() const
void SetClusterIdentifier(Aws::String &&value)
void SetAvailabilityZone(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithPort(int value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RestoreFromClusterSnapshotRequest & WithIpAddressType(const Aws::String &value)
const Aws::String & GetMasterPasswordSecretKmsKeyId() const
RestoreFromClusterSnapshotRequest & AddIamRoles(const char *value)
void SetAvailabilityZone(const char *value)
RestoreFromClusterSnapshotRequest & WithMaintenanceTrackName(const char *value)
const AquaConfigurationStatus & GetAquaConfigurationStatus() const
void SetNodeType(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithIpAddressType(const char *value)
RestoreFromClusterSnapshotRequest & WithOwnerAccount(const char *value)
bool DefaultIamRoleArnHasBeenSet() const
void SetNodeType(Aws::String &&value)
void SetElasticIp(const char *value)
void SetTargetReservedNodeOfferingId(Aws::String &&value)
const Aws::String & GetClusterParameterGroupName() const
void SetDefaultIamRoleArn(Aws::String &&value)
void SetKmsKeyId(const char *value)
RestoreFromClusterSnapshotRequest & WithHsmClientCertificateIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotScheduleIdentifier(Aws::String &&value)
void SetTargetReservedNodeOfferingId(const Aws::String &value)
bool IamRolesHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithEnhancedVpcRouting(bool value)
bool PubliclyAccessibleHasBeenSet() const
bool EnhancedVpcRoutingHasBeenSet() const
bool GetEncrypted() const
void SetClusterSubnetGroupName(const Aws::String &value)
void SetSnapshotArn(const char *value)
void SetMasterPasswordSecretKmsKeyId(const char *value)
bool HsmConfigurationIdentifierHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithNumberOfNodes(int value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
bool GetPubliclyAccessible() const
RestoreFromClusterSnapshotRequest & WithClusterIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithElasticIp(const char *value)
RestoreFromClusterSnapshotRequest & WithReservedNodeId(const Aws::String &value)
RestoreFromClusterSnapshotRequest & AddClusterSecurityGroups(Aws::String &&value)
void SetOwnerAccount(const char *value)
bool GetEnhancedVpcRouting() const
bool GetAvailabilityZoneRelocation() const
const Aws::String & GetHsmClientCertificateIdentifier() const
RestoreFromClusterSnapshotRequest & WithDefaultIamRoleArn(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithAquaConfigurationStatus(const AquaConfigurationStatus &value)
RestoreFromClusterSnapshotRequest & WithAvailabilityZone(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithOwnerAccount(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
void SetPubliclyAccessible(bool value)
bool MaintenanceTrackNameHasBeenSet() const
void SetSnapshotScheduleIdentifier(const Aws::String &value)
void SetDefaultIamRoleArn(const char *value)
RestoreFromClusterSnapshotRequest & WithSnapshotIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithSnapshotClusterIdentifier(const char *value)
void SetKmsKeyId(Aws::String &&value)
const Aws::String & GetSnapshotIdentifier() const
RestoreFromClusterSnapshotRequest & WithClusterIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithEncrypted(bool value)
bool KmsKeyIdHasBeenSet() const
int GetManualSnapshotRetentionPeriod() const
void SetPreferredMaintenanceWindow(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithKmsKeyId(const char *value)
RestoreFromClusterSnapshotRequest & WithReservedNodeId(Aws::String &&value)
void SetOwnerAccount(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetSnapshotArn() const
void SetHsmConfigurationIdentifier(const Aws::String &value)
void SetMaintenanceTrackName(const Aws::String &value)
RestoreFromClusterSnapshotRequest & AddClusterSecurityGroups(const char *value)
void SetElasticIp(Aws::String &&value)
void SetMasterPasswordSecretKmsKeyId(const Aws::String &value)
bool ManageMasterPasswordHasBeenSet() const
void SetAvailabilityZoneRelocation(bool value)
RestoreFromClusterSnapshotRequest & WithSnapshotIdentifier(Aws::String &&value)
RestoreFromClusterSnapshotRequest & AddIamRoles(Aws::String &&value)
void SetMaintenanceTrackName(const char *value)
void SetIpAddressType(Aws::String &&value)
void SetSnapshotClusterIdentifier(const Aws::String &value)
bool AvailabilityZoneRelocationHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithManualSnapshotRetentionPeriod(int value)
RestoreFromClusterSnapshotRequest & WithManageMasterPassword(bool value)
RestoreFromClusterSnapshotRequest & WithClusterSubnetGroupName(Aws::String &&value)
void SetClusterSecurityGroups(Aws::Vector< Aws::String > &&value)
bool ReservedNodeIdHasBeenSet() const
AWS_REDSHIFT_API Aws::String SerializePayload() const override
RestoreFromClusterSnapshotRequest & WithHsmConfigurationIdentifier(const char *value)
RestoreFromClusterSnapshotRequest & WithClusterSubnetGroupName(const char *value)
void SetClusterParameterGroupName(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & WithDefaultIamRoleArn(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithAutomatedSnapshotRetentionPeriod(int value)
void SetAdditionalInfo(const Aws::String &value)
void SetAquaConfigurationStatus(const AquaConfigurationStatus &value)
bool ClusterSubnetGroupNameHasBeenSet() const
void SetSnapshotScheduleIdentifier(const char *value)
const Aws::String & GetDefaultIamRoleArn() const
void SetMasterPasswordSecretKmsKeyId(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithPubliclyAccessible(bool value)
void SetPreferredMaintenanceWindow(const char *value)
void SetDefaultIamRoleArn(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithNodeType(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotArn(const Aws::String &value)
void SetManageMasterPassword(bool value)
void SetNumberOfNodes(int value)
RestoreFromClusterSnapshotRequest & AddIamRoles(const Aws::String &value)
bool AquaConfigurationStatusHasBeenSet() const
void SetReservedNodeId(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotArn(Aws::String &&value)
int GetNumberOfNodes() const
RestoreFromClusterSnapshotRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
bool SnapshotClusterIdentifierHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithTargetReservedNodeOfferingId(const char *value)
RestoreFromClusterSnapshotRequest & AddClusterSecurityGroups(const Aws::String &value)
void SetAutomatedSnapshotRetentionPeriod(int value)
RestoreFromClusterSnapshotRequest & WithClusterSubnetGroupName(const Aws::String &value)
const Aws::String & GetClusterSubnetGroupName() const
void SetReservedNodeId(const char *value)
void SetAquaConfigurationStatus(AquaConfigurationStatus &&value)
void SetClusterSubnetGroupName(const char *value)
void SetManualSnapshotRetentionPeriod(int value)
void SetIamRoles(const Aws::Vector< Aws::String > &value)
bool TargetReservedNodeOfferingIdHasBeenSet() const
void SetTargetReservedNodeOfferingId(const char *value)
const Aws::String & GetPreferredMaintenanceWindow() const
const Aws::String & GetOwnerAccount() const
bool MultiAZHasBeenSet() const
void SetAvailabilityZone(Aws::String &&value)
bool SnapshotScheduleIdentifierHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithClusterSecurityGroups(const Aws::Vector< Aws::String > &value)
RestoreFromClusterSnapshotRequest & WithMaintenanceTrackName(Aws::String &&value)
void SetHsmClientCertificateIdentifier(const char *value)
void SetHsmConfigurationIdentifier(Aws::String &&value)
bool NumberOfNodesHasBeenSet() const
bool AdditionalInfoHasBeenSet() const
RestoreFromClusterSnapshotRequest & WithOwnerAccount(Aws::String &&value)
const Aws::String & GetReservedNodeId() const
RestoreFromClusterSnapshotRequest & WithHsmConfigurationIdentifier(Aws::String &&value)
bool GetManageMasterPassword() const
void SetClusterParameterGroupName(Aws::String &&value)
void SetElasticIp(const Aws::String &value)
bool ElasticIpHasBeenSet() const
void SetSnapshotClusterIdentifier(Aws::String &&value)
void SetHsmClientCertificateIdentifier(Aws::String &&value)
int GetAutomatedSnapshotRetentionPeriod() const
bool HsmClientCertificateIdentifierHasBeenSet() const
const Aws::String & GetTargetReservedNodeOfferingId() const
void SetAdditionalInfo(Aws::String &&value)
RestoreFromClusterSnapshotRequest & WithSnapshotScheduleIdentifier(const Aws::String &value)
void SetAdditionalInfo(const char *value)
bool PortHasBeenSet() const
void SetSnapshotIdentifier(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotClusterIdentifier(Aws::String &&value)
const Aws::String & GetElasticIp() const
const Aws::Vector< Aws::String > & GetIamRoles() const
RestoreFromClusterSnapshotRequest & WithIamRoles(Aws::Vector< Aws::String > &&value)
bool NodeTypeHasBeenSet() const
void SetEnhancedVpcRouting(bool value)
void SetEncrypted(bool value)
RestoreFromClusterSnapshotRequest & WithMaintenanceTrackName(const Aws::String &value)
RestoreFromClusterSnapshotRequest & WithSnapshotScheduleIdentifier(const char *value)
void SetHsmClientCertificateIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector