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 SourceSnapshotIdentifierT = Aws::String>
51 void SetSourceSnapshotIdentifier(SourceSnapshotIdentifierT&& value) { m_sourceSnapshotIdentifierHasBeenSet =
true; m_sourceSnapshotIdentifier = std::forward<SourceSnapshotIdentifierT>(value); }
52 template<
typename SourceSnapshotIdentifierT = Aws::String>
66 template<
typename SourceSnapshotClusterIdentifierT = Aws::String>
67 void SetSourceSnapshotClusterIdentifier(SourceSnapshotClusterIdentifierT&& value) { m_sourceSnapshotClusterIdentifierHasBeenSet =
true; m_sourceSnapshotClusterIdentifier = std::forward<SourceSnapshotClusterIdentifierT>(value); }
68 template<
typename SourceSnapshotClusterIdentifierT = Aws::String>
83 template<
typename TargetSnapshotIdentifierT = Aws::String>
84 void SetTargetSnapshotIdentifier(TargetSnapshotIdentifierT&& value) { m_targetSnapshotIdentifierHasBeenSet =
true; m_targetSnapshotIdentifier = std::forward<TargetSnapshotIdentifierT>(value); }
85 template<
typename TargetSnapshotIdentifierT = Aws::String>
103 bool m_sourceSnapshotIdentifierHasBeenSet =
false;
106 bool m_sourceSnapshotClusterIdentifierHasBeenSet =
false;
109 bool m_targetSnapshotIdentifierHasBeenSet =
false;
111 int m_manualSnapshotRetentionPeriod{0};
112 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