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 SourceSnapshotNameT = Aws::String>
43 m_sourceSnapshotNameHasBeenSet =
true;
44 m_sourceSnapshotName = std::forward<SourceSnapshotNameT>(value);
46 template <
typename SourceSnapshotNameT = Aws::String>
61 template <
typename TargetSnapshotNameT = Aws::String>
63 m_targetSnapshotNameHasBeenSet =
true;
64 m_targetSnapshotName = std::forward<TargetSnapshotNameT>(value);
66 template <
typename TargetSnapshotNameT = Aws::String>
84 template <
typename TargetBucketT = Aws::String>
86 m_targetBucketHasBeenSet =
true;
87 m_targetBucket = std::forward<TargetBucketT>(value);
89 template <
typename TargetBucketT = Aws::String>
102 template <
typename KmsKeyIdT = Aws::String>
104 m_kmsKeyIdHasBeenSet =
true;
105 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
107 template <
typename KmsKeyIdT = Aws::String>
121 template <
typename TagsT = Aws::Vector<Tag>>
123 m_tagsHasBeenSet =
true;
124 m_tags = std::forward<TagsT>(value);
126 template <
typename TagsT = Aws::Vector<Tag>>
128 SetTags(std::forward<TagsT>(value));
131 template <
typename TagsT = Tag>
133 m_tagsHasBeenSet =
true;
134 m_tags.emplace_back(std::forward<TagsT>(value));
148 bool m_sourceSnapshotNameHasBeenSet =
false;
149 bool m_targetSnapshotNameHasBeenSet =
false;
150 bool m_targetBucketHasBeenSet =
false;
151 bool m_kmsKeyIdHasBeenSet =
false;
152 bool m_tagsHasBeenSet =
false;
const Aws::String & GetTargetSnapshotName() const
CopySnapshotRequest & WithTags(TagsT &&value)
bool TargetSnapshotNameHasBeenSet() const
CopySnapshotRequest & WithTargetBucket(TargetBucketT &&value)
const Aws::String & GetTargetBucket() const
bool TargetBucketHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CopySnapshotRequest & AddTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
CopySnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetKmsKeyId() const
AWS_MEMORYDB_API CopySnapshotRequest()=default
bool TagsHasBeenSet() const
AWS_MEMORYDB_API Aws::String SerializePayload() const override
void SetSourceSnapshotName(SourceSnapshotNameT &&value)
void SetTargetBucket(TargetBucketT &&value)
CopySnapshotRequest & WithTargetSnapshotName(TargetSnapshotNameT &&value)
void SetTargetSnapshotName(TargetSnapshotNameT &&value)
const Aws::String & GetSourceSnapshotName() const
void SetTags(TagsT &&value)
bool KmsKeyIdHasBeenSet() const
bool SourceSnapshotNameHasBeenSet() const
AWS_MEMORYDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CopySnapshotRequest & WithSourceSnapshotName(SourceSnapshotNameT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
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