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; }
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; }
108 inline int GetMtu()
const {
return m_mtu; }
110 inline void SetMtu(
int value) { m_mtuHasBeenSet =
true; m_mtu = value; }
121 template<
typename AuthKeyT = Aws::String>
122 void SetAuthKey(AuthKeyT&& value) { m_authKeyHasBeenSet =
true; m_authKey = std::forward<AuthKeyT>(value); }
123 template<
typename AuthKeyT = Aws::String>
133 template<
typename AmazonAddressT = Aws::String>
134 void SetAmazonAddress(AmazonAddressT&& value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress = std::forward<AmazonAddressT>(value); }
135 template<
typename AmazonAddressT = Aws::String>
145 template<
typename CustomerAddressT = Aws::String>
146 void SetCustomerAddress(CustomerAddressT&& value) { m_customerAddressHasBeenSet =
true; m_customerAddress = std::forward<CustomerAddressT>(value); }
147 template<
typename CustomerAddressT = Aws::String>
167 template<
typename VirtualGatewayIdT = Aws::String>
168 void SetVirtualGatewayId(VirtualGatewayIdT&& value) { m_virtualGatewayIdHasBeenSet =
true; m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value); }
169 template<
typename VirtualGatewayIdT = Aws::String>
179 template<
typename DirectConnectGatewayIdT = Aws::String>
180 void SetDirectConnectGatewayId(DirectConnectGatewayIdT&& value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value); }
181 template<
typename DirectConnectGatewayIdT = Aws::String>
191 template<
typename TagsT = Aws::Vector<Tag>>
192 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
193 template<
typename TagsT = Aws::Vector<Tag>>
195 template<
typename TagsT = Tag>
205 inline void SetEnableSiteLink(
bool value) { m_enableSiteLinkHasBeenSet =
true; m_enableSiteLink = value; }
211 bool m_virtualInterfaceNameHasBeenSet =
false;
214 bool m_vlanHasBeenSet =
false;
217 bool m_asnHasBeenSet =
false;
219 long long m_asnLong{0};
220 bool m_asnLongHasBeenSet =
false;
223 bool m_mtuHasBeenSet =
false;
226 bool m_authKeyHasBeenSet =
false;
229 bool m_amazonAddressHasBeenSet =
false;
232 bool m_customerAddressHasBeenSet =
false;
235 bool m_addressFamilyHasBeenSet =
false;
238 bool m_virtualGatewayIdHasBeenSet =
false;
241 bool m_directConnectGatewayIdHasBeenSet =
false;
244 bool m_tagsHasBeenSet =
false;
246 bool m_enableSiteLink{
false};
247 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
void SetAsnLong(long long value)
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
NewPrivateVirtualInterface & WithAsnLong(long long value)
void SetAddressFamily(AddressFamily value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterface()=default
long long GetAsnLong() const
NewPrivateVirtualInterface & WithVlan(int value)
bool TagsHasBeenSet() const
bool AsnLongHasBeenSet() 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