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; }
73 inline int GetAsn()
const {
return m_asn; }
75 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
84 inline int GetMtu()
const {
return m_mtu; }
86 inline void SetMtu(
int value) { m_mtuHasBeenSet =
true; m_mtu = value; }
97 template<
typename AuthKeyT = Aws::String>
98 void SetAuthKey(AuthKeyT&& value) { m_authKeyHasBeenSet =
true; m_authKey = std::forward<AuthKeyT>(value); }
99 template<
typename AuthKeyT = Aws::String>
109 template<
typename AmazonAddressT = Aws::String>
110 void SetAmazonAddress(AmazonAddressT&& value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress = std::forward<AmazonAddressT>(value); }
111 template<
typename AmazonAddressT = Aws::String>
121 template<
typename CustomerAddressT = Aws::String>
122 void SetCustomerAddress(CustomerAddressT&& value) { m_customerAddressHasBeenSet =
true; m_customerAddress = std::forward<CustomerAddressT>(value); }
123 template<
typename CustomerAddressT = Aws::String>
143 template<
typename TagsT = Aws::Vector<Tag>>
144 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
145 template<
typename TagsT = Aws::Vector<Tag>>
147 template<
typename TagsT = Tag>
153 bool m_virtualInterfaceNameHasBeenSet =
false;
156 bool m_vlanHasBeenSet =
false;
159 bool m_asnHasBeenSet =
false;
162 bool m_mtuHasBeenSet =
false;
165 bool m_authKeyHasBeenSet =
false;
168 bool m_amazonAddressHasBeenSet =
false;
171 bool m_customerAddressHasBeenSet =
false;
174 bool m_addressFamilyHasBeenSet =
false;
177 bool m_tagsHasBeenSet =
false;
const Aws::String & GetVirtualInterfaceName() const
NewTransitVirtualInterfaceAllocation & WithAmazonAddress(AmazonAddressT &&value)
bool VirtualInterfaceNameHasBeenSet() const
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
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
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