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 {
44 template <
typename SourceServerlessCacheSnapshotNameT = Aws::String>
46 m_sourceServerlessCacheSnapshotNameHasBeenSet =
true;
47 m_sourceServerlessCacheSnapshotName = std::forward<SourceServerlessCacheSnapshotNameT>(value);
49 template <
typename SourceServerlessCacheSnapshotNameT = Aws::String>
64 template <
typename TargetServerlessCacheSnapshotNameT = Aws::String>
66 m_targetServerlessCacheSnapshotNameHasBeenSet =
true;
67 m_targetServerlessCacheSnapshotName = std::forward<TargetServerlessCacheSnapshotNameT>(value);
69 template <
typename TargetServerlessCacheSnapshotNameT = Aws::String>
83 template <
typename KmsKeyIdT = Aws::String>
85 m_kmsKeyIdHasBeenSet =
true;
86 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
88 template <
typename KmsKeyIdT = Aws::String>
103 template <
typename TagsT = Aws::Vector<Tag>>
105 m_tagsHasBeenSet =
true;
106 m_tags = std::forward<TagsT>(value);
108 template <
typename TagsT = Aws::Vector<Tag>>
110 SetTags(std::forward<TagsT>(value));
113 template <
typename TagsT = Tag>
115 m_tagsHasBeenSet =
true;
116 m_tags.emplace_back(std::forward<TagsT>(value));
128 bool m_sourceServerlessCacheSnapshotNameHasBeenSet =
false;
129 bool m_targetServerlessCacheSnapshotNameHasBeenSet =
false;
130 bool m_kmsKeyIdHasBeenSet =
false;
131 bool m_tagsHasBeenSet =
false;
AWS_ELASTICACHE_API CopyServerlessCacheSnapshotRequest()=default
bool SourceServerlessCacheSnapshotNameHasBeenSet() const
bool TargetServerlessCacheSnapshotNameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetKmsKeyId(KmsKeyIdT &&value)
bool KmsKeyIdHasBeenSet() const
void SetSourceServerlessCacheSnapshotName(SourceServerlessCacheSnapshotNameT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetKmsKeyId() const
CopyServerlessCacheSnapshotRequest & WithTargetServerlessCacheSnapshotName(TargetServerlessCacheSnapshotNameT &&value)
const Aws::String & GetSourceServerlessCacheSnapshotName() const
void SetTargetServerlessCacheSnapshotName(TargetServerlessCacheSnapshotNameT &&value)
CopyServerlessCacheSnapshotRequest & WithSourceServerlessCacheSnapshotName(SourceServerlessCacheSnapshotNameT &&value)
CopyServerlessCacheSnapshotRequest & WithTags(TagsT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool TagsHasBeenSet() const
CopyServerlessCacheSnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetTargetServerlessCacheSnapshotName() const
void SetTags(TagsT &&value)
CopyServerlessCacheSnapshotRequest & AddTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector