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>
49 template<
typename ServerlessCacheSnapshotNameT = Aws::String>
50 void SetServerlessCacheSnapshotName(ServerlessCacheSnapshotNameT&& value) { m_serverlessCacheSnapshotNameHasBeenSet =
true; m_serverlessCacheSnapshotName = std::forward<ServerlessCacheSnapshotNameT>(value); }
51 template<
typename ServerlessCacheSnapshotNameT = Aws::String>
62 template<
typename ServerlessCacheNameT = Aws::String>
63 void SetServerlessCacheName(ServerlessCacheNameT&& value) { m_serverlessCacheNameHasBeenSet =
true; m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value); }
64 template<
typename ServerlessCacheNameT = Aws::String>
75 template<
typename KmsKeyIdT = Aws::String>
76 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
77 template<
typename KmsKeyIdT = Aws::String>
88 template<
typename TagsT = Aws::Vector<Tag>>
89 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
90 template<
typename TagsT = Aws::Vector<Tag>>
92 template<
typename TagsT = Tag>
98 bool m_serverlessCacheSnapshotNameHasBeenSet =
false;
101 bool m_serverlessCacheNameHasBeenSet =
false;
104 bool m_kmsKeyIdHasBeenSet =
false;
107 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