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 inline void SetServerlessCacheSnapshotName(
const char* value) { m_serverlessCacheSnapshotNameHasBeenSet =
true; m_serverlessCacheSnapshotName.assign(value); }
66 inline void SetServerlessCacheName(
const char* value) { m_serverlessCacheNameHasBeenSet =
true; m_serverlessCacheName.assign(value); }
81 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
104 bool m_serverlessCacheSnapshotNameHasBeenSet =
false;
107 bool m_serverlessCacheNameHasBeenSet =
false;
110 bool m_kmsKeyIdHasBeenSet =
false;
113 bool m_tagsHasBeenSet =
false;
const Aws::String & GetServerlessCacheName() const
void SetKmsKeyId(Aws::String &&value)
const Aws::String & GetKmsKeyId() const
bool ServerlessCacheNameHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
CreateServerlessCacheSnapshotRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetServerlessCacheSnapshotName() const
void SetServerlessCacheSnapshotName(const Aws::String &value)
CreateServerlessCacheSnapshotRequest & WithServerlessCacheSnapshotName(Aws::String &&value)
void SetServerlessCacheName(const char *value)
void SetServerlessCacheSnapshotName(Aws::String &&value)
void SetServerlessCacheName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateServerlessCacheSnapshotRequest & WithServerlessCacheName(const char *value)
const Aws::Vector< Tag > & GetTags() const
CreateServerlessCacheSnapshotRequest & WithServerlessCacheSnapshotName(const char *value)
CreateServerlessCacheSnapshotRequest & WithServerlessCacheSnapshotName(const Aws::String &value)
void SetKmsKeyId(const char *value)
bool ServerlessCacheSnapshotNameHasBeenSet() const
void SetServerlessCacheName(Aws::String &&value)
CreateServerlessCacheSnapshotRequest & WithKmsKeyId(const char *value)
CreateServerlessCacheSnapshotRequest & AddTags(const Tag &value)
CreateServerlessCacheSnapshotRequest & WithKmsKeyId(const Aws::String &value)
AWS_ELASTICACHE_API CreateServerlessCacheSnapshotRequest()
CreateServerlessCacheSnapshotRequest & WithKmsKeyId(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateServerlessCacheSnapshotRequest & WithServerlessCacheName(const Aws::String &value)
void SetServerlessCacheSnapshotName(const char *value)
bool TagsHasBeenSet() const
CreateServerlessCacheSnapshotRequest & AddTags(Tag &&value)
bool KmsKeyIdHasBeenSet() const
CreateServerlessCacheSnapshotRequest & WithTags(const Aws::Vector< Tag > &value)
CreateServerlessCacheSnapshotRequest & WithServerlessCacheName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector