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/Tag.h>
24namespace 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; }
81 inline int GetAsn()
const {
return m_asn; }
83 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
98 inline long long GetAsnLong()
const {
return m_asnLong; }
100 inline void SetAsnLong(
long long value) { m_asnLongHasBeenSet =
true; m_asnLong = value; }
109 inline int GetMtu()
const {
return m_mtu; }
111 inline void SetMtu(
int value) { m_mtuHasBeenSet =
true; m_mtu = value; }
122 template<
typename AuthKeyT = Aws::String>
123 void SetAuthKey(AuthKeyT&& value) { m_authKeyHasBeenSet =
true; m_authKey = std::forward<AuthKeyT>(value); }
124 template<
typename AuthKeyT = Aws::String>
134 template<
typename AmazonAddressT = Aws::String>
135 void SetAmazonAddress(AmazonAddressT&& value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress = std::forward<AmazonAddressT>(value); }
136 template<
typename AmazonAddressT = Aws::String>
146 template<
typename CustomerAddressT = Aws::String>
147 void SetCustomerAddress(CustomerAddressT&& value) { m_customerAddressHasBeenSet =
true; m_customerAddress = std::forward<CustomerAddressT>(value); }
148 template<
typename CustomerAddressT = Aws::String>
168 template<
typename TagsT = Aws::Vector<Tag>>
169 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
170 template<
typename TagsT = Aws::Vector<Tag>>
172 template<
typename TagsT = Tag>
178 bool m_virtualInterfaceNameHasBeenSet =
false;
181 bool m_vlanHasBeenSet =
false;
184 bool m_asnHasBeenSet =
false;
186 long long m_asnLong{0};
187 bool m_asnLongHasBeenSet =
false;
190 bool m_mtuHasBeenSet =
false;
193 bool m_authKeyHasBeenSet =
false;
196 bool m_amazonAddressHasBeenSet =
false;
199 bool m_customerAddressHasBeenSet =
false;
202 bool m_addressFamilyHasBeenSet =
false;
205 bool m_tagsHasBeenSet =
false;
const Aws::String & GetVirtualInterfaceName() const
NewTransitVirtualInterfaceAllocation & WithAmazonAddress(AmazonAddressT &&value)
bool VirtualInterfaceNameHasBeenSet() const
bool AsnLongHasBeenSet() const
void SetAsnLong(long long value)
bool VlanHasBeenSet() const
AWS_DIRECTCONNECT_API NewTransitVirtualInterfaceAllocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AddressFamily GetAddressFamily() const
AWS_DIRECTCONNECT_API NewTransitVirtualInterfaceAllocation()=default
bool MtuHasBeenSet() const
void SetAddressFamily(AddressFamily value)
NewTransitVirtualInterfaceAllocation & WithMtu(int value)
void SetTags(TagsT &&value)
bool AuthKeyHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool AmazonAddressHasBeenSet() const
long long GetAsnLong() const
bool TagsHasBeenSet() const
NewTransitVirtualInterfaceAllocation & WithAddressFamily(AddressFamily value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
NewTransitVirtualInterfaceAllocation & AddTags(TagsT &&value)
void SetVirtualInterfaceName(VirtualInterfaceNameT &&value)
bool AddressFamilyHasBeenSet() const
NewTransitVirtualInterfaceAllocation & WithAsnLong(long long value)
const Aws::String & GetAuthKey() const
bool AsnHasBeenSet() const
NewTransitVirtualInterfaceAllocation & WithCustomerAddress(CustomerAddressT &&value)
NewTransitVirtualInterfaceAllocation & WithAuthKey(AuthKeyT &&value)
const Aws::String & GetCustomerAddress() const
NewTransitVirtualInterfaceAllocation & WithTags(TagsT &&value)
void SetAuthKey(AuthKeyT &&value)
const Aws::String & GetAmazonAddress() const
AWS_DIRECTCONNECT_API NewTransitVirtualInterfaceAllocation(Aws::Utils::Json::JsonView jsonValue)
bool CustomerAddressHasBeenSet() const
NewTransitVirtualInterfaceAllocation & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
NewTransitVirtualInterfaceAllocation & WithVlan(int value)
void SetAmazonAddress(AmazonAddressT &&value)
void SetCustomerAddress(CustomerAddressT &&value)
NewTransitVirtualInterfaceAllocation & WithAsn(int 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