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>
51 template<
typename CreatedDateT = Aws::Utils::DateTime>
52 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
53 template<
typename CreatedDateT = Aws::Utils::DateTime>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
75 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
76 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
77 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
79 template<
typename SecurityGroupIdsT = Aws::String>
80 VpcLink&
AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
return *
this; }
89 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
90 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
91 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
93 template<
typename SubnetIdsT = Aws::String>
94 VpcLink&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
103 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
105 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
107 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
109 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
119 template<
typename VpcLinkIdT = Aws::String>
120 void SetVpcLinkId(VpcLinkIdT&& value) { m_vpcLinkIdHasBeenSet =
true; m_vpcLinkId = std::forward<VpcLinkIdT>(value); }
121 template<
typename VpcLinkIdT = Aws::String>
141 template<
typename VpcLinkStatusMessageT = Aws::String>
142 void SetVpcLinkStatusMessage(VpcLinkStatusMessageT&& value) { m_vpcLinkStatusMessageHasBeenSet =
true; m_vpcLinkStatusMessage = std::forward<VpcLinkStatusMessageT>(value); }
143 template<
typename VpcLinkStatusMessageT = Aws::String>
159 bool m_createdDateHasBeenSet =
false;
162 bool m_nameHasBeenSet =
false;
165 bool m_securityGroupIdsHasBeenSet =
false;
168 bool m_subnetIdsHasBeenSet =
false;
171 bool m_tagsHasBeenSet =
false;
174 bool m_vpcLinkIdHasBeenSet =
false;
177 bool m_vpcLinkStatusHasBeenSet =
false;
180 bool m_vpcLinkStatusMessageHasBeenSet =
false;
183 bool m_vpcLinkVersionHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::String & GetName() const
VpcLinkStatus GetVpcLinkStatus() const
bool VpcLinkStatusMessageHasBeenSet() const
VpcLinkVersion GetVpcLinkVersion() const
VpcLink & WithVpcLinkVersion(VpcLinkVersion value)
bool TagsHasBeenSet() const
const Aws::String & GetVpcLinkStatusMessage() const
VpcLink & WithTags(TagsT &&value)
bool CreatedDateHasBeenSet() const
AWS_APIGATEWAYV2_API VpcLink()=default
AWS_APIGATEWAYV2_API VpcLink(Aws::Utils::Json::JsonView jsonValue)
VpcLink & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_APIGATEWAYV2_API VpcLink & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcLink & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool SubnetIdsHasBeenSet() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
bool VpcLinkStatusHasBeenSet() const
void SetTags(TagsT &&value)
void SetCreatedDate(CreatedDateT &&value)
VpcLink & WithName(NameT &&value)
bool VpcLinkIdHasBeenSet() const
bool NameHasBeenSet() const
bool VpcLinkVersionHasBeenSet() const
const Aws::String & GetVpcLinkId() const
VpcLink & AddSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetVpcLinkVersion(VpcLinkVersion value)
VpcLink & WithCreatedDate(CreatedDateT &&value)
void SetVpcLinkStatus(VpcLinkStatus value)
VpcLink & WithSubnetIds(SubnetIdsT &&value)
bool SecurityGroupIdsHasBeenSet() const
void SetVpcLinkId(VpcLinkIdT &&value)
VpcLink & WithVpcLinkId(VpcLinkIdT &&value)
VpcLink & WithVpcLinkStatusMessage(VpcLinkStatusMessageT &&value)
VpcLink & AddSubnetIds(SubnetIdsT &&value)
void SetVpcLinkStatusMessage(VpcLinkStatusMessageT &&value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
VpcLink & WithVpcLinkStatus(VpcLinkStatus value)
void SetSubnetIds(SubnetIdsT &&value)
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