7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/AddressFamily.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/directconnect/model/RouteFilterPrefix.h>
12#include <aws/directconnect/model/Tag.h>
25namespace DirectConnect
53 template<
typename VirtualInterfaceNameT = Aws::String>
54 void SetVirtualInterfaceName(VirtualInterfaceNameT&& value) { m_virtualInterfaceNameHasBeenSet =
true; m_virtualInterfaceName = std::forward<VirtualInterfaceNameT>(value); }
55 template<
typename VirtualInterfaceNameT = Aws::String>
63 inline int GetVlan()
const {
return m_vlan; }
65 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
74 inline int GetAsn()
const {
return m_asn; }
76 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
87 template<
typename AuthKeyT = Aws::String>
88 void SetAuthKey(AuthKeyT&& value) { m_authKeyHasBeenSet =
true; m_authKey = std::forward<AuthKeyT>(value); }
89 template<
typename AuthKeyT = Aws::String>
99 template<
typename AmazonAddressT = Aws::String>
100 void SetAmazonAddress(AmazonAddressT&& value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress = std::forward<AmazonAddressT>(value); }
101 template<
typename AmazonAddressT = Aws::String>
111 template<
typename CustomerAddressT = Aws::String>
112 void SetCustomerAddress(CustomerAddressT&& value) { m_customerAddressHasBeenSet =
true; m_customerAddress = std::forward<CustomerAddressT>(value); }
113 template<
typename CustomerAddressT = Aws::String>
134 template<
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
135 void SetRouteFilterPrefixes(RouteFilterPrefixesT&& value) { m_routeFilterPrefixesHasBeenSet =
true; m_routeFilterPrefixes = std::forward<RouteFilterPrefixesT>(value); }
136 template<
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
138 template<
typename RouteFilterPrefixesT = RouteFilterPrefix>
148 template<
typename TagsT = Aws::Vector<Tag>>
149 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
150 template<
typename TagsT = Aws::Vector<Tag>>
152 template<
typename TagsT = Tag>
158 bool m_virtualInterfaceNameHasBeenSet =
false;
161 bool m_vlanHasBeenSet =
false;
164 bool m_asnHasBeenSet =
false;
167 bool m_authKeyHasBeenSet =
false;
170 bool m_amazonAddressHasBeenSet =
false;
173 bool m_customerAddressHasBeenSet =
false;
176 bool m_addressFamilyHasBeenSet =
false;
179 bool m_routeFilterPrefixesHasBeenSet =
false;
182 bool m_tagsHasBeenSet =
false;
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAddressFamily(AddressFamily value)
bool AsnHasBeenSet() const
void SetRouteFilterPrefixes(RouteFilterPrefixesT &&value)
NewPublicVirtualInterfaceAllocation & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
void SetVirtualInterfaceName(VirtualInterfaceNameT &&value)
NewPublicVirtualInterfaceAllocation & AddRouteFilterPrefixes(RouteFilterPrefixesT &&value)
NewPublicVirtualInterfaceAllocation & WithRouteFilterPrefixes(RouteFilterPrefixesT &&value)
const Aws::Vector< RouteFilterPrefix > & GetRouteFilterPrefixes() const
const Aws::String & GetAmazonAddress() const
bool RouteFilterPrefixesHasBeenSet() const
const Aws::String & GetCustomerAddress() const
AWS_DIRECTCONNECT_API NewPublicVirtualInterfaceAllocation(Aws::Utils::Json::JsonView jsonValue)
AddressFamily GetAddressFamily() const
void SetCustomerAddress(CustomerAddressT &&value)
NewPublicVirtualInterfaceAllocation & WithAsn(int value)
bool AddressFamilyHasBeenSet() const
NewPublicVirtualInterfaceAllocation & WithAmazonAddress(AmazonAddressT &&value)
AWS_DIRECTCONNECT_API NewPublicVirtualInterfaceAllocation()=default
bool CustomerAddressHasBeenSet() const
NewPublicVirtualInterfaceAllocation & AddTags(TagsT &&value)
NewPublicVirtualInterfaceAllocation & WithCustomerAddress(CustomerAddressT &&value)
NewPublicVirtualInterfaceAllocation & WithAuthKey(AuthKeyT &&value)
const Aws::String & GetAuthKey() const
NewPublicVirtualInterfaceAllocation & WithVlan(int value)
const Aws::Vector< Tag > & GetTags() const
bool VirtualInterfaceNameHasBeenSet() const
bool AuthKeyHasBeenSet() const
void SetAuthKey(AuthKeyT &&value)
bool AmazonAddressHasBeenSet() const
const Aws::String & GetVirtualInterfaceName() const
NewPublicVirtualInterfaceAllocation & WithAddressFamily(AddressFamily value)
AWS_DIRECTCONNECT_API NewPublicVirtualInterfaceAllocation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VlanHasBeenSet() const
bool TagsHasBeenSet() const
void SetAmazonAddress(AmazonAddressT &&value)
NewPublicVirtualInterfaceAllocation & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue