7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
46 template <
typename ClusterIdentifierT = Aws::String>
48 m_clusterIdentifierHasBeenSet =
true;
49 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
51 template <
typename ClusterIdentifierT = Aws::String>
68 template <
typename DestinationRegionT = Aws::String>
70 m_destinationRegionHasBeenSet =
true;
71 m_destinationRegion = std::forward<DestinationRegionT>(value);
73 template <
typename DestinationRegionT = Aws::String>
89 m_retentionPeriodHasBeenSet =
true;
90 m_retentionPeriod = value;
105 template <
typename SnapshotCopyGrantNameT = Aws::String>
107 m_snapshotCopyGrantNameHasBeenSet =
true;
108 m_snapshotCopyGrantName = std::forward<SnapshotCopyGrantNameT>(value);
110 template <
typename SnapshotCopyGrantNameT = Aws::String>
127 m_manualSnapshotRetentionPeriodHasBeenSet =
true;
128 m_manualSnapshotRetentionPeriod = value;
140 int m_retentionPeriod{0};
144 int m_manualSnapshotRetentionPeriod{0};
145 bool m_clusterIdentifierHasBeenSet =
false;
146 bool m_destinationRegionHasBeenSet =
false;
147 bool m_retentionPeriodHasBeenSet =
false;
148 bool m_snapshotCopyGrantNameHasBeenSet =
false;
149 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