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 SourceSnapshotIdentifierT = Aws::String>
48 m_sourceSnapshotIdentifierHasBeenSet =
true;
49 m_sourceSnapshotIdentifier = std::forward<SourceSnapshotIdentifierT>(value);
51 template <
typename SourceSnapshotIdentifierT = Aws::String>
68 template <
typename SourceSnapshotClusterIdentifierT = Aws::String>
70 m_sourceSnapshotClusterIdentifierHasBeenSet =
true;
71 m_sourceSnapshotClusterIdentifier = std::forward<SourceSnapshotClusterIdentifierT>(value);
73 template <
typename SourceSnapshotClusterIdentifierT = Aws::String>
91 template <
typename TargetSnapshotIdentifierT = Aws::String>
93 m_targetSnapshotIdentifierHasBeenSet =
true;
94 m_targetSnapshotIdentifier = std::forward<TargetSnapshotIdentifierT>(value);
96 template <
typename TargetSnapshotIdentifierT = Aws::String>
112 m_manualSnapshotRetentionPeriodHasBeenSet =
true;
113 m_manualSnapshotRetentionPeriod = value;
127 int m_manualSnapshotRetentionPeriod{0};
128 bool m_sourceSnapshotIdentifierHasBeenSet =
false;
129 bool m_sourceSnapshotClusterIdentifierHasBeenSet =
false;
130 bool m_targetSnapshotIdentifierHasBeenSet =
false;
131 bool m_manualSnapshotRetentionPeriodHasBeenSet =
false;
const Aws::String & GetSourceSnapshotIdentifier() const
void SetSourceSnapshotClusterIdentifier(SourceSnapshotClusterIdentifierT &&value)
const Aws::String & GetTargetSnapshotIdentifier() const
void SetTargetSnapshotIdentifier(TargetSnapshotIdentifierT &&value)
const Aws::String & GetSourceSnapshotClusterIdentifier() const
virtual const char * GetServiceRequestName() const override
CopyClusterSnapshotRequest & WithSourceSnapshotIdentifier(SourceSnapshotIdentifierT &&value)
CopyClusterSnapshotRequest & WithTargetSnapshotIdentifier(TargetSnapshotIdentifierT &&value)
void SetSourceSnapshotIdentifier(SourceSnapshotIdentifierT &&value)
AWS_REDSHIFT_API CopyClusterSnapshotRequest()=default
AWS_REDSHIFT_API Aws::String SerializePayload() const override
bool SourceSnapshotClusterIdentifierHasBeenSet() const
bool TargetSnapshotIdentifierHasBeenSet() const
CopyClusterSnapshotRequest & WithSourceSnapshotClusterIdentifier(SourceSnapshotClusterIdentifierT &&value)
void SetManualSnapshotRetentionPeriod(int value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CopyClusterSnapshotRequest & WithManualSnapshotRetentionPeriod(int value)
bool SourceSnapshotIdentifierHasBeenSet() const
bool ManualSnapshotRetentionPeriodHasBeenSet() const
int GetManualSnapshotRetentionPeriod() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String