AWS SDK for C++  1.9.125
AWS SDK for C++
Public Member Functions | List of all members
Aws::Redshift::Model::SnapshotCopyGrant Class Reference

#include <SnapshotCopyGrant.h>

Public Member Functions

 SnapshotCopyGrant ()
 
 SnapshotCopyGrant (const Aws::Utils::Xml::XmlNode &xmlNode)
 
SnapshotCopyGrantoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::StringGetSnapshotCopyGrantName () const
 
bool SnapshotCopyGrantNameHasBeenSet () const
 
void SetSnapshotCopyGrantName (const Aws::String &value)
 
void SetSnapshotCopyGrantName (Aws::String &&value)
 
void SetSnapshotCopyGrantName (const char *value)
 
SnapshotCopyGrantWithSnapshotCopyGrantName (const Aws::String &value)
 
SnapshotCopyGrantWithSnapshotCopyGrantName (Aws::String &&value)
 
SnapshotCopyGrantWithSnapshotCopyGrantName (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)
 
SnapshotCopyGrantWithKmsKeyId (const Aws::String &value)
 
SnapshotCopyGrantWithKmsKeyId (Aws::String &&value)
 
SnapshotCopyGrantWithKmsKeyId (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)
 
SnapshotCopyGrantWithTags (const Aws::Vector< Tag > &value)
 
SnapshotCopyGrantWithTags (Aws::Vector< Tag > &&value)
 
SnapshotCopyGrantAddTags (const Tag &value)
 
SnapshotCopyGrantAddTags (Tag &&value)
 

Detailed Description

The snapshot copy grant that grants Amazon Redshift permission to encrypt copied snapshots with the specified customer master key (CMK) from Amazon Web Services KMS in the destination region.

For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide.

See Also:

AWS API Reference

Definition at line 39 of file SnapshotCopyGrant.h.

Constructor & Destructor Documentation

◆ SnapshotCopyGrant() [1/2]

Aws::Redshift::Model::SnapshotCopyGrant::SnapshotCopyGrant ( )

◆ SnapshotCopyGrant() [2/2]

Aws::Redshift::Model::SnapshotCopyGrant::SnapshotCopyGrant ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddTags() [1/2]

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

A list of tag instances.

Definition at line 173 of file SnapshotCopyGrant.h.

◆ AddTags() [2/2]

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

A list of tag instances.

Definition at line 178 of file SnapshotCopyGrant.h.

◆ GetKmsKeyId()

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

The unique identifier of the customer master key (CMK) in Amazon Web Services KMS to which Amazon Redshift is granted permission.

Definition at line 95 of file SnapshotCopyGrant.h.

◆ GetSnapshotCopyGrantName()

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

The name of the snapshot copy grant.

Definition at line 53 of file SnapshotCopyGrant.h.

◆ GetTags()

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

A list of tag instances.

Definition at line 143 of file SnapshotCopyGrant.h.

◆ KmsKeyIdHasBeenSet()

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

The unique identifier of the customer master key (CMK) in Amazon Web Services KMS to which Amazon Redshift is granted permission.

Definition at line 101 of file SnapshotCopyGrant.h.

◆ operator=()

SnapshotCopyGrant& Aws::Redshift::Model::SnapshotCopyGrant::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::Redshift::Model::SnapshotCopyGrant::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::Redshift::Model::SnapshotCopyGrant::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ SetKmsKeyId() [1/3]

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

The unique identifier of the customer master key (CMK) in Amazon Web Services KMS to which Amazon Redshift is granted permission.

Definition at line 113 of file SnapshotCopyGrant.h.

◆ SetKmsKeyId() [2/3]

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

The unique identifier of the customer master key (CMK) in Amazon Web Services KMS to which Amazon Redshift is granted permission.

Definition at line 107 of file SnapshotCopyGrant.h.

◆ SetKmsKeyId() [3/3]

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

The unique identifier of the customer master key (CMK) in Amazon Web Services KMS to which Amazon Redshift is granted permission.

Definition at line 119 of file SnapshotCopyGrant.h.

◆ SetSnapshotCopyGrantName() [1/3]

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

The name of the snapshot copy grant.

Definition at line 68 of file SnapshotCopyGrant.h.

◆ SetSnapshotCopyGrantName() [2/3]

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

The name of the snapshot copy grant.

Definition at line 63 of file SnapshotCopyGrant.h.

◆ SetSnapshotCopyGrantName() [3/3]

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

The name of the snapshot copy grant.

Definition at line 73 of file SnapshotCopyGrant.h.

◆ SetTags() [1/2]

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

A list of tag instances.

Definition at line 158 of file SnapshotCopyGrant.h.

◆ SetTags() [2/2]

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

A list of tag instances.

Definition at line 153 of file SnapshotCopyGrant.h.

◆ SnapshotCopyGrantNameHasBeenSet()

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

The name of the snapshot copy grant.

Definition at line 58 of file SnapshotCopyGrant.h.

◆ TagsHasBeenSet()

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

A list of tag instances.

Definition at line 148 of file SnapshotCopyGrant.h.

◆ WithKmsKeyId() [1/3]

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

The unique identifier of the customer master key (CMK) in Amazon Web Services KMS to which Amazon Redshift is granted permission.

Definition at line 131 of file SnapshotCopyGrant.h.

◆ WithKmsKeyId() [2/3]

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

The unique identifier of the customer master key (CMK) in Amazon Web Services KMS to which Amazon Redshift is granted permission.

Definition at line 125 of file SnapshotCopyGrant.h.

◆ WithKmsKeyId() [3/3]

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

The unique identifier of the customer master key (CMK) in Amazon Web Services KMS to which Amazon Redshift is granted permission.

Definition at line 137 of file SnapshotCopyGrant.h.

◆ WithSnapshotCopyGrantName() [1/3]

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

The name of the snapshot copy grant.

Definition at line 83 of file SnapshotCopyGrant.h.

◆ WithSnapshotCopyGrantName() [2/3]

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

The name of the snapshot copy grant.

Definition at line 78 of file SnapshotCopyGrant.h.

◆ WithSnapshotCopyGrantName() [3/3]

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

The name of the snapshot copy grant.

Definition at line 88 of file SnapshotCopyGrant.h.

◆ WithTags() [1/2]

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

A list of tag instances.

Definition at line 168 of file SnapshotCopyGrant.h.

◆ WithTags() [2/2]

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

A list of tag instances.

Definition at line 163 of file SnapshotCopyGrant.h.


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