7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/memorydb/MemoryDBRequest.h>
10#include <aws/memorydb/MemoryDB_EXPORTS.h>
11#include <aws/memorydb/model/Tag.h>
41 template <
typename SubnetGroupNameT = Aws::String>
43 m_subnetGroupNameHasBeenSet =
true;
44 m_subnetGroupName = std::forward<SubnetGroupNameT>(value);
46 template <
typename SubnetGroupNameT = Aws::String>
59 template <
typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet =
true;
62 m_description = std::forward<DescriptionT>(value);
64 template <
typename DescriptionT = Aws::String>
77 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
79 m_subnetIdsHasBeenSet =
true;
80 m_subnetIds = std::forward<SubnetIdsT>(value);
82 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
87 template <
typename SubnetIdsT = Aws::String>
89 m_subnetIdsHasBeenSet =
true;
90 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
102 template <
typename TagsT = Aws::Vector<Tag>>
104 m_tagsHasBeenSet =
true;
105 m_tags = std::forward<TagsT>(value);
107 template <
typename TagsT = Aws::Vector<Tag>>
109 SetTags(std::forward<TagsT>(value));
112 template <
typename TagsT = Tag>
114 m_tagsHasBeenSet =
true;
115 m_tags.emplace_back(std::forward<TagsT>(value));
127 bool m_subnetGroupNameHasBeenSet =
false;
128 bool m_descriptionHasBeenSet =
false;
129 bool m_subnetIdsHasBeenSet =
false;
130 bool m_tagsHasBeenSet =
false;
CreateSubnetGroupRequest & WithDescription(DescriptionT &&value)
bool SubnetGroupNameHasBeenSet() const
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetSubnetGroupName() const
AWS_MEMORYDB_API CreateSubnetGroupRequest()=default
CreateSubnetGroupRequest & WithSubnetIds(SubnetIdsT &&value)
bool DescriptionHasBeenSet() const
void SetSubnetGroupName(SubnetGroupNameT &&value)
AWS_MEMORYDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_MEMORYDB_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetSubnetIds() const
virtual const char * GetServiceRequestName() const override
CreateSubnetGroupRequest & AddSubnetIds(SubnetIdsT &&value)
CreateSubnetGroupRequest & WithTags(TagsT &&value)
bool SubnetIdsHasBeenSet() const
CreateSubnetGroupRequest & AddTags(TagsT &&value)
CreateSubnetGroupRequest & WithSubnetGroupName(SubnetGroupNameT &&value)
void SetDescription(DescriptionT &&value)
void SetSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Tag > & GetTags() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector