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>
131 template<
typename CustomerAddressT = Aws::String>
132 void SetCustomerAddress(CustomerAddressT&& value) { m_customerAddressHasBeenSet =
true; m_customerAddress = std::forward<CustomerAddressT>(value); }
133 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_addressFamilyHasBeenSet =
false;
174 bool m_customerAddressHasBeenSet =
false;
177 bool m_tagsHasBeenSet =
false;
bool CustomerAddressHasBeenSet() const
bool VirtualInterfaceNameHasBeenSet() const
const Aws::String & GetCustomerAddress() const
void SetTags(TagsT &&value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterfaceAllocation()=default
AWS_DIRECTCONNECT_API NewPrivateVirtualInterfaceAllocation(Aws::Utils::Json::JsonView jsonValue)
NewPrivateVirtualInterfaceAllocation & WithMtu(int value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAuthKey(AuthKeyT &&value)
const Aws::String & GetVirtualInterfaceName() const
NewPrivateVirtualInterfaceAllocation & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
const Aws::String & GetAmazonAddress() const
NewPrivateVirtualInterfaceAllocation & WithAsn(int value)
bool TagsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool AddressFamilyHasBeenSet() const
AddressFamily GetAddressFamily() const
bool AuthKeyHasBeenSet() const
void SetAmazonAddress(AmazonAddressT &&value)
NewPrivateVirtualInterfaceAllocation & WithAddressFamily(AddressFamily value)
bool MtuHasBeenSet() const
const Aws::String & GetAuthKey() const
bool AsnHasBeenSet() const
NewPrivateVirtualInterfaceAllocation & WithCustomerAddress(CustomerAddressT &&value)
NewPrivateVirtualInterfaceAllocation & WithAuthKey(AuthKeyT &&value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterfaceAllocation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVirtualInterfaceName(VirtualInterfaceNameT &&value)
bool AmazonAddressHasBeenSet() const
bool VlanHasBeenSet() const
NewPrivateVirtualInterfaceAllocation & WithTags(TagsT &&value)
NewPrivateVirtualInterfaceAllocation & WithAmazonAddress(AmazonAddressT &&value)
void SetCustomerAddress(CustomerAddressT &&value)
NewPrivateVirtualInterfaceAllocation & WithVlan(int value)
void SetAddressFamily(AddressFamily value)
NewPrivateVirtualInterfaceAllocation & AddTags(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