7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/Tag.h>
52 template <
typename SnapshotIdentifierT = Aws::String>
54 m_snapshotIdentifierHasBeenSet =
true;
55 m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value);
57 template <
typename SnapshotIdentifierT = Aws::String>
70 template <
typename ClusterIdentifierT = Aws::String>
72 m_clusterIdentifierHasBeenSet =
true;
73 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
75 template <
typename ClusterIdentifierT = Aws::String>
91 m_manualSnapshotRetentionPeriodHasBeenSet =
true;
92 m_manualSnapshotRetentionPeriod = value;
106 template <
typename TagsT = Aws::Vector<Tag>>
108 m_tagsHasBeenSet =
true;
109 m_tags = std::forward<TagsT>(value);
111 template <
typename TagsT = Aws::Vector<Tag>>
113 SetTags(std::forward<TagsT>(value));
116 template <
typename TagsT = Tag>
118 m_tagsHasBeenSet =
true;
119 m_tags.emplace_back(std::forward<TagsT>(value));
128 int m_manualSnapshotRetentionPeriod{0};
131 bool m_snapshotIdentifierHasBeenSet =
false;
132 bool m_clusterIdentifierHasBeenSet =
false;
133 bool m_manualSnapshotRetentionPeriodHasBeenSet =
false;
134 bool m_tagsHasBeenSet =
false;
AWS_REDSHIFT_API CreateClusterSnapshotRequest()=default
bool SnapshotIdentifierHasBeenSet() const
CreateClusterSnapshotRequest & AddTags(TagsT &&value)
bool TagsHasBeenSet() const
int GetManualSnapshotRetentionPeriod() const
virtual const char * GetServiceRequestName() const override
void SetSnapshotIdentifier(SnapshotIdentifierT &&value)
const Aws::String & GetSnapshotIdentifier() const
bool ManualSnapshotRetentionPeriodHasBeenSet() const
CreateClusterSnapshotRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
CreateClusterSnapshotRequest & WithManualSnapshotRetentionPeriod(int value)
CreateClusterSnapshotRequest & WithSnapshotIdentifier(SnapshotIdentifierT &&value)
CreateClusterSnapshotRequest & WithTags(TagsT &&value)
bool ClusterIdentifierHasBeenSet() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetClusterIdentifier() const
const Aws::Vector< Tag > & GetTags() const
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
void SetClusterIdentifier(ClusterIdentifierT &&value)
void SetManualSnapshotRetentionPeriod(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector