7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/VpcLinkStatus.h>
9#include <aws/apigatewayv2/model/VpcLinkVersion.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace ApiGatewayV2 {
40 template <
typename CreatedDateT = Aws::Utils::DateTime>
42 m_createdDateHasBeenSet =
true;
43 m_createdDate = std::forward<CreatedDateT>(value);
45 template <
typename CreatedDateT = Aws::Utils::DateTime>
57 template <
typename NameT = Aws::String>
59 m_nameHasBeenSet =
true;
60 m_name = std::forward<NameT>(value);
62 template <
typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
74 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
76 m_securityGroupIdsHasBeenSet =
true;
77 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
79 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
84 template <
typename SecurityGroupIdsT = Aws::String>
86 m_securityGroupIdsHasBeenSet =
true;
87 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
97 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
99 m_subnetIdsHasBeenSet =
true;
100 m_subnetIds = std::forward<SubnetIdsT>(value);
102 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
107 template <
typename SubnetIdsT = Aws::String>
109 m_subnetIdsHasBeenSet =
true;
110 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
120 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
122 m_tagsHasBeenSet =
true;
123 m_tags = std::forward<TagsT>(value);
125 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 SetTags(std::forward<TagsT>(value));
130 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
132 m_tagsHasBeenSet =
true;
133 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
143 template <
typename VpcLinkIdT = Aws::String>
145 m_vpcLinkIdHasBeenSet =
true;
146 m_vpcLinkId = std::forward<VpcLinkIdT>(value);
148 template <
typename VpcLinkIdT = Aws::String>
161 m_vpcLinkStatusHasBeenSet =
true;
162 m_vpcLinkStatus = value;
175 template <
typename VpcLinkStatusMessageT = Aws::String>
177 m_vpcLinkStatusMessageHasBeenSet =
true;
178 m_vpcLinkStatusMessage = std::forward<VpcLinkStatusMessageT>(value);
180 template <
typename VpcLinkStatusMessageT = Aws::String>
193 m_vpcLinkVersionHasBeenSet =
true;
194 m_vpcLinkVersion = value;
205 template <
typename RequestIdT = Aws::String>
207 m_requestIdHasBeenSet =
true;
208 m_requestId = std::forward<RequestIdT>(value);
210 template <
typename RequestIdT = Aws::String>
239 bool m_createdDateHasBeenSet =
false;
240 bool m_nameHasBeenSet =
false;
241 bool m_securityGroupIdsHasBeenSet =
false;
242 bool m_subnetIdsHasBeenSet =
false;
243 bool m_tagsHasBeenSet =
false;
244 bool m_vpcLinkIdHasBeenSet =
false;
245 bool m_vpcLinkStatusHasBeenSet =
false;
246 bool m_vpcLinkStatusMessageHasBeenSet =
false;
247 bool m_vpcLinkVersionHasBeenSet =
false;
248 bool m_requestIdHasBeenSet =
false;
CreateVpcLinkResult & WithSubnetIds(SubnetIdsT &&value)
void SetSubnetIds(SubnetIdsT &&value)
CreateVpcLinkResult & WithTags(TagsT &&value)
CreateVpcLinkResult & WithCreatedDate(CreatedDateT &&value)
VpcLinkStatus GetVpcLinkStatus() const
void SetVpcLinkStatusMessage(VpcLinkStatusMessageT &&value)
void SetVpcLinkId(VpcLinkIdT &&value)
const Aws::String & GetVpcLinkStatusMessage() const
CreateVpcLinkResult & WithVpcLinkId(VpcLinkIdT &&value)
CreateVpcLinkResult & WithVpcLinkVersion(VpcLinkVersion value)
CreateVpcLinkResult & WithVpcLinkStatus(VpcLinkStatus value)
CreateVpcLinkResult & AddSubnetIds(SubnetIdsT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
CreateVpcLinkResult & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_APIGATEWAYV2_API CreateVpcLinkResult()=default
CreateVpcLinkResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateVpcLinkResult & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetVpcLinkStatus(VpcLinkStatus value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetName(NameT &&value)
const Aws::String & GetRequestId() const
void SetTags(TagsT &&value)
const Aws::String & GetName() const
CreateVpcLinkResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_APIGATEWAYV2_API CreateVpcLinkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APIGATEWAYV2_API CreateVpcLinkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateVpcLinkResult & WithName(NameT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
CreateVpcLinkResult & WithVpcLinkStatusMessage(VpcLinkStatusMessageT &&value)
void SetCreatedDate(CreatedDateT &&value)
const Aws::String & GetVpcLinkId() const
void SetVpcLinkVersion(VpcLinkVersion value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
VpcLinkVersion GetVpcLinkVersion() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
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
Aws::Utils::Json::JsonValue JsonValue