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
52 template<
typename VirtualInterfaceNameT = Aws::String>
53 void SetVirtualInterfaceName(VirtualInterfaceNameT&& value) { m_virtualInterfaceNameHasBeenSet =
true; m_virtualInterfaceName = std::forward<VirtualInterfaceNameT>(value); }
54 template<
typename VirtualInterfaceNameT = Aws::String>
62 inline int GetVlan()
const {
return m_vlan; }
64 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
73 inline int GetAsn()
const {
return m_asn; }
75 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
86 template<
typename AuthKeyT = Aws::String>
87 void SetAuthKey(AuthKeyT&& value) { m_authKeyHasBeenSet =
true; m_authKey = std::forward<AuthKeyT>(value); }
88 template<
typename AuthKeyT = Aws::String>
98 template<
typename AmazonAddressT = Aws::String>
99 void SetAmazonAddress(AmazonAddressT&& value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress = std::forward<AmazonAddressT>(value); }
100 template<
typename AmazonAddressT = Aws::String>
110 template<
typename CustomerAddressT = Aws::String>
111 void SetCustomerAddress(CustomerAddressT&& value) { m_customerAddressHasBeenSet =
true; m_customerAddress = std::forward<CustomerAddressT>(value); }
112 template<
typename CustomerAddressT = Aws::String>
133 template<
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
134 void SetRouteFilterPrefixes(RouteFilterPrefixesT&& value) { m_routeFilterPrefixesHasBeenSet =
true; m_routeFilterPrefixes = std::forward<RouteFilterPrefixesT>(value); }
135 template<
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
137 template<
typename RouteFilterPrefixesT = RouteFilterPrefix>
147 template<
typename TagsT = Aws::Vector<Tag>>
148 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
149 template<
typename TagsT = Aws::Vector<Tag>>
151 template<
typename TagsT = Tag>
157 bool m_virtualInterfaceNameHasBeenSet =
false;
160 bool m_vlanHasBeenSet =
false;
163 bool m_asnHasBeenSet =
false;
166 bool m_authKeyHasBeenSet =
false;
169 bool m_amazonAddressHasBeenSet =
false;
172 bool m_customerAddressHasBeenSet =
false;
175 bool m_addressFamilyHasBeenSet =
false;
178 bool m_routeFilterPrefixesHasBeenSet =
false;
181 bool m_tagsHasBeenSet =
false;
NewPublicVirtualInterface & WithCustomerAddress(CustomerAddressT &&value)
NewPublicVirtualInterface & WithAddressFamily(AddressFamily value)
NewPublicVirtualInterface & AddRouteFilterPrefixes(RouteFilterPrefixesT &&value)
void SetAmazonAddress(AmazonAddressT &&value)
NewPublicVirtualInterface & AddTags(TagsT &&value)
const Aws::String & GetAuthKey() const
bool TagsHasBeenSet() const
bool VlanHasBeenSet() const
bool CustomerAddressHasBeenSet() const
bool AddressFamilyHasBeenSet() const
bool AuthKeyHasBeenSet() const
const Aws::String & GetVirtualInterfaceName() const
AddressFamily GetAddressFamily() const
AWS_DIRECTCONNECT_API NewPublicVirtualInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
NewPublicVirtualInterface & WithAmazonAddress(AmazonAddressT &&value)
bool RouteFilterPrefixesHasBeenSet() const
void SetAuthKey(AuthKeyT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool AsnHasBeenSet() const
NewPublicVirtualInterface & WithAuthKey(AuthKeyT &&value)
const Aws::String & GetAmazonAddress() const
NewPublicVirtualInterface & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
void SetRouteFilterPrefixes(RouteFilterPrefixesT &&value)
NewPublicVirtualInterface & WithRouteFilterPrefixes(RouteFilterPrefixesT &&value)
bool VirtualInterfaceNameHasBeenSet() const
NewPublicVirtualInterface & WithTags(TagsT &&value)
void SetCustomerAddress(CustomerAddressT &&value)
AWS_DIRECTCONNECT_API NewPublicVirtualInterface()=default
AWS_DIRECTCONNECT_API NewPublicVirtualInterface(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RouteFilterPrefix > & GetRouteFilterPrefixes() const
void SetAddressFamily(AddressFamily value)
void SetTags(TagsT &&value)
NewPublicVirtualInterface & WithVlan(int value)
const Aws::String & GetCustomerAddress() const
void SetVirtualInterfaceName(VirtualInterfaceNameT &&value)
const Aws::Vector< Tag > & GetTags() const
NewPublicVirtualInterface & WithAsn(int value)
bool AmazonAddressHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue