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

#include <CreateClusterSnapshotRequest.h>

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

Public Member Functions

 CreateClusterSnapshotRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetSnapshotIdentifier () const
 
bool SnapshotIdentifierHasBeenSet () const
 
void SetSnapshotIdentifier (const Aws::String &value)
 
void SetSnapshotIdentifier (Aws::String &&value)
 
void SetSnapshotIdentifier (const char *value)
 
CreateClusterSnapshotRequestWithSnapshotIdentifier (const Aws::String &value)
 
CreateClusterSnapshotRequestWithSnapshotIdentifier (Aws::String &&value)
 
CreateClusterSnapshotRequestWithSnapshotIdentifier (const char *value)
 
const Aws::StringGetClusterIdentifier () const
 
bool ClusterIdentifierHasBeenSet () const
 
void SetClusterIdentifier (const Aws::String &value)
 
void SetClusterIdentifier (Aws::String &&value)
 
void SetClusterIdentifier (const char *value)
 
CreateClusterSnapshotRequestWithClusterIdentifier (const Aws::String &value)
 
CreateClusterSnapshotRequestWithClusterIdentifier (Aws::String &&value)
 
CreateClusterSnapshotRequestWithClusterIdentifier (const char *value)
 
int GetManualSnapshotRetentionPeriod () const
 
bool ManualSnapshotRetentionPeriodHasBeenSet () const
 
void SetManualSnapshotRetentionPeriod (int value)
 
CreateClusterSnapshotRequestWithManualSnapshotRetentionPeriod (int value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateClusterSnapshotRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateClusterSnapshotRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateClusterSnapshotRequestAddTags (const Tag &value)
 
CreateClusterSnapshotRequestAddTags (Tag &&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 26 of file CreateClusterSnapshotRequest.h.

Constructor & Destructor Documentation

◆ CreateClusterSnapshotRequest()

Aws::Redshift::Model::CreateClusterSnapshotRequest::CreateClusterSnapshotRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

CreateClusterSnapshotRequest& Aws::Redshift::Model::CreateClusterSnapshotRequest::AddTags ( const Tag value)
inline

A list of tag instances.

Definition at line 228 of file CreateClusterSnapshotRequest.h.

◆ AddTags() [2/2]

CreateClusterSnapshotRequest& Aws::Redshift::Model::CreateClusterSnapshotRequest::AddTags ( Tag &&  value)
inline

A list of tag instances.

Definition at line 233 of file CreateClusterSnapshotRequest.h.

◆ ClusterIdentifierHasBeenSet()

bool Aws::Redshift::Model::CreateClusterSnapshotRequest::ClusterIdentifierHasBeenSet ( ) const
inline

The cluster identifier for which you want a snapshot.

Definition at line 133 of file CreateClusterSnapshotRequest.h.

◆ DumpBodyToUrl()

void Aws::Redshift::Model::CreateClusterSnapshotRequest::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.

◆ GetClusterIdentifier()

const Aws::String& Aws::Redshift::Model::CreateClusterSnapshotRequest::GetClusterIdentifier ( ) const
inline

The cluster identifier for which you want a snapshot.

Definition at line 128 of file CreateClusterSnapshotRequest.h.

◆ GetManualSnapshotRetentionPeriod()

int Aws::Redshift::Model::CreateClusterSnapshotRequest::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 171 of file CreateClusterSnapshotRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 35 of file CreateClusterSnapshotRequest.h.

◆ GetSnapshotIdentifier()

const Aws::String& Aws::Redshift::Model::CreateClusterSnapshotRequest::GetSnapshotIdentifier ( ) const
inline

A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

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

Example: my-snapshot-id

Definition at line 52 of file CreateClusterSnapshotRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Redshift::Model::CreateClusterSnapshotRequest::GetTags ( ) const
inline

A list of tag instances.

Definition at line 198 of file CreateClusterSnapshotRequest.h.

◆ ManualSnapshotRetentionPeriodHasBeenSet()

bool Aws::Redshift::Model::CreateClusterSnapshotRequest::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 178 of file CreateClusterSnapshotRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetClusterIdentifier() [1/3]

void Aws::Redshift::Model::CreateClusterSnapshotRequest::SetClusterIdentifier ( const Aws::String value)
inline

The cluster identifier for which you want a snapshot.

Definition at line 138 of file CreateClusterSnapshotRequest.h.

◆ SetClusterIdentifier() [2/3]

void Aws::Redshift::Model::CreateClusterSnapshotRequest::SetClusterIdentifier ( Aws::String &&  value)
inline

The cluster identifier for which you want a snapshot.

Definition at line 143 of file CreateClusterSnapshotRequest.h.

◆ SetClusterIdentifier() [3/3]

void Aws::Redshift::Model::CreateClusterSnapshotRequest::SetClusterIdentifier ( const char *  value)
inline

The cluster identifier for which you want a snapshot.

Definition at line 148 of file CreateClusterSnapshotRequest.h.

◆ SetManualSnapshotRetentionPeriod()

void Aws::Redshift::Model::CreateClusterSnapshotRequest::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 185 of file CreateClusterSnapshotRequest.h.

◆ SetSnapshotIdentifier() [1/3]

void Aws::Redshift::Model::CreateClusterSnapshotRequest::SetSnapshotIdentifier ( const Aws::String value)
inline

A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

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

Example: my-snapshot-id

Definition at line 72 of file CreateClusterSnapshotRequest.h.

◆ SetSnapshotIdentifier() [2/3]

void Aws::Redshift::Model::CreateClusterSnapshotRequest::SetSnapshotIdentifier ( Aws::String &&  value)
inline

A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

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

Example: my-snapshot-id

Definition at line 82 of file CreateClusterSnapshotRequest.h.

◆ SetSnapshotIdentifier() [3/3]

void Aws::Redshift::Model::CreateClusterSnapshotRequest::SetSnapshotIdentifier ( const char *  value)
inline

A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

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

Example: my-snapshot-id

Definition at line 92 of file CreateClusterSnapshotRequest.h.

◆ SetTags() [1/2]

void Aws::Redshift::Model::CreateClusterSnapshotRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

A list of tag instances.

Definition at line 208 of file CreateClusterSnapshotRequest.h.

◆ SetTags() [2/2]

void Aws::Redshift::Model::CreateClusterSnapshotRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

A list of tag instances.

Definition at line 213 of file CreateClusterSnapshotRequest.h.

◆ SnapshotIdentifierHasBeenSet()

bool Aws::Redshift::Model::CreateClusterSnapshotRequest::SnapshotIdentifierHasBeenSet ( ) const
inline

A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

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

Example: my-snapshot-id

Definition at line 62 of file CreateClusterSnapshotRequest.h.

◆ TagsHasBeenSet()

bool Aws::Redshift::Model::CreateClusterSnapshotRequest::TagsHasBeenSet ( ) const
inline

A list of tag instances.

Definition at line 203 of file CreateClusterSnapshotRequest.h.

◆ WithClusterIdentifier() [1/3]

CreateClusterSnapshotRequest& Aws::Redshift::Model::CreateClusterSnapshotRequest::WithClusterIdentifier ( const Aws::String value)
inline

The cluster identifier for which you want a snapshot.

Definition at line 153 of file CreateClusterSnapshotRequest.h.

◆ WithClusterIdentifier() [2/3]

CreateClusterSnapshotRequest& Aws::Redshift::Model::CreateClusterSnapshotRequest::WithClusterIdentifier ( Aws::String &&  value)
inline

The cluster identifier for which you want a snapshot.

Definition at line 158 of file CreateClusterSnapshotRequest.h.

◆ WithClusterIdentifier() [3/3]

CreateClusterSnapshotRequest& Aws::Redshift::Model::CreateClusterSnapshotRequest::WithClusterIdentifier ( const char *  value)
inline

The cluster identifier for which you want a snapshot.

Definition at line 163 of file CreateClusterSnapshotRequest.h.

◆ WithManualSnapshotRetentionPeriod()

CreateClusterSnapshotRequest& Aws::Redshift::Model::CreateClusterSnapshotRequest::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 192 of file CreateClusterSnapshotRequest.h.

◆ WithSnapshotIdentifier() [1/3]

CreateClusterSnapshotRequest& Aws::Redshift::Model::CreateClusterSnapshotRequest::WithSnapshotIdentifier ( const Aws::String value)
inline

A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

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

Example: my-snapshot-id

Definition at line 102 of file CreateClusterSnapshotRequest.h.

◆ WithSnapshotIdentifier() [2/3]

CreateClusterSnapshotRequest& Aws::Redshift::Model::CreateClusterSnapshotRequest::WithSnapshotIdentifier ( Aws::String &&  value)
inline

A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

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

Example: my-snapshot-id

Definition at line 112 of file CreateClusterSnapshotRequest.h.

◆ WithSnapshotIdentifier() [3/3]

CreateClusterSnapshotRequest& Aws::Redshift::Model::CreateClusterSnapshotRequest::WithSnapshotIdentifier ( const char *  value)
inline

A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

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

Example: my-snapshot-id

Definition at line 122 of file CreateClusterSnapshotRequest.h.

◆ WithTags() [1/2]

CreateClusterSnapshotRequest& Aws::Redshift::Model::CreateClusterSnapshotRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

A list of tag instances.

Definition at line 218 of file CreateClusterSnapshotRequest.h.

◆ WithTags() [2/2]

CreateClusterSnapshotRequest& Aws::Redshift::Model::CreateClusterSnapshotRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

A list of tag instances.

Definition at line 223 of file CreateClusterSnapshotRequest.h.


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