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; }
80 inline int GetAsn()
const {
return m_asn; }
82 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
97 inline long long GetAsnLong()
const {
return m_asnLong; }
99 inline void SetAsnLong(
long long value) { m_asnLongHasBeenSet =
true; m_asnLong = value; }
110 template<
typename AuthKeyT = Aws::String>
111 void SetAuthKey(AuthKeyT&& value) { m_authKeyHasBeenSet =
true; m_authKey = std::forward<AuthKeyT>(value); }
112 template<
typename AuthKeyT = Aws::String>
122 template<
typename AmazonAddressT = Aws::String>
123 void SetAmazonAddress(AmazonAddressT&& value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress = std::forward<AmazonAddressT>(value); }
124 template<
typename AmazonAddressT = Aws::String>
134 template<
typename CustomerAddressT = Aws::String>
135 void SetCustomerAddress(CustomerAddressT&& value) { m_customerAddressHasBeenSet =
true; m_customerAddress = std::forward<CustomerAddressT>(value); }
136 template<
typename CustomerAddressT = Aws::String>
157 template<
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
158 void SetRouteFilterPrefixes(RouteFilterPrefixesT&& value) { m_routeFilterPrefixesHasBeenSet =
true; m_routeFilterPrefixes = std::forward<RouteFilterPrefixesT>(value); }
159 template<
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
161 template<
typename RouteFilterPrefixesT = RouteFilterPrefix>
171 template<
typename TagsT = Aws::Vector<Tag>>
172 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
173 template<
typename TagsT = Aws::Vector<Tag>>
175 template<
typename TagsT = Tag>
181 bool m_virtualInterfaceNameHasBeenSet =
false;
184 bool m_vlanHasBeenSet =
false;
187 bool m_asnHasBeenSet =
false;
189 long long m_asnLong{0};
190 bool m_asnLongHasBeenSet =
false;
193 bool m_authKeyHasBeenSet =
false;
196 bool m_amazonAddressHasBeenSet =
false;
199 bool m_customerAddressHasBeenSet =
false;
202 bool m_addressFamilyHasBeenSet =
false;
205 bool m_routeFilterPrefixesHasBeenSet =
false;
208 bool m_tagsHasBeenSet =
false;
NewPublicVirtualInterface & WithCustomerAddress(CustomerAddressT &&value)
NewPublicVirtualInterface & WithAddressFamily(AddressFamily value)
NewPublicVirtualInterface & AddRouteFilterPrefixes(RouteFilterPrefixesT &&value)
void SetAsnLong(long long 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
NewPublicVirtualInterface & WithAsnLong(long long value)
bool AuthKeyHasBeenSet() const
const Aws::String & GetVirtualInterfaceName() const
AddressFamily GetAddressFamily() const
bool AsnLongHasBeenSet() 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
long long GetAsnLong() 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