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/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace ApiGatewayV2 {
39 template <
typename CreatedDateT = Aws::Utils::DateTime>
41 m_createdDateHasBeenSet =
true;
42 m_createdDate = std::forward<CreatedDateT>(value);
44 template <
typename CreatedDateT = Aws::Utils::DateTime>
56 template <
typename NameT = Aws::String>
58 m_nameHasBeenSet =
true;
59 m_name = std::forward<NameT>(value);
61 template <
typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
73 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
75 m_securityGroupIdsHasBeenSet =
true;
76 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
78 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
83 template <
typename SecurityGroupIdsT = Aws::String>
85 m_securityGroupIdsHasBeenSet =
true;
86 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
96 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
98 m_subnetIdsHasBeenSet =
true;
99 m_subnetIds = std::forward<SubnetIdsT>(value);
101 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
106 template <
typename SubnetIdsT = Aws::String>
108 m_subnetIdsHasBeenSet =
true;
109 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
119 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 m_tagsHasBeenSet =
true;
122 m_tags = std::forward<TagsT>(value);
124 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 SetTags(std::forward<TagsT>(value));
129 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
131 m_tagsHasBeenSet =
true;
132 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
142 template <
typename VpcLinkIdT = Aws::String>
144 m_vpcLinkIdHasBeenSet =
true;
145 m_vpcLinkId = std::forward<VpcLinkIdT>(value);
147 template <
typename VpcLinkIdT = Aws::String>
160 m_vpcLinkStatusHasBeenSet =
true;
161 m_vpcLinkStatus = value;
174 template <
typename VpcLinkStatusMessageT = Aws::String>
176 m_vpcLinkStatusMessageHasBeenSet =
true;
177 m_vpcLinkStatusMessage = std::forward<VpcLinkStatusMessageT>(value);
179 template <
typename VpcLinkStatusMessageT = Aws::String>
192 m_vpcLinkVersionHasBeenSet =
true;
193 m_vpcLinkVersion = value;
204 template <
typename RequestIdT = Aws::String>
206 m_requestIdHasBeenSet =
true;
207 m_requestId = std::forward<RequestIdT>(value);
209 template <
typename RequestIdT = Aws::String>
235 bool m_createdDateHasBeenSet =
false;
236 bool m_nameHasBeenSet =
false;
237 bool m_securityGroupIdsHasBeenSet =
false;
238 bool m_subnetIdsHasBeenSet =
false;
239 bool m_tagsHasBeenSet =
false;
240 bool m_vpcLinkIdHasBeenSet =
false;
241 bool m_vpcLinkStatusHasBeenSet =
false;
242 bool m_vpcLinkStatusMessageHasBeenSet =
false;
243 bool m_vpcLinkVersionHasBeenSet =
false;
244 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)
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