7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename SnapshotIdentifierT = Aws::String>
46 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) { m_snapshotIdentifierHasBeenSet =
true; m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value); }
47 template<
typename SnapshotIdentifierT = Aws::String>
70 inline bool GetForce()
const {
return m_force; }
72 inline void SetForce(
bool value) { m_forceHasBeenSet =
true; m_force = value; }
78 bool m_snapshotIdentifierHasBeenSet =
false;
80 int m_manualSnapshotRetentionPeriod{0};
81 bool m_manualSnapshotRetentionPeriodHasBeenSet =
false;
84 bool m_forceHasBeenSet =
false;
AWS_REDSHIFT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetForce(bool value)
void SetManualSnapshotRetentionPeriod(int value)
const Aws::String & GetSnapshotIdentifier() const
AWS_REDSHIFT_API ModifyClusterSnapshotRequest()=default
void SetSnapshotIdentifier(SnapshotIdentifierT &&value)
ModifyClusterSnapshotRequest & WithManualSnapshotRetentionPeriod(int value)
ModifyClusterSnapshotRequest & WithSnapshotIdentifier(SnapshotIdentifierT &&value)
bool ForceHasBeenSet() const
bool ManualSnapshotRetentionPeriodHasBeenSet() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool SnapshotIdentifierHasBeenSet() const
int GetManualSnapshotRetentionPeriod() const
ModifyClusterSnapshotRequest & WithForce(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String