7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCacheRequest.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/Tag.h>
16namespace ElastiCache {
47 template <
typename SourceSnapshotNameT = Aws::String>
49 m_sourceSnapshotNameHasBeenSet =
true;
50 m_sourceSnapshotName = std::forward<SourceSnapshotNameT>(value);
52 template <
typename SourceSnapshotNameT = Aws::String>
67 template <
typename TargetSnapshotNameT = Aws::String>
69 m_targetSnapshotNameHasBeenSet =
true;
70 m_targetSnapshotName = std::forward<TargetSnapshotNameT>(value);
72 template <
typename TargetSnapshotNameT = Aws::String>
93 template <
typename TargetBucketT = Aws::String>
95 m_targetBucketHasBeenSet =
true;
96 m_targetBucket = std::forward<TargetBucketT>(value);
98 template <
typename TargetBucketT = Aws::String>
111 template <
typename KmsKeyIdT = Aws::String>
113 m_kmsKeyIdHasBeenSet =
true;
114 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
116 template <
typename KmsKeyIdT = Aws::String>
130 template <
typename TagsT = Aws::Vector<Tag>>
132 m_tagsHasBeenSet =
true;
133 m_tags = std::forward<TagsT>(value);
135 template <
typename TagsT = Aws::Vector<Tag>>
137 SetTags(std::forward<TagsT>(value));
140 template <
typename TagsT = Tag>
142 m_tagsHasBeenSet =
true;
143 m_tags.emplace_back(std::forward<TagsT>(value));
157 bool m_sourceSnapshotNameHasBeenSet =
false;
158 bool m_targetSnapshotNameHasBeenSet =
false;
159 bool m_targetBucketHasBeenSet =
false;
160 bool m_kmsKeyIdHasBeenSet =
false;
161 bool m_tagsHasBeenSet =
false;
CopySnapshotRequest & WithTargetBucket(TargetBucketT &&value)
const Aws::String & GetTargetSnapshotName() const
bool TargetSnapshotNameHasBeenSet() const
const Aws::String & GetSourceSnapshotName() const
const Aws::String & GetKmsKeyId() const
CopySnapshotRequest & WithTargetSnapshotName(TargetSnapshotNameT &&value)
bool TagsHasBeenSet() const
void SetTargetBucket(TargetBucketT &&value)
const Aws::Vector< Tag > & GetTags() const
CopySnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
CopySnapshotRequest & WithTags(TagsT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTags(TagsT &&value)
const Aws::String & GetTargetBucket() const
virtual const char * GetServiceRequestName() const override
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
bool TargetBucketHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
CopySnapshotRequest & WithSourceSnapshotName(SourceSnapshotNameT &&value)
void SetTargetSnapshotName(TargetSnapshotNameT &&value)
bool KmsKeyIdHasBeenSet() const
AWS_ELASTICACHE_API CopySnapshotRequest()=default
CopySnapshotRequest & AddTags(TagsT &&value)
bool SourceSnapshotNameHasBeenSet() const
void SetSourceSnapshotName(SourceSnapshotNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector