AWS SDK for C++  1.9.16
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::Redshift::Model::CopyClusterSnapshotRequest Class Reference

#include <CopyClusterSnapshotRequest.h>

+ Inheritance diagram for Aws::Redshift::Model::CopyClusterSnapshotRequest:

Public Member Functions

 CopyClusterSnapshotRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetSourceSnapshotIdentifier () const
 
bool SourceSnapshotIdentifierHasBeenSet () const
 
void SetSourceSnapshotIdentifier (const Aws::String &value)
 
void SetSourceSnapshotIdentifier (Aws::String &&value)
 
void SetSourceSnapshotIdentifier (const char *value)
 
CopyClusterSnapshotRequestWithSourceSnapshotIdentifier (const Aws::String &value)
 
CopyClusterSnapshotRequestWithSourceSnapshotIdentifier (Aws::String &&value)
 
CopyClusterSnapshotRequestWithSourceSnapshotIdentifier (const char *value)
 
const Aws::StringGetSourceSnapshotClusterIdentifier () const
 
bool SourceSnapshotClusterIdentifierHasBeenSet () const
 
void SetSourceSnapshotClusterIdentifier (const Aws::String &value)
 
void SetSourceSnapshotClusterIdentifier (Aws::String &&value)
 
void SetSourceSnapshotClusterIdentifier (const char *value)
 
CopyClusterSnapshotRequestWithSourceSnapshotClusterIdentifier (const Aws::String &value)
 
CopyClusterSnapshotRequestWithSourceSnapshotClusterIdentifier (Aws::String &&value)
 
CopyClusterSnapshotRequestWithSourceSnapshotClusterIdentifier (const char *value)
 
const Aws::StringGetTargetSnapshotIdentifier () const
 
bool TargetSnapshotIdentifierHasBeenSet () const
 
void SetTargetSnapshotIdentifier (const Aws::String &value)
 
void SetTargetSnapshotIdentifier (Aws::String &&value)
 
void SetTargetSnapshotIdentifier (const char *value)
 
CopyClusterSnapshotRequestWithTargetSnapshotIdentifier (const Aws::String &value)
 
CopyClusterSnapshotRequestWithTargetSnapshotIdentifier (Aws::String &&value)
 
CopyClusterSnapshotRequestWithTargetSnapshotIdentifier (const char *value)
 
int GetManualSnapshotRetentionPeriod () const
 
bool ManualSnapshotRetentionPeriodHasBeenSet () const
 
void SetManualSnapshotRetentionPeriod (int value)
 
CopyClusterSnapshotRequestWithManualSnapshotRetentionPeriod (int value)
 
- Public Member Functions inherited from Aws::Redshift::RedshiftRequest
virtual ~RedshiftRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::Redshift::RedshiftRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

See Also:

AWS API Reference

Definition at line 24 of file CopyClusterSnapshotRequest.h.

Constructor & Destructor Documentation

◆ CopyClusterSnapshotRequest()

Aws::Redshift::Model::CopyClusterSnapshotRequest::CopyClusterSnapshotRequest ( )

Member Function Documentation

◆ DumpBodyToUrl()

void Aws::Redshift::Model::CopyClusterSnapshotRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetManualSnapshotRetentionPeriod()

int Aws::Redshift::Model::CopyClusterSnapshotRequest::GetManualSnapshotRetentionPeriod ( ) const
inline

The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

The value must be either -1 or an integer between 1 and 3,653.

The default value is -1.

Definition at line 258 of file CopyClusterSnapshotRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Redshift::Model::CopyClusterSnapshotRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file CopyClusterSnapshotRequest.h.

◆ GetSourceSnapshotClusterIdentifier()

const Aws::String& Aws::Redshift::Model::CopyClusterSnapshotRequest::GetSourceSnapshotClusterIdentifier ( ) const
inline

The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Constraints:

  • Must be the identifier for a valid cluster.

Definition at line 106 of file CopyClusterSnapshotRequest.h.

◆ GetSourceSnapshotIdentifier()

const Aws::String& Aws::Redshift::Model::CopyClusterSnapshotRequest::GetSourceSnapshotIdentifier ( ) const
inline

The identifier for the source snapshot.

Constraints:

  • Must be the identifier for a valid automated snapshot whose state is available.

Definition at line 47 of file CopyClusterSnapshotRequest.h.

◆ GetTargetSnapshotIdentifier()

const Aws::String& Aws::Redshift::Model::CopyClusterSnapshotRequest::GetTargetSnapshotIdentifier ( ) const
inline

The identifier given to the new manual snapshot.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

  • Must be unique for the AWS account that is making the request.

Definition at line 180 of file CopyClusterSnapshotRequest.h.

◆ ManualSnapshotRetentionPeriodHasBeenSet()

bool Aws::Redshift::Model::CopyClusterSnapshotRequest::ManualSnapshotRetentionPeriodHasBeenSet ( ) const
inline

The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

The value must be either -1 or an integer between 1 and 3,653.

The default value is -1.

Definition at line 265 of file CopyClusterSnapshotRequest.h.

◆ SerializePayload()

Aws::String Aws::Redshift::Model::CopyClusterSnapshotRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetManualSnapshotRetentionPeriod()

void Aws::Redshift::Model::CopyClusterSnapshotRequest::SetManualSnapshotRetentionPeriod ( int  value)
inline

The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

The value must be either -1 or an integer between 1 and 3,653.

The default value is -1.

Definition at line 272 of file CopyClusterSnapshotRequest.h.

◆ SetSourceSnapshotClusterIdentifier() [1/3]

void Aws::Redshift::Model::CopyClusterSnapshotRequest::SetSourceSnapshotClusterIdentifier ( Aws::String &&  value)
inline

The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Constraints:

  • Must be the identifier for a valid cluster.

Definition at line 133 of file CopyClusterSnapshotRequest.h.

◆ SetSourceSnapshotClusterIdentifier() [2/3]

void Aws::Redshift::Model::CopyClusterSnapshotRequest::SetSourceSnapshotClusterIdentifier ( const Aws::String value)
inline

The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Constraints:

  • Must be the identifier for a valid cluster.

Definition at line 124 of file CopyClusterSnapshotRequest.h.

◆ SetSourceSnapshotClusterIdentifier() [3/3]

void Aws::Redshift::Model::CopyClusterSnapshotRequest::SetSourceSnapshotClusterIdentifier ( const char *  value)
inline

The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Constraints:

  • Must be the identifier for a valid cluster.

Definition at line 142 of file CopyClusterSnapshotRequest.h.

◆ SetSourceSnapshotIdentifier() [1/3]

void Aws::Redshift::Model::CopyClusterSnapshotRequest::SetSourceSnapshotIdentifier ( Aws::String &&  value)
inline

The identifier for the source snapshot.

Constraints:

  • Must be the identifier for a valid automated snapshot whose state is available.

Definition at line 68 of file CopyClusterSnapshotRequest.h.

◆ SetSourceSnapshotIdentifier() [2/3]

void Aws::Redshift::Model::CopyClusterSnapshotRequest::SetSourceSnapshotIdentifier ( const Aws::String value)
inline

The identifier for the source snapshot.

Constraints:

  • Must be the identifier for a valid automated snapshot whose state is available.

Definition at line 61 of file CopyClusterSnapshotRequest.h.

◆ SetSourceSnapshotIdentifier() [3/3]

void Aws::Redshift::Model::CopyClusterSnapshotRequest::SetSourceSnapshotIdentifier ( const char *  value)
inline

The identifier for the source snapshot.

Constraints:

  • Must be the identifier for a valid automated snapshot whose state is available.

Definition at line 75 of file CopyClusterSnapshotRequest.h.

◆ SetTargetSnapshotIdentifier() [1/3]

void Aws::Redshift::Model::CopyClusterSnapshotRequest::SetTargetSnapshotIdentifier ( Aws::String &&  value)
inline

The identifier given to the new manual snapshot.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

  • Must be unique for the AWS account that is making the request.

Definition at line 210 of file CopyClusterSnapshotRequest.h.

◆ SetTargetSnapshotIdentifier() [2/3]

void Aws::Redshift::Model::CopyClusterSnapshotRequest::SetTargetSnapshotIdentifier ( const Aws::String value)
inline

The identifier given to the new manual snapshot.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

  • Must be unique for the AWS account that is making the request.

Definition at line 200 of file CopyClusterSnapshotRequest.h.

◆ SetTargetSnapshotIdentifier() [3/3]

void Aws::Redshift::Model::CopyClusterSnapshotRequest::SetTargetSnapshotIdentifier ( const char *  value)
inline

The identifier given to the new manual snapshot.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

  • Must be unique for the AWS account that is making the request.

Definition at line 220 of file CopyClusterSnapshotRequest.h.

◆ SourceSnapshotClusterIdentifierHasBeenSet()

bool Aws::Redshift::Model::CopyClusterSnapshotRequest::SourceSnapshotClusterIdentifierHasBeenSet ( ) const
inline

The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Constraints:

  • Must be the identifier for a valid cluster.

Definition at line 115 of file CopyClusterSnapshotRequest.h.

◆ SourceSnapshotIdentifierHasBeenSet()

bool Aws::Redshift::Model::CopyClusterSnapshotRequest::SourceSnapshotIdentifierHasBeenSet ( ) const
inline

The identifier for the source snapshot.

Constraints:

  • Must be the identifier for a valid automated snapshot whose state is available.

Definition at line 54 of file CopyClusterSnapshotRequest.h.

◆ TargetSnapshotIdentifierHasBeenSet()

bool Aws::Redshift::Model::CopyClusterSnapshotRequest::TargetSnapshotIdentifierHasBeenSet ( ) const
inline

The identifier given to the new manual snapshot.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

  • Must be unique for the AWS account that is making the request.

Definition at line 190 of file CopyClusterSnapshotRequest.h.

◆ WithManualSnapshotRetentionPeriod()

CopyClusterSnapshotRequest& Aws::Redshift::Model::CopyClusterSnapshotRequest::WithManualSnapshotRetentionPeriod ( int  value)
inline

The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

The value must be either -1 or an integer between 1 and 3,653.

The default value is -1.

Definition at line 279 of file CopyClusterSnapshotRequest.h.

◆ WithSourceSnapshotClusterIdentifier() [1/3]

CopyClusterSnapshotRequest& Aws::Redshift::Model::CopyClusterSnapshotRequest::WithSourceSnapshotClusterIdentifier ( Aws::String &&  value)
inline

The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Constraints:

  • Must be the identifier for a valid cluster.

Definition at line 160 of file CopyClusterSnapshotRequest.h.

◆ WithSourceSnapshotClusterIdentifier() [2/3]

CopyClusterSnapshotRequest& Aws::Redshift::Model::CopyClusterSnapshotRequest::WithSourceSnapshotClusterIdentifier ( const Aws::String value)
inline

The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Constraints:

  • Must be the identifier for a valid cluster.

Definition at line 151 of file CopyClusterSnapshotRequest.h.

◆ WithSourceSnapshotClusterIdentifier() [3/3]

CopyClusterSnapshotRequest& Aws::Redshift::Model::CopyClusterSnapshotRequest::WithSourceSnapshotClusterIdentifier ( const char *  value)
inline

The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Constraints:

  • Must be the identifier for a valid cluster.

Definition at line 169 of file CopyClusterSnapshotRequest.h.

◆ WithSourceSnapshotIdentifier() [1/3]

CopyClusterSnapshotRequest& Aws::Redshift::Model::CopyClusterSnapshotRequest::WithSourceSnapshotIdentifier ( Aws::String &&  value)
inline

The identifier for the source snapshot.

Constraints:

  • Must be the identifier for a valid automated snapshot whose state is available.

Definition at line 89 of file CopyClusterSnapshotRequest.h.

◆ WithSourceSnapshotIdentifier() [2/3]

CopyClusterSnapshotRequest& Aws::Redshift::Model::CopyClusterSnapshotRequest::WithSourceSnapshotIdentifier ( const Aws::String value)
inline

The identifier for the source snapshot.

Constraints:

  • Must be the identifier for a valid automated snapshot whose state is available.

Definition at line 82 of file CopyClusterSnapshotRequest.h.

◆ WithSourceSnapshotIdentifier() [3/3]

CopyClusterSnapshotRequest& Aws::Redshift::Model::CopyClusterSnapshotRequest::WithSourceSnapshotIdentifier ( const char *  value)
inline

The identifier for the source snapshot.

Constraints:

  • Must be the identifier for a valid automated snapshot whose state is available.

Definition at line 96 of file CopyClusterSnapshotRequest.h.

◆ WithTargetSnapshotIdentifier() [1/3]

CopyClusterSnapshotRequest& Aws::Redshift::Model::CopyClusterSnapshotRequest::WithTargetSnapshotIdentifier ( Aws::String &&  value)
inline

The identifier given to the new manual snapshot.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

  • Must be unique for the AWS account that is making the request.

Definition at line 240 of file CopyClusterSnapshotRequest.h.

◆ WithTargetSnapshotIdentifier() [2/3]

CopyClusterSnapshotRequest& Aws::Redshift::Model::CopyClusterSnapshotRequest::WithTargetSnapshotIdentifier ( const Aws::String value)
inline

The identifier given to the new manual snapshot.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

  • Must be unique for the AWS account that is making the request.

Definition at line 230 of file CopyClusterSnapshotRequest.h.

◆ WithTargetSnapshotIdentifier() [3/3]

CopyClusterSnapshotRequest& Aws::Redshift::Model::CopyClusterSnapshotRequest::WithTargetSnapshotIdentifier ( const char *  value)
inline

The identifier given to the new manual snapshot.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

  • Must be unique for the AWS account that is making the request.

Definition at line 250 of file CopyClusterSnapshotRequest.h.


The documentation for this class was generated from the following file: