7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/memorydb/MemoryDBRequest.h>
10#include <aws/memorydb/MemoryDB_EXPORTS.h>
11#include <aws/memorydb/model/Tag.h>
41 template <
typename ClusterNameT = Aws::String>
43 m_clusterNameHasBeenSet =
true;
44 m_clusterName = std::forward<ClusterNameT>(value);
46 template <
typename ClusterNameT = Aws::String>
59 template <
typename SnapshotNameT = Aws::String>
61 m_snapshotNameHasBeenSet =
true;
62 m_snapshotName = std::forward<SnapshotNameT>(value);
64 template <
typename SnapshotNameT = Aws::String>
77 template <
typename KmsKeyIdT = Aws::String>
79 m_kmsKeyIdHasBeenSet =
true;
80 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
82 template <
typename KmsKeyIdT = Aws::String>
96 template <
typename TagsT = Aws::Vector<Tag>>
98 m_tagsHasBeenSet =
true;
99 m_tags = std::forward<TagsT>(value);
101 template <
typename TagsT = Aws::Vector<Tag>>
103 SetTags(std::forward<TagsT>(value));
106 template <
typename TagsT = Tag>
108 m_tagsHasBeenSet =
true;
109 m_tags.emplace_back(std::forward<TagsT>(value));
121 bool m_clusterNameHasBeenSet =
false;
122 bool m_snapshotNameHasBeenSet =
false;
123 bool m_kmsKeyIdHasBeenSet =
false;
124 bool m_tagsHasBeenSet =
false;
CreateSnapshotRequest & WithSnapshotName(SnapshotNameT &&value)
CreateSnapshotRequest & WithClusterName(ClusterNameT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetKmsKeyId() const
CreateSnapshotRequest & AddTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreateSnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool ClusterNameHasBeenSet() const
bool TagsHasBeenSet() const
CreateSnapshotRequest & WithTags(TagsT &&value)
bool SnapshotNameHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetSnapshotName(SnapshotNameT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
AWS_MEMORYDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetClusterName() const
void SetClusterName(ClusterNameT &&value)
AWS_MEMORYDB_API CreateSnapshotRequest()=default
AWS_MEMORYDB_API Aws::String SerializePayload() const override
const Aws::String & GetSnapshotName() const
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