7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
10#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
11#include <aws/redshift-serverless/model/Tag.h>
16namespace RedshiftServerless {
41 template <
typename NamespaceNameT = Aws::String>
43 m_namespaceNameHasBeenSet =
true;
44 m_namespaceName = std::forward<NamespaceNameT>(value);
46 template <
typename NamespaceNameT = Aws::String>
60 m_retentionPeriodHasBeenSet =
true;
61 m_retentionPeriod = value;
75 template <
typename SnapshotNameT = Aws::String>
77 m_snapshotNameHasBeenSet =
true;
78 m_snapshotName = std::forward<SnapshotNameT>(value);
80 template <
typename SnapshotNameT = Aws::String>
95 template <
typename TagsT = Aws::Vector<Tag>>
97 m_tagsHasBeenSet =
true;
98 m_tags = std::forward<TagsT>(value);
100 template <
typename TagsT = Aws::Vector<Tag>>
102 SetTags(std::forward<TagsT>(value));
105 template <
typename TagsT = Tag>
107 m_tagsHasBeenSet =
true;
108 m_tags.emplace_back(std::forward<TagsT>(value));
115 int m_retentionPeriod{0};
120 bool m_namespaceNameHasBeenSet =
false;
121 bool m_retentionPeriodHasBeenSet =
false;
122 bool m_snapshotNameHasBeenSet =
false;
123 bool m_tagsHasBeenSet =
false;
const Aws::String & GetNamespaceName() const
int GetRetentionPeriod() const
AWS_REDSHIFTSERVERLESS_API CreateSnapshotRequest()=default
CreateSnapshotRequest & WithSnapshotName(SnapshotNameT &&value)
CreateSnapshotRequest & AddTags(TagsT &&value)
CreateSnapshotRequest & WithNamespaceName(NamespaceNameT &&value)
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
void SetNamespaceName(NamespaceNameT &&value)
bool NamespaceNameHasBeenSet() const
CreateSnapshotRequest & WithTags(TagsT &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRetentionPeriod(int value)
const Aws::String & GetSnapshotName() const
CreateSnapshotRequest & WithRetentionPeriod(int value)
const Aws::Vector< Tag > & GetTags() const
void SetSnapshotName(SnapshotNameT &&value)
bool TagsHasBeenSet() const
bool RetentionPeriodHasBeenSet() const
bool SnapshotNameHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector