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 {
51 template <
typename GlobalReplicationGroupIdSuffixT = Aws::String>
53 m_globalReplicationGroupIdSuffixHasBeenSet =
true;
54 m_globalReplicationGroupIdSuffix = std::forward<GlobalReplicationGroupIdSuffixT>(value);
56 template <
typename GlobalReplicationGroupIdSuffixT = Aws::String>
69 template <
typename GlobalReplicationGroupDescriptionT = Aws::String>
71 m_globalReplicationGroupDescriptionHasBeenSet =
true;
72 m_globalReplicationGroupDescription = std::forward<GlobalReplicationGroupDescriptionT>(value);
74 template <
typename GlobalReplicationGroupDescriptionT = Aws::String>
89 template <
typename PrimaryReplicationGroupIdT = Aws::String>
91 m_primaryReplicationGroupIdHasBeenSet =
true;
92 m_primaryReplicationGroupId = std::forward<PrimaryReplicationGroupIdT>(value);
94 template <
typename PrimaryReplicationGroupIdT = Aws::String>
108 template <
typename TagsT = Aws::Vector<Tag>>
110 m_tagsHasBeenSet =
true;
111 m_tags = std::forward<TagsT>(value);
113 template <
typename TagsT = Aws::Vector<Tag>>
115 SetTags(std::forward<TagsT>(value));
118 template <
typename TagsT = Tag>
120 m_tagsHasBeenSet =
true;
121 m_tags.emplace_back(std::forward<TagsT>(value));
133 bool m_globalReplicationGroupIdSuffixHasBeenSet =
false;
134 bool m_globalReplicationGroupDescriptionHasBeenSet =
false;
135 bool m_primaryReplicationGroupIdHasBeenSet =
false;
136 bool m_tagsHasBeenSet =
false;
bool GlobalReplicationGroupIdSuffixHasBeenSet() const
CreateGlobalReplicationGroupRequest & WithGlobalReplicationGroupDescription(GlobalReplicationGroupDescriptionT &&value)
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetGlobalReplicationGroupDescription(GlobalReplicationGroupDescriptionT &&value)
bool GlobalReplicationGroupDescriptionHasBeenSet() const
const Aws::String & GetGlobalReplicationGroupDescription() const
CreateGlobalReplicationGroupRequest & WithPrimaryReplicationGroupId(PrimaryReplicationGroupIdT &&value)
void SetPrimaryReplicationGroupId(PrimaryReplicationGroupIdT &&value)
bool PrimaryReplicationGroupIdHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
CreateGlobalReplicationGroupRequest & WithTags(TagsT &&value)
void SetGlobalReplicationGroupIdSuffix(GlobalReplicationGroupIdSuffixT &&value)
const Aws::String & GetGlobalReplicationGroupIdSuffix() const
AWS_ELASTICACHE_API CreateGlobalReplicationGroupRequest()=default
const Aws::String & GetPrimaryReplicationGroupId() const
CreateGlobalReplicationGroupRequest & WithGlobalReplicationGroupIdSuffix(GlobalReplicationGroupIdSuffixT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTags(TagsT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
CreateGlobalReplicationGroupRequest & AddTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector