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

#include <CreateSnapshotCopyGrantRequest.h>

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

Public Member Functions

 CreateSnapshotCopyGrantRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetSnapshotCopyGrantName () const
 
bool SnapshotCopyGrantNameHasBeenSet () const
 
void SetSnapshotCopyGrantName (const Aws::String &value)
 
void SetSnapshotCopyGrantName (Aws::String &&value)
 
void SetSnapshotCopyGrantName (const char *value)
 
CreateSnapshotCopyGrantRequestWithSnapshotCopyGrantName (const Aws::String &value)
 
CreateSnapshotCopyGrantRequestWithSnapshotCopyGrantName (Aws::String &&value)
 
CreateSnapshotCopyGrantRequestWithSnapshotCopyGrantName (const char *value)
 
const Aws::StringGetKmsKeyId () const
 
bool KmsKeyIdHasBeenSet () const
 
void SetKmsKeyId (const Aws::String &value)
 
void SetKmsKeyId (Aws::String &&value)
 
void SetKmsKeyId (const char *value)
 
CreateSnapshotCopyGrantRequestWithKmsKeyId (const Aws::String &value)
 
CreateSnapshotCopyGrantRequestWithKmsKeyId (Aws::String &&value)
 
CreateSnapshotCopyGrantRequestWithKmsKeyId (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateSnapshotCopyGrantRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateSnapshotCopyGrantRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateSnapshotCopyGrantRequestAddTags (const Tag &value)
 
CreateSnapshotCopyGrantRequestAddTags (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

The result of the CreateSnapshotCopyGrant action.

See Also:

AWS API Reference

Definition at line 27 of file CreateSnapshotCopyGrantRequest.h.

Constructor & Destructor Documentation

◆ CreateSnapshotCopyGrantRequest()

Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::CreateSnapshotCopyGrantRequest ( )

Member Function Documentation

◆ AddTags() [1/2]

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

A list of tag instances.

Definition at line 208 of file CreateSnapshotCopyGrantRequest.h.

◆ AddTags() [2/2]

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

A list of tag instances.

Definition at line 213 of file CreateSnapshotCopyGrantRequest.h.

◆ DumpBodyToUrl()

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

◆ GetKmsKeyId()

const Aws::String& Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::GetKmsKeyId ( ) const
inline

The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used.

Definition at line 130 of file CreateSnapshotCopyGrantRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 36 of file CreateSnapshotCopyGrantRequest.h.

◆ GetSnapshotCopyGrantName()

const Aws::String& Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::GetSnapshotCopyGrantName ( ) const
inline

The name of the snapshot copy grant. This name must be unique in the region for the AWS account.

Constraints:

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

  • Alphabetic characters must be lowercase.

  • First character must be a letter.

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

  • Must be unique for all clusters within an AWS account.

Definition at line 53 of file CreateSnapshotCopyGrantRequest.h.

◆ GetTags()

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

A list of tag instances.

Definition at line 178 of file CreateSnapshotCopyGrantRequest.h.

◆ KmsKeyIdHasBeenSet()

bool Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::KmsKeyIdHasBeenSet ( ) const
inline

The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used.

Definition at line 136 of file CreateSnapshotCopyGrantRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetKmsKeyId() [1/3]

void Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::SetKmsKeyId ( const Aws::String value)
inline

The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used.

Definition at line 142 of file CreateSnapshotCopyGrantRequest.h.

◆ SetKmsKeyId() [2/3]

void Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::SetKmsKeyId ( Aws::String &&  value)
inline

The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used.

Definition at line 148 of file CreateSnapshotCopyGrantRequest.h.

◆ SetKmsKeyId() [3/3]

void Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::SetKmsKeyId ( const char *  value)
inline

The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used.

Definition at line 154 of file CreateSnapshotCopyGrantRequest.h.

◆ SetSnapshotCopyGrantName() [1/3]

void Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::SetSnapshotCopyGrantName ( const Aws::String value)
inline

The name of the snapshot copy grant. This name must be unique in the region for the AWS account.

Constraints:

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

  • Alphabetic characters must be lowercase.

  • First character must be a letter.

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

  • Must be unique for all clusters within an AWS account.

Definition at line 73 of file CreateSnapshotCopyGrantRequest.h.

◆ SetSnapshotCopyGrantName() [2/3]

void Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::SetSnapshotCopyGrantName ( Aws::String &&  value)
inline

The name of the snapshot copy grant. This name must be unique in the region for the AWS account.

Constraints:

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

  • Alphabetic characters must be lowercase.

  • First character must be a letter.

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

  • Must be unique for all clusters within an AWS account.

Definition at line 83 of file CreateSnapshotCopyGrantRequest.h.

◆ SetSnapshotCopyGrantName() [3/3]

void Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::SetSnapshotCopyGrantName ( const char *  value)
inline

The name of the snapshot copy grant. This name must be unique in the region for the AWS account.

Constraints:

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

  • Alphabetic characters must be lowercase.

  • First character must be a letter.

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

  • Must be unique for all clusters within an AWS account.

Definition at line 93 of file CreateSnapshotCopyGrantRequest.h.

◆ SetTags() [1/2]

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

A list of tag instances.

Definition at line 188 of file CreateSnapshotCopyGrantRequest.h.

◆ SetTags() [2/2]

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

A list of tag instances.

Definition at line 193 of file CreateSnapshotCopyGrantRequest.h.

◆ SnapshotCopyGrantNameHasBeenSet()

bool Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::SnapshotCopyGrantNameHasBeenSet ( ) const
inline

The name of the snapshot copy grant. This name must be unique in the region for the AWS account.

Constraints:

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

  • Alphabetic characters must be lowercase.

  • First character must be a letter.

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

  • Must be unique for all clusters within an AWS account.

Definition at line 63 of file CreateSnapshotCopyGrantRequest.h.

◆ TagsHasBeenSet()

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

A list of tag instances.

Definition at line 183 of file CreateSnapshotCopyGrantRequest.h.

◆ WithKmsKeyId() [1/3]

CreateSnapshotCopyGrantRequest& Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::WithKmsKeyId ( const Aws::String value)
inline

The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used.

Definition at line 160 of file CreateSnapshotCopyGrantRequest.h.

◆ WithKmsKeyId() [2/3]

CreateSnapshotCopyGrantRequest& Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::WithKmsKeyId ( Aws::String &&  value)
inline

The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used.

Definition at line 166 of file CreateSnapshotCopyGrantRequest.h.

◆ WithKmsKeyId() [3/3]

CreateSnapshotCopyGrantRequest& Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::WithKmsKeyId ( const char *  value)
inline

The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used.

Definition at line 172 of file CreateSnapshotCopyGrantRequest.h.

◆ WithSnapshotCopyGrantName() [1/3]

CreateSnapshotCopyGrantRequest& Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::WithSnapshotCopyGrantName ( const Aws::String value)
inline

The name of the snapshot copy grant. This name must be unique in the region for the AWS account.

Constraints:

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

  • Alphabetic characters must be lowercase.

  • First character must be a letter.

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

  • Must be unique for all clusters within an AWS account.

Definition at line 103 of file CreateSnapshotCopyGrantRequest.h.

◆ WithSnapshotCopyGrantName() [2/3]

CreateSnapshotCopyGrantRequest& Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::WithSnapshotCopyGrantName ( Aws::String &&  value)
inline

The name of the snapshot copy grant. This name must be unique in the region for the AWS account.

Constraints:

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

  • Alphabetic characters must be lowercase.

  • First character must be a letter.

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

  • Must be unique for all clusters within an AWS account.

Definition at line 113 of file CreateSnapshotCopyGrantRequest.h.

◆ WithSnapshotCopyGrantName() [3/3]

CreateSnapshotCopyGrantRequest& Aws::Redshift::Model::CreateSnapshotCopyGrantRequest::WithSnapshotCopyGrantName ( const char *  value)
inline

The name of the snapshot copy grant. This name must be unique in the region for the AWS account.

Constraints:

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

  • Alphabetic characters must be lowercase.

  • First character must be a letter.

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

  • Must be unique for all clusters within an AWS account.

Definition at line 123 of file CreateSnapshotCopyGrantRequest.h.

◆ WithTags() [1/2]

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

A list of tag instances.

Definition at line 198 of file CreateSnapshotCopyGrantRequest.h.

◆ WithTags() [2/2]

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

A list of tag instances.

Definition at line 203 of file CreateSnapshotCopyGrantRequest.h.


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