7#include <aws/apigatewayv2/ApiGatewayV2Request.h>
8#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16namespace ApiGatewayV2 {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
62 m_securityGroupIdsHasBeenSet =
true;
63 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
65 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
70 template <
typename SecurityGroupIdsT = Aws::String>
72 m_securityGroupIdsHasBeenSet =
true;
73 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
84 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
86 m_subnetIdsHasBeenSet =
true;
87 m_subnetIds = std::forward<SubnetIdsT>(value);
89 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
94 template <
typename SubnetIdsT = Aws::String>
96 m_subnetIdsHasBeenSet =
true;
97 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
108 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
110 m_tagsHasBeenSet =
true;
111 m_tags = std::forward<TagsT>(value);
113 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
115 SetTags(std::forward<TagsT>(value));
118 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
120 m_tagsHasBeenSet =
true;
121 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
133 bool m_nameHasBeenSet =
false;
134 bool m_securityGroupIdsHasBeenSet =
false;
135 bool m_subnetIdsHasBeenSet =
false;
136 bool m_tagsHasBeenSet =
false;
CreateVpcLinkRequest & WithSubnetIds(SubnetIdsT &&value)
bool NameHasBeenSet() const
void SetTags(TagsT &&value)
CreateVpcLinkRequest & WithName(NameT &&value)
CreateVpcLinkRequest & AddSubnetIds(SubnetIdsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetName(NameT &&value)
CreateVpcLinkRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool TagsHasBeenSet() const
bool SecurityGroupIdsHasBeenSet() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
CreateVpcLinkRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateVpcLinkRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_APIGATEWAYV2_API CreateVpcLinkRequest()=default
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
CreateVpcLinkRequest & WithTags(TagsT &&value)
bool SubnetIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::String & GetName() const
void SetSubnetIds(SubnetIdsT &&value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector