7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/Tag.h>
56 template<
typename SnapshotIdentifierT = Aws::String>
57 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) { m_snapshotIdentifierHasBeenSet =
true; m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value); }
58 template<
typename SnapshotIdentifierT = Aws::String>
68 template<
typename ClusterIdentifierT = Aws::String>
69 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
70 template<
typename ClusterIdentifierT = Aws::String>
92 template<
typename TagsT = Aws::Vector<Tag>>
93 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
94 template<
typename TagsT = Aws::Vector<Tag>>
96 template<
typename TagsT = Tag>
102 bool m_snapshotIdentifierHasBeenSet =
false;
105 bool m_clusterIdentifierHasBeenSet =
false;
107 int m_manualSnapshotRetentionPeriod{0};
108 bool m_manualSnapshotRetentionPeriodHasBeenSet =
false;
111 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