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>
24namespace ApiGatewayV2 {
45 template <
typename CreatedDateT = Aws::Utils::DateTime>
47 m_createdDateHasBeenSet =
true;
48 m_createdDate = std::forward<CreatedDateT>(value);
50 template <
typename CreatedDateT = Aws::Utils::DateTime>
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
83 m_securityGroupIdsHasBeenSet =
true;
84 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
86 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
91 template <
typename SecurityGroupIdsT = Aws::String>
93 m_securityGroupIdsHasBeenSet =
true;
94 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
105 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
107 m_subnetIdsHasBeenSet =
true;
108 m_subnetIds = std::forward<SubnetIdsT>(value);
110 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
115 template <
typename SubnetIdsT = Aws::String>
117 m_subnetIdsHasBeenSet =
true;
118 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
129 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 m_tagsHasBeenSet =
true;
132 m_tags = std::forward<TagsT>(value);
134 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 SetTags(std::forward<TagsT>(value));
139 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
141 m_tagsHasBeenSet =
true;
142 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
153 template <
typename VpcLinkIdT = Aws::String>
155 m_vpcLinkIdHasBeenSet =
true;
156 m_vpcLinkId = std::forward<VpcLinkIdT>(value);
158 template <
typename VpcLinkIdT = Aws::String>
172 m_vpcLinkStatusHasBeenSet =
true;
173 m_vpcLinkStatus = value;
187 template <
typename VpcLinkStatusMessageT = Aws::String>
189 m_vpcLinkStatusMessageHasBeenSet =
true;
190 m_vpcLinkStatusMessage = std::forward<VpcLinkStatusMessageT>(value);
192 template <
typename VpcLinkStatusMessageT = Aws::String>
206 m_vpcLinkVersionHasBeenSet =
true;
207 m_vpcLinkVersion = value;
232 bool m_createdDateHasBeenSet =
false;
233 bool m_nameHasBeenSet =
false;
234 bool m_securityGroupIdsHasBeenSet =
false;
235 bool m_subnetIdsHasBeenSet =
false;
236 bool m_tagsHasBeenSet =
false;
237 bool m_vpcLinkIdHasBeenSet =
false;
238 bool m_vpcLinkStatusHasBeenSet =
false;
239 bool m_vpcLinkStatusMessageHasBeenSet =
false;
240 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