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 {
45 template <
typename ServerlessCacheSnapshotNameT = Aws::String>
47 m_serverlessCacheSnapshotNameHasBeenSet =
true;
48 m_serverlessCacheSnapshotName = std::forward<ServerlessCacheSnapshotNameT>(value);
50 template <
typename ServerlessCacheSnapshotNameT = Aws::String>
64 template <
typename ServerlessCacheNameT = Aws::String>
66 m_serverlessCacheNameHasBeenSet =
true;
67 m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value);
69 template <
typename ServerlessCacheNameT = 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>
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_serverlessCacheSnapshotNameHasBeenSet =
false;
128 bool m_serverlessCacheNameHasBeenSet =
false;
129 bool m_kmsKeyIdHasBeenSet =
false;
130 bool m_tagsHasBeenSet =
false;
const Aws::String & GetServerlessCacheName() const
void SetServerlessCacheName(ServerlessCacheNameT &&value)
const Aws::String & GetKmsKeyId() const
bool ServerlessCacheNameHasBeenSet() const
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
CreateServerlessCacheSnapshotRequest & WithServerlessCacheName(ServerlessCacheNameT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetServerlessCacheSnapshotName() const
CreateServerlessCacheSnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
CreateServerlessCacheSnapshotRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::Vector< Tag > & GetTags() const
bool ServerlessCacheSnapshotNameHasBeenSet() const
void SetTags(TagsT &&value)
CreateServerlessCacheSnapshotRequest & AddTags(TagsT &&value)
AWS_ELASTICACHE_API CreateServerlessCacheSnapshotRequest()=default
void SetServerlessCacheSnapshotName(ServerlessCacheSnapshotNameT &&value)
bool TagsHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
CreateServerlessCacheSnapshotRequest & WithServerlessCacheSnapshotName(ServerlessCacheSnapshotNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector