7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/Tag.h>
51 template<
typename SourceSnapshotNameT = Aws::String>
52 void SetSourceSnapshotName(SourceSnapshotNameT&& value) { m_sourceSnapshotNameHasBeenSet =
true; m_sourceSnapshotName = std::forward<SourceSnapshotNameT>(value); }
53 template<
typename SourceSnapshotNameT = Aws::String>
65 template<
typename TargetSnapshotNameT = Aws::String>
66 void SetTargetSnapshotName(TargetSnapshotNameT&& value) { m_targetSnapshotNameHasBeenSet =
true; m_targetSnapshotName = std::forward<TargetSnapshotNameT>(value); }
67 template<
typename TargetSnapshotNameT = Aws::String>
85 template<
typename TargetBucketT = Aws::String>
86 void SetTargetBucket(TargetBucketT&& value) { m_targetBucketHasBeenSet =
true; m_targetBucket = std::forward<TargetBucketT>(value); }
87 template<
typename TargetBucketT = Aws::String>
97 template<
typename KmsKeyIdT = Aws::String>
98 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
99 template<
typename KmsKeyIdT = Aws::String>
110 template<
typename TagsT = Aws::Vector<Tag>>
111 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
112 template<
typename TagsT = Aws::Vector<Tag>>
114 template<
typename TagsT = Tag>
120 bool m_sourceSnapshotNameHasBeenSet =
false;
123 bool m_targetSnapshotNameHasBeenSet =
false;
126 bool m_targetBucketHasBeenSet =
false;
129 bool m_kmsKeyIdHasBeenSet =
false;
132 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