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>
63 template <
typename TargetServerlessCacheSnapshotNameT = Aws::String>
65 m_targetServerlessCacheSnapshotNameHasBeenSet =
true;
66 m_targetServerlessCacheSnapshotName = std::forward<TargetServerlessCacheSnapshotNameT>(value);
68 template <
typename TargetServerlessCacheSnapshotNameT = Aws::String>
82 template <
typename KmsKeyIdT = Aws::String>
84 m_kmsKeyIdHasBeenSet =
true;
85 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
87 template <
typename KmsKeyIdT = Aws::String>
102 template <
typename TagsT = Aws::Vector<Tag>>
104 m_tagsHasBeenSet =
true;
105 m_tags = std::forward<TagsT>(value);
107 template <
typename TagsT = Aws::Vector<Tag>>
109 SetTags(std::forward<TagsT>(value));
112 template <
typename TagsT = Tag>
114 m_tagsHasBeenSet =
true;
115 m_tags.emplace_back(std::forward<TagsT>(value));
127 bool m_sourceServerlessCacheSnapshotNameHasBeenSet =
false;
128 bool m_targetServerlessCacheSnapshotNameHasBeenSet =
false;
129 bool m_kmsKeyIdHasBeenSet =
false;
130 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