7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetDestinationRegion(
const char* value) { m_destinationRegionHasBeenSet =
true; m_destinationRegion.assign(value); }
65 inline void SetRetentionPeriod(
long long value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
90 inline void SetSnapshotCopyGrantName(
const char* value) { m_snapshotCopyGrantNameHasBeenSet =
true; m_snapshotCopyGrantName.assign(value); }
98 bool m_destinationRegionHasBeenSet =
false;
100 long long m_retentionPeriod;
101 bool m_retentionPeriodHasBeenSet =
false;
103 int m_manualSnapshotRetentionPeriod;
104 bool m_manualSnapshotRetentionPeriodHasBeenSet =
false;
107 bool m_snapshotCopyGrantNameHasBeenSet =
false;
bool RetentionPeriodHasBeenSet() const
AWS_REDSHIFT_API ClusterSnapshotCopyStatus()
ClusterSnapshotCopyStatus & WithManualSnapshotRetentionPeriod(int value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool DestinationRegionHasBeenSet() const
ClusterSnapshotCopyStatus & WithDestinationRegion(Aws::String &&value)
int GetManualSnapshotRetentionPeriod() const
ClusterSnapshotCopyStatus & WithDestinationRegion(const char *value)
const Aws::String & GetDestinationRegion() const
ClusterSnapshotCopyStatus & WithRetentionPeriod(long long value)
ClusterSnapshotCopyStatus & WithSnapshotCopyGrantName(const char *value)
void SetRetentionPeriod(long long value)
ClusterSnapshotCopyStatus & WithDestinationRegion(const Aws::String &value)
bool SnapshotCopyGrantNameHasBeenSet() const
const Aws::String & GetSnapshotCopyGrantName() const
ClusterSnapshotCopyStatus & WithSnapshotCopyGrantName(const Aws::String &value)
void SetDestinationRegion(const Aws::String &value)
void SetSnapshotCopyGrantName(Aws::String &&value)
void SetSnapshotCopyGrantName(const Aws::String &value)
AWS_REDSHIFT_API ClusterSnapshotCopyStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ManualSnapshotRetentionPeriodHasBeenSet() const
AWS_REDSHIFT_API ClusterSnapshotCopyStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDestinationRegion(const char *value)
long long GetRetentionPeriod() const
void SetDestinationRegion(Aws::String &&value)
void SetManualSnapshotRetentionPeriod(int value)
void SetSnapshotCopyGrantName(const char *value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ClusterSnapshotCopyStatus & WithSnapshotCopyGrantName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream