7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
33 inline virtual const char*
GetServiceRequestName()
const override {
return "ModifySnapshotCopyRetentionPeriod"; }
53 inline void SetClusterIdentifier(
const char* value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier.assign(value); }
77 inline void SetRetentionPeriod(
int value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
88 inline void SetManual(
bool value) { m_manualHasBeenSet =
true; m_manual = value; }
94 bool m_clusterIdentifierHasBeenSet =
false;
96 int m_retentionPeriod;
97 bool m_retentionPeriodHasBeenSet =
false;
100 bool m_manualHasBeenSet =
false;
void SetRetentionPeriod(int value)
ModifySnapshotCopyRetentionPeriodRequest & WithManual(bool value)
void SetClusterIdentifier(Aws::String &&value)
bool ClusterIdentifierHasBeenSet() const
AWS_REDSHIFT_API ModifySnapshotCopyRetentionPeriodRequest()
ModifySnapshotCopyRetentionPeriodRequest & WithClusterIdentifier(const Aws::String &value)
ModifySnapshotCopyRetentionPeriodRequest & WithClusterIdentifier(Aws::String &&value)
void SetClusterIdentifier(const char *value)
bool ManualHasBeenSet() const
void SetManual(bool value)
ModifySnapshotCopyRetentionPeriodRequest & WithClusterIdentifier(const char *value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetClusterIdentifier(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
int GetRetentionPeriod() const
const Aws::String & GetClusterIdentifier() const
ModifySnapshotCopyRetentionPeriodRequest & WithRetentionPeriod(int value)
bool RetentionPeriodHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String