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 {
48 template <
typename ReplicationGroupIdT = Aws::String>
50 m_replicationGroupIdHasBeenSet =
true;
51 m_replicationGroupId = std::forward<ReplicationGroupIdT>(value);
53 template <
typename ReplicationGroupIdT = Aws::String>
67 template <
typename CacheClusterIdT = Aws::String>
69 m_cacheClusterIdHasBeenSet =
true;
70 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
72 template <
typename CacheClusterIdT = Aws::String>
85 template <
typename SnapshotNameT = Aws::String>
87 m_snapshotNameHasBeenSet =
true;
88 m_snapshotName = std::forward<SnapshotNameT>(value);
90 template <
typename SnapshotNameT = Aws::String>
103 template <
typename KmsKeyIdT = Aws::String>
105 m_kmsKeyIdHasBeenSet =
true;
106 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
108 template <
typename KmsKeyIdT = Aws::String>
122 template <
typename TagsT = Aws::Vector<Tag>>
124 m_tagsHasBeenSet =
true;
125 m_tags = std::forward<TagsT>(value);
127 template <
typename TagsT = Aws::Vector<Tag>>
129 SetTags(std::forward<TagsT>(value));
132 template <
typename TagsT = Tag>
134 m_tagsHasBeenSet =
true;
135 m_tags.emplace_back(std::forward<TagsT>(value));
149 bool m_replicationGroupIdHasBeenSet =
false;
150 bool m_cacheClusterIdHasBeenSet =
false;
151 bool m_snapshotNameHasBeenSet =
false;
152 bool m_kmsKeyIdHasBeenSet =
false;
153 bool m_tagsHasBeenSet =
false;
const Aws::String & GetCacheClusterId() const
void SetKmsKeyId(KmsKeyIdT &&value)
CreateSnapshotRequest & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetSnapshotName() const
AWS_ELASTICACHE_API CreateSnapshotRequest()=default
bool TagsHasBeenSet() const
bool CacheClusterIdHasBeenSet() const
const Aws::String & GetReplicationGroupId() const
CreateSnapshotRequest & WithSnapshotName(SnapshotNameT &&value)
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetKmsKeyId() const
bool SnapshotNameHasBeenSet() const
CreateSnapshotRequest & WithReplicationGroupId(ReplicationGroupIdT &&value)
virtual const char * GetServiceRequestName() const override
void SetSnapshotName(SnapshotNameT &&value)
CreateSnapshotRequest & WithCacheClusterId(CacheClusterIdT &&value)
CreateSnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool ReplicationGroupIdHasBeenSet() const
CreateSnapshotRequest & AddTags(TagsT &&value)
void SetReplicationGroupId(ReplicationGroupIdT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetCacheClusterId(CacheClusterIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector