7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/apigatewayv2/model/VpcLinkStatus.h>
13#include <aws/apigatewayv2/model/VpcLinkVersion.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename CreatedDateT = Aws::Utils::DateTime>
46 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
47 template<
typename CreatedDateT = Aws::Utils::DateTime>
56 template<
typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
58 template<
typename NameT = Aws::String>
67 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
68 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
69 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
71 template<
typename SecurityGroupIdsT = Aws::String>
72 GetVpcLinkResult&
AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
return *
this; }
80 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
81 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
82 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
84 template<
typename SubnetIdsT = Aws::String>
85 GetVpcLinkResult&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
93 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
94 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
95 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
99 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
108 template<
typename VpcLinkIdT = Aws::String>
109 void SetVpcLinkId(VpcLinkIdT&& value) { m_vpcLinkIdHasBeenSet =
true; m_vpcLinkId = std::forward<VpcLinkIdT>(value); }
110 template<
typename VpcLinkIdT = Aws::String>
128 template<
typename VpcLinkStatusMessageT = Aws::String>
129 void SetVpcLinkStatusMessage(VpcLinkStatusMessageT&& value) { m_vpcLinkStatusMessageHasBeenSet =
true; m_vpcLinkStatusMessage = std::forward<VpcLinkStatusMessageT>(value); }
130 template<
typename VpcLinkStatusMessageT = Aws::String>
146 template<
typename RequestIdT = Aws::String>
147 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
148 template<
typename RequestIdT = Aws::String>
154 bool m_createdDateHasBeenSet =
false;
157 bool m_nameHasBeenSet =
false;
160 bool m_securityGroupIdsHasBeenSet =
false;
163 bool m_subnetIdsHasBeenSet =
false;
166 bool m_tagsHasBeenSet =
false;
169 bool m_vpcLinkIdHasBeenSet =
false;
172 bool m_vpcLinkStatusHasBeenSet =
false;
175 bool m_vpcLinkStatusMessageHasBeenSet =
false;
178 bool m_vpcLinkVersionHasBeenSet =
false;
181 bool m_requestIdHasBeenSet =
false;
GetVpcLinkResult & WithSecurityGroupIds(SecurityGroupIdsT &&value)
GetVpcLinkResult & WithVpcLinkId(VpcLinkIdT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
AWS_APIGATEWAYV2_API GetVpcLinkResult()=default
void SetVpcLinkVersion(VpcLinkVersion value)
GetVpcLinkResult & WithCreatedDate(CreatedDateT &&value)
VpcLinkVersion GetVpcLinkVersion() const
GetVpcLinkResult & WithRequestId(RequestIdT &&value)
GetVpcLinkResult & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetVpcLinkResult & WithVpcLinkStatus(VpcLinkStatus value)
const Aws::String & GetVpcLinkId() const
GetVpcLinkResult & WithName(NameT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::String & GetVpcLinkStatusMessage() const
void SetVpcLinkId(VpcLinkIdT &&value)
void SetName(NameT &&value)
void SetRequestId(RequestIdT &&value)
void SetVpcLinkStatusMessage(VpcLinkStatusMessageT &&value)
GetVpcLinkResult & AddSubnetIds(SubnetIdsT &&value)
const Aws::String & GetRequestId() const
GetVpcLinkResult & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetVpcLinkStatus(VpcLinkStatus value)
GetVpcLinkResult & WithVpcLinkVersion(VpcLinkVersion value)
void SetSubnetIds(SubnetIdsT &&value)
void SetCreatedDate(CreatedDateT &&value)
VpcLinkStatus GetVpcLinkStatus() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
GetVpcLinkResult & WithSubnetIds(SubnetIdsT &&value)
AWS_APIGATEWAYV2_API GetVpcLinkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetVpcLinkResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetName() const
void SetTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
GetVpcLinkResult & WithVpcLinkStatusMessage(VpcLinkStatusMessageT &&value)
AWS_APIGATEWAYV2_API GetVpcLinkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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