7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetClusterIdentifier(
const char* value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier.assign(value); }
70 inline void SetDestinationRegion(
const char* value) { m_destinationRegionHasBeenSet =
true; m_destinationRegion.assign(value); }
84 inline void SetRetentionPeriod(
int value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
97 inline void SetSnapshotCopyGrantName(
const char* value) { m_snapshotCopyGrantNameHasBeenSet =
true; m_snapshotCopyGrantName.assign(value); }
118 bool m_clusterIdentifierHasBeenSet =
false;
121 bool m_destinationRegionHasBeenSet =
false;
123 int m_retentionPeriod;
124 bool m_retentionPeriodHasBeenSet =
false;
127 bool m_snapshotCopyGrantNameHasBeenSet =
false;
129 int m_manualSnapshotRetentionPeriod;
130 bool m_manualSnapshotRetentionPeriodHasBeenSet =
false;
EnableSnapshotCopyRequest & WithSnapshotCopyGrantName(const char *value)
bool DestinationRegionHasBeenSet() const
EnableSnapshotCopyRequest & WithClusterIdentifier(const char *value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
EnableSnapshotCopyRequest & WithSnapshotCopyGrantName(Aws::String &&value)
void SetClusterIdentifier(const char *value)
EnableSnapshotCopyRequest & WithDestinationRegion(Aws::String &&value)
bool SnapshotCopyGrantNameHasBeenSet() const
EnableSnapshotCopyRequest & WithManualSnapshotRetentionPeriod(int value)
bool RetentionPeriodHasBeenSet() const
void SetSnapshotCopyGrantName(const char *value)
EnableSnapshotCopyRequest & WithSnapshotCopyGrantName(const Aws::String &value)
void SetSnapshotCopyGrantName(const Aws::String &value)
EnableSnapshotCopyRequest & WithClusterIdentifier(Aws::String &&value)
void SetManualSnapshotRetentionPeriod(int value)
const Aws::String & GetDestinationRegion() const
int GetManualSnapshotRetentionPeriod() const
bool ManualSnapshotRetentionPeriodHasBeenSet() const
void SetDestinationRegion(const char *value)
void SetDestinationRegion(const Aws::String &value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
EnableSnapshotCopyRequest & WithClusterIdentifier(const Aws::String &value)
EnableSnapshotCopyRequest & WithDestinationRegion(const char *value)
void SetDestinationRegion(Aws::String &&value)
int GetRetentionPeriod() const
void SetClusterIdentifier(Aws::String &&value)
EnableSnapshotCopyRequest & WithDestinationRegion(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSnapshotCopyGrantName() const
void SetClusterIdentifier(const Aws::String &value)
EnableSnapshotCopyRequest & WithRetentionPeriod(int value)
void SetRetentionPeriod(int value)
void SetSnapshotCopyGrantName(Aws::String &&value)
const Aws::String & GetClusterIdentifier() const
AWS_REDSHIFT_API EnableSnapshotCopyRequest()
bool ClusterIdentifierHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String