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
51 template<
typename VirtualInterfaceNameT = Aws::String>
52 void SetVirtualInterfaceName(VirtualInterfaceNameT&& value) { m_virtualInterfaceNameHasBeenSet =
true; m_virtualInterfaceName = std::forward<VirtualInterfaceNameT>(value); }
53 template<
typename VirtualInterfaceNameT = Aws::String>
61 inline int GetVlan()
const {
return m_vlan; }
63 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
72 inline int GetAsn()
const {
return m_asn; }
74 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
83 inline int GetMtu()
const {
return m_mtu; }
85 inline void SetMtu(
int value) { m_mtuHasBeenSet =
true; m_mtu = value; }
96 template<
typename AuthKeyT = Aws::String>
97 void SetAuthKey(AuthKeyT&& value) { m_authKeyHasBeenSet =
true; m_authKey = std::forward<AuthKeyT>(value); }
98 template<
typename AuthKeyT = Aws::String>
108 template<
typename AmazonAddressT = Aws::String>
109 void SetAmazonAddress(AmazonAddressT&& value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress = std::forward<AmazonAddressT>(value); }
110 template<
typename AmazonAddressT = Aws::String>
120 template<
typename CustomerAddressT = Aws::String>
121 void SetCustomerAddress(CustomerAddressT&& value) { m_customerAddressHasBeenSet =
true; m_customerAddress = std::forward<CustomerAddressT>(value); }
122 template<
typename CustomerAddressT = Aws::String>
142 template<
typename VirtualGatewayIdT = Aws::String>
143 void SetVirtualGatewayId(VirtualGatewayIdT&& value) { m_virtualGatewayIdHasBeenSet =
true; m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value); }
144 template<
typename VirtualGatewayIdT = Aws::String>
154 template<
typename DirectConnectGatewayIdT = Aws::String>
155 void SetDirectConnectGatewayId(DirectConnectGatewayIdT&& value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value); }
156 template<
typename DirectConnectGatewayIdT = Aws::String>
166 template<
typename TagsT = Aws::Vector<Tag>>
167 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
168 template<
typename TagsT = Aws::Vector<Tag>>
170 template<
typename TagsT = Tag>
180 inline void SetEnableSiteLink(
bool value) { m_enableSiteLinkHasBeenSet =
true; m_enableSiteLink = value; }
186 bool m_virtualInterfaceNameHasBeenSet =
false;
189 bool m_vlanHasBeenSet =
false;
192 bool m_asnHasBeenSet =
false;
195 bool m_mtuHasBeenSet =
false;
198 bool m_authKeyHasBeenSet =
false;
201 bool m_amazonAddressHasBeenSet =
false;
204 bool m_customerAddressHasBeenSet =
false;
207 bool m_addressFamilyHasBeenSet =
false;
210 bool m_virtualGatewayIdHasBeenSet =
false;
213 bool m_directConnectGatewayIdHasBeenSet =
false;
216 bool m_tagsHasBeenSet =
false;
218 bool m_enableSiteLink{
false};
219 bool m_enableSiteLinkHasBeenSet =
false;
bool VirtualGatewayIdHasBeenSet() const
AddressFamily GetAddressFamily() const
NewPrivateVirtualInterface & WithMtu(int value)
void SetVirtualInterfaceName(VirtualInterfaceNameT &&value)
NewPrivateVirtualInterface & WithEnableSiteLink(bool value)
bool AmazonAddressHasBeenSet() const
bool GetEnableSiteLink() const
bool AsnHasBeenSet() const
bool MtuHasBeenSet() const
bool VirtualInterfaceNameHasBeenSet() const
void SetEnableSiteLink(bool value)
const Aws::String & GetVirtualInterfaceName() const
NewPrivateVirtualInterface & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
void SetAmazonAddress(AmazonAddressT &&value)
bool AddressFamilyHasBeenSet() const
const Aws::String & GetCustomerAddress() const
NewPrivateVirtualInterface & WithAuthKey(AuthKeyT &&value)
NewPrivateVirtualInterface & WithAmazonAddress(AmazonAddressT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(TagsT &&value)
void SetAuthKey(AuthKeyT &&value)
bool EnableSiteLinkHasBeenSet() const
NewPrivateVirtualInterface & AddTags(TagsT &&value)
void SetCustomerAddress(CustomerAddressT &&value)
const Aws::String & GetAmazonAddress() const
const Aws::Vector< Tag > & GetTags() const
void SetAddressFamily(AddressFamily value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterface()=default
NewPrivateVirtualInterface & WithVlan(int value)
bool TagsHasBeenSet() const
NewPrivateVirtualInterface & WithDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
const Aws::String & GetDirectConnectGatewayId() const
void SetDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
NewPrivateVirtualInterface & WithTags(TagsT &&value)
NewPrivateVirtualInterface & WithVirtualGatewayId(VirtualGatewayIdT &&value)
const Aws::String & GetAuthKey() const
bool DirectConnectGatewayIdHasBeenSet() const
AWS_DIRECTCONNECT_API NewPrivateVirtualInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CustomerAddressHasBeenSet() const
NewPrivateVirtualInterface & WithAddressFamily(AddressFamily value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterface(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVirtualGatewayId() const
NewPrivateVirtualInterface & WithCustomerAddress(CustomerAddressT &&value)
NewPrivateVirtualInterface & WithAsn(int value)
void SetVirtualGatewayId(VirtualGatewayIdT &&value)
bool AuthKeyHasBeenSet() const
bool VlanHasBeenSet() 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