7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift-serverless/model/Tag.h>
16namespace RedshiftServerless
45 template<
typename NamespaceNameT = Aws::String>
46 void SetNamespaceName(NamespaceNameT&& value) { m_namespaceNameHasBeenSet =
true; m_namespaceName = std::forward<NamespaceNameT>(value); }
47 template<
typename NamespaceNameT = Aws::String>
57 inline void SetRetentionPeriod(
int value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
67 template<
typename SnapshotNameT = Aws::String>
68 void SetSnapshotName(SnapshotNameT&& value) { m_snapshotNameHasBeenSet =
true; m_snapshotName = std::forward<SnapshotNameT>(value); }
69 template<
typename SnapshotNameT = Aws::String>
81 template<
typename TagsT = Aws::Vector<Tag>>
82 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
83 template<
typename TagsT = Aws::Vector<Tag>>
85 template<
typename TagsT = Tag>
91 bool m_namespaceNameHasBeenSet =
false;
93 int m_retentionPeriod{0};
94 bool m_retentionPeriodHasBeenSet =
false;
97 bool m_snapshotNameHasBeenSet =
false;
100 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