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

#include <ClusterSnapshotCopyStatus.h>

Public Member Functions

 ClusterSnapshotCopyStatus ()
 
 ClusterSnapshotCopyStatus (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ClusterSnapshotCopyStatusoperator= (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::StringGetDestinationRegion () const
 
bool DestinationRegionHasBeenSet () const
 
void SetDestinationRegion (const Aws::String &value)
 
void SetDestinationRegion (Aws::String &&value)
 
void SetDestinationRegion (const char *value)
 
ClusterSnapshotCopyStatusWithDestinationRegion (const Aws::String &value)
 
ClusterSnapshotCopyStatusWithDestinationRegion (Aws::String &&value)
 
ClusterSnapshotCopyStatusWithDestinationRegion (const char *value)
 
long long GetRetentionPeriod () const
 
bool RetentionPeriodHasBeenSet () const
 
void SetRetentionPeriod (long long value)
 
ClusterSnapshotCopyStatusWithRetentionPeriod (long long value)
 
int GetManualSnapshotRetentionPeriod () const
 
bool ManualSnapshotRetentionPeriodHasBeenSet () const
 
void SetManualSnapshotRetentionPeriod (int value)
 
ClusterSnapshotCopyStatusWithManualSnapshotRetentionPeriod (int value)
 
const Aws::StringGetSnapshotCopyGrantName () const
 
bool SnapshotCopyGrantNameHasBeenSet () const
 
void SetSnapshotCopyGrantName (const Aws::String &value)
 
void SetSnapshotCopyGrantName (Aws::String &&value)
 
void SetSnapshotCopyGrantName (const char *value)
 
ClusterSnapshotCopyStatusWithSnapshotCopyGrantName (const Aws::String &value)
 
ClusterSnapshotCopyStatusWithSnapshotCopyGrantName (Aws::String &&value)
 
ClusterSnapshotCopyStatusWithSnapshotCopyGrantName (const char *value)
 

Detailed Description

Returns the destination region and retention period that are configured for cross-region snapshot copy.

See Also:

AWS API Reference

Definition at line 32 of file ClusterSnapshotCopyStatus.h.

Constructor & Destructor Documentation

◆ ClusterSnapshotCopyStatus() [1/2]

Aws::Redshift::Model::ClusterSnapshotCopyStatus::ClusterSnapshotCopyStatus ( )

◆ ClusterSnapshotCopyStatus() [2/2]

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

Member Function Documentation

◆ DestinationRegionHasBeenSet()

bool Aws::Redshift::Model::ClusterSnapshotCopyStatus::DestinationRegionHasBeenSet ( ) const
inline

The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.

Definition at line 53 of file ClusterSnapshotCopyStatus.h.

◆ GetDestinationRegion()

const Aws::String& Aws::Redshift::Model::ClusterSnapshotCopyStatus::GetDestinationRegion ( ) const
inline

The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.

Definition at line 47 of file ClusterSnapshotCopyStatus.h.

◆ GetManualSnapshotRetentionPeriod()

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

The number of days that automated snapshots are retained in the destination region after they are copied from a source region. 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.

Definition at line 123 of file ClusterSnapshotCopyStatus.h.

◆ GetRetentionPeriod()

long long Aws::Redshift::Model::ClusterSnapshotCopyStatus::GetRetentionPeriod ( ) const
inline

The number of days that automated snapshots are retained in the destination region after they are copied from a source region.

Definition at line 96 of file ClusterSnapshotCopyStatus.h.

◆ GetSnapshotCopyGrantName()

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

The name of the snapshot copy grant.

Definition at line 153 of file ClusterSnapshotCopyStatus.h.

◆ ManualSnapshotRetentionPeriodHasBeenSet()

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

The number of days that automated snapshots are retained in the destination region after they are copied from a source region. 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.

Definition at line 131 of file ClusterSnapshotCopyStatus.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ RetentionPeriodHasBeenSet()

bool Aws::Redshift::Model::ClusterSnapshotCopyStatus::RetentionPeriodHasBeenSet ( ) const
inline

The number of days that automated snapshots are retained in the destination region after they are copied from a source region.

Definition at line 102 of file ClusterSnapshotCopyStatus.h.

◆ SetDestinationRegion() [1/3]

void Aws::Redshift::Model::ClusterSnapshotCopyStatus::SetDestinationRegion ( Aws::String &&  value)
inline

The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.

Definition at line 65 of file ClusterSnapshotCopyStatus.h.

◆ SetDestinationRegion() [2/3]

void Aws::Redshift::Model::ClusterSnapshotCopyStatus::SetDestinationRegion ( const Aws::String value)
inline

The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.

Definition at line 59 of file ClusterSnapshotCopyStatus.h.

◆ SetDestinationRegion() [3/3]

void Aws::Redshift::Model::ClusterSnapshotCopyStatus::SetDestinationRegion ( const char *  value)
inline

The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.

Definition at line 71 of file ClusterSnapshotCopyStatus.h.

◆ SetManualSnapshotRetentionPeriod()

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

The number of days that automated snapshots are retained in the destination region after they are copied from a source region. 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.

Definition at line 139 of file ClusterSnapshotCopyStatus.h.

◆ SetRetentionPeriod()

void Aws::Redshift::Model::ClusterSnapshotCopyStatus::SetRetentionPeriod ( long long  value)
inline

The number of days that automated snapshots are retained in the destination region after they are copied from a source region.

Definition at line 108 of file ClusterSnapshotCopyStatus.h.

◆ SetSnapshotCopyGrantName() [1/3]

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

The name of the snapshot copy grant.

Definition at line 168 of file ClusterSnapshotCopyStatus.h.

◆ SetSnapshotCopyGrantName() [2/3]

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

The name of the snapshot copy grant.

Definition at line 163 of file ClusterSnapshotCopyStatus.h.

◆ SetSnapshotCopyGrantName() [3/3]

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

The name of the snapshot copy grant.

Definition at line 173 of file ClusterSnapshotCopyStatus.h.

◆ SnapshotCopyGrantNameHasBeenSet()

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

The name of the snapshot copy grant.

Definition at line 158 of file ClusterSnapshotCopyStatus.h.

◆ WithDestinationRegion() [1/3]

ClusterSnapshotCopyStatus& Aws::Redshift::Model::ClusterSnapshotCopyStatus::WithDestinationRegion ( Aws::String &&  value)
inline

The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.

Definition at line 83 of file ClusterSnapshotCopyStatus.h.

◆ WithDestinationRegion() [2/3]

ClusterSnapshotCopyStatus& Aws::Redshift::Model::ClusterSnapshotCopyStatus::WithDestinationRegion ( const Aws::String value)
inline

The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.

Definition at line 77 of file ClusterSnapshotCopyStatus.h.

◆ WithDestinationRegion() [3/3]

ClusterSnapshotCopyStatus& Aws::Redshift::Model::ClusterSnapshotCopyStatus::WithDestinationRegion ( const char *  value)
inline

The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.

Definition at line 89 of file ClusterSnapshotCopyStatus.h.

◆ WithManualSnapshotRetentionPeriod()

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

The number of days that automated snapshots are retained in the destination region after they are copied from a source region. 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.

Definition at line 147 of file ClusterSnapshotCopyStatus.h.

◆ WithRetentionPeriod()

ClusterSnapshotCopyStatus& Aws::Redshift::Model::ClusterSnapshotCopyStatus::WithRetentionPeriod ( long long  value)
inline

The number of days that automated snapshots are retained in the destination region after they are copied from a source region.

Definition at line 114 of file ClusterSnapshotCopyStatus.h.

◆ WithSnapshotCopyGrantName() [1/3]

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

The name of the snapshot copy grant.

Definition at line 183 of file ClusterSnapshotCopyStatus.h.

◆ WithSnapshotCopyGrantName() [2/3]

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

The name of the snapshot copy grant.

Definition at line 178 of file ClusterSnapshotCopyStatus.h.

◆ WithSnapshotCopyGrantName() [3/3]

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

The name of the snapshot copy grant.

Definition at line 188 of file ClusterSnapshotCopyStatus.h.


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