7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 template<
typename ClusterIdentifierT = Aws::String>
51 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
52 template<
typename ClusterIdentifierT = Aws::String>
66 template<
typename DestinationRegionT = Aws::String>
67 void SetDestinationRegion(DestinationRegionT&& value) { m_destinationRegionHasBeenSet =
true; m_destinationRegion = std::forward<DestinationRegionT>(value); }
68 template<
typename DestinationRegionT = Aws::String>
80 inline void SetRetentionPeriod(
int value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
91 template<
typename SnapshotCopyGrantNameT = Aws::String>
92 void SetSnapshotCopyGrantName(SnapshotCopyGrantNameT&& value) { m_snapshotCopyGrantNameHasBeenSet =
true; m_snapshotCopyGrantName = std::forward<SnapshotCopyGrantNameT>(value); }
93 template<
typename SnapshotCopyGrantNameT = Aws::String>
112 bool m_clusterIdentifierHasBeenSet =
false;
115 bool m_destinationRegionHasBeenSet =
false;
117 int m_retentionPeriod{0};
118 bool m_retentionPeriodHasBeenSet =
false;
121 bool m_snapshotCopyGrantNameHasBeenSet =
false;
123 int m_manualSnapshotRetentionPeriod{0};
124 bool m_manualSnapshotRetentionPeriodHasBeenSet =
false;
bool DestinationRegionHasBeenSet() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
EnableSnapshotCopyRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API EnableSnapshotCopyRequest()=default
bool SnapshotCopyGrantNameHasBeenSet() const
EnableSnapshotCopyRequest & WithManualSnapshotRetentionPeriod(int value)
bool RetentionPeriodHasBeenSet() const
void SetSnapshotCopyGrantName(SnapshotCopyGrantNameT &&value)
void SetManualSnapshotRetentionPeriod(int value)
const Aws::String & GetDestinationRegion() const
int GetManualSnapshotRetentionPeriod() const
bool ManualSnapshotRetentionPeriodHasBeenSet() const
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetDestinationRegion(DestinationRegionT &&value)
int GetRetentionPeriod() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSnapshotCopyGrantName() const
EnableSnapshotCopyRequest & WithSnapshotCopyGrantName(SnapshotCopyGrantNameT &&value)
EnableSnapshotCopyRequest & WithDestinationRegion(DestinationRegionT &&value)
EnableSnapshotCopyRequest & WithRetentionPeriod(int value)
void SetRetentionPeriod(int value)
const Aws::String & GetClusterIdentifier() const
bool ClusterIdentifierHasBeenSet() const
void SetClusterIdentifier(ClusterIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String