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 {
49 template <
typename CacheSubnetGroupNameT = Aws::String>
51 m_cacheSubnetGroupNameHasBeenSet =
true;
52 m_cacheSubnetGroupName = std::forward<CacheSubnetGroupNameT>(value);
54 template <
typename CacheSubnetGroupNameT = Aws::String>
67 template <
typename CacheSubnetGroupDescriptionT = Aws::String>
69 m_cacheSubnetGroupDescriptionHasBeenSet =
true;
70 m_cacheSubnetGroupDescription = std::forward<CacheSubnetGroupDescriptionT>(value);
72 template <
typename CacheSubnetGroupDescriptionT = Aws::String>
85 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
87 m_subnetIdsHasBeenSet =
true;
88 m_subnetIds = std::forward<SubnetIdsT>(value);
90 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
95 template <
typename SubnetIdsT = Aws::String>
97 m_subnetIdsHasBeenSet =
true;
98 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
110 template <
typename TagsT = Aws::Vector<Tag>>
112 m_tagsHasBeenSet =
true;
113 m_tags = std::forward<TagsT>(value);
115 template <
typename TagsT = Aws::Vector<Tag>>
117 SetTags(std::forward<TagsT>(value));
120 template <
typename TagsT = Tag>
122 m_tagsHasBeenSet =
true;
123 m_tags.emplace_back(std::forward<TagsT>(value));
135 bool m_cacheSubnetGroupNameHasBeenSet =
false;
136 bool m_cacheSubnetGroupDescriptionHasBeenSet =
false;
137 bool m_subnetIdsHasBeenSet =
false;
138 bool m_tagsHasBeenSet =
false;
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetSubnetIds(SubnetIdsT &&value)
bool CacheSubnetGroupDescriptionHasBeenSet() const
CreateCacheSubnetGroupRequest & WithCacheSubnetGroupName(CacheSubnetGroupNameT &&value)
CreateCacheSubnetGroupRequest & AddSubnetIds(SubnetIdsT &&value)
const Aws::String & GetCacheSubnetGroupDescription() const
CreateCacheSubnetGroupRequest & WithTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetCacheSubnetGroupDescription(CacheSubnetGroupDescriptionT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
bool SubnetIdsHasBeenSet() const
void SetTags(TagsT &&value)
CreateCacheSubnetGroupRequest & AddTags(TagsT &&value)
CreateCacheSubnetGroupRequest & WithCacheSubnetGroupDescription(CacheSubnetGroupDescriptionT &&value)
CreateCacheSubnetGroupRequest & WithSubnetIds(SubnetIdsT &&value)
AWS_ELASTICACHE_API CreateCacheSubnetGroupRequest()=default
bool CacheSubnetGroupNameHasBeenSet() const
const Aws::String & GetCacheSubnetGroupName() const
virtual const char * GetServiceRequestName() const override
void SetCacheSubnetGroupName(CacheSubnetGroupNameT &&value)
const Aws::Vector< Tag > & GetTags() const
bool TagsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector