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>
54 inline void SetReplicationGroupId(
const char* value) { m_replicationGroupIdHasBeenSet =
true; m_replicationGroupId.assign(value); }
69 inline void SetCacheClusterId(
const char* value) { m_cacheClusterIdHasBeenSet =
true; m_cacheClusterId.assign(value); }
83 inline void SetSnapshotName(
const char* value) { m_snapshotNameHasBeenSet =
true; m_snapshotName.assign(value); }
97 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
120 bool m_replicationGroupIdHasBeenSet =
false;
123 bool m_cacheClusterIdHasBeenSet =
false;
126 bool m_snapshotNameHasBeenSet =
false;
129 bool m_kmsKeyIdHasBeenSet =
false;
132 bool m_tagsHasBeenSet =
false;
void SetReplicationGroupId(const char *value)
void SetCacheClusterId(const Aws::String &value)
const Aws::String & GetCacheClusterId() const
void SetReplicationGroupId(Aws::String &&value)
CreateSnapshotRequest & WithKmsKeyId(const char *value)
CreateSnapshotRequest & WithKmsKeyId(const Aws::String &value)
CreateSnapshotRequest & WithSnapshotName(Aws::String &&value)
CreateSnapshotRequest & WithCacheClusterId(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetSnapshotName() const
void SetSnapshotName(Aws::String &&value)
void SetReplicationGroupId(const Aws::String &value)
bool TagsHasBeenSet() const
CreateSnapshotRequest & WithReplicationGroupId(Aws::String &&value)
void SetKmsKeyId(const char *value)
void SetSnapshotName(const char *value)
void SetKmsKeyId(Aws::String &&value)
bool CacheClusterIdHasBeenSet() const
const Aws::String & GetReplicationGroupId() const
void SetCacheClusterId(const char *value)
AWS_ELASTICACHE_API CreateSnapshotRequest()
CreateSnapshotRequest & AddTags(const Tag &value)
void SetTags(const Aws::Vector< Tag > &value)
bool KmsKeyIdHasBeenSet() const
CreateSnapshotRequest & WithCacheClusterId(Aws::String &&value)
const Aws::String & GetKmsKeyId() const
bool SnapshotNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateSnapshotRequest & WithSnapshotName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetCacheClusterId(Aws::String &&value)
CreateSnapshotRequest & WithTags(const Aws::Vector< Tag > &value)
void SetKmsKeyId(const Aws::String &value)
CreateSnapshotRequest & WithSnapshotName(const char *value)
CreateSnapshotRequest & WithTags(Aws::Vector< Tag > &&value)
CreateSnapshotRequest & WithReplicationGroupId(const Aws::String &value)
bool ReplicationGroupIdHasBeenSet() const
CreateSnapshotRequest & WithKmsKeyId(Aws::String &&value)
CreateSnapshotRequest & WithCacheClusterId(const char *value)
void SetSnapshotName(const Aws::String &value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
CreateSnapshotRequest & WithReplicationGroupId(const char *value)
CreateSnapshotRequest & AddTags(Tag &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector