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
53 inline void SetVirtualInterfaceName(
const char* value) { m_virtualInterfaceNameHasBeenSet =
true; m_virtualInterfaceName.assign(value); }
63 inline int GetVlan()
const{
return m_vlan; }
65 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
74 inline int GetAsn()
const{
return m_asn; }
76 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
85 inline int GetMtu()
const{
return m_mtu; }
87 inline void SetMtu(
int value) { m_mtuHasBeenSet =
true; m_mtu = value; }
100 inline void SetAuthKey(
const char* value) { m_authKeyHasBeenSet =
true; m_authKey.assign(value); }
114 inline void SetAmazonAddress(
const char* value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress.assign(value); }
128 inline void SetCustomerAddress(
const char* value) { m_customerAddressHasBeenSet =
true; m_customerAddress.assign(value); }
154 inline void SetVirtualGatewayId(
const char* value) { m_virtualGatewayIdHasBeenSet =
true; m_virtualGatewayId.assign(value); }
168 inline void SetDirectConnectGatewayId(
const char* value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId.assign(value); }
194 inline void SetEnableSiteLink(
bool value) { m_enableSiteLinkHasBeenSet =
true; m_enableSiteLink = value; }
200 bool m_virtualInterfaceNameHasBeenSet =
false;
203 bool m_vlanHasBeenSet =
false;
206 bool m_asnHasBeenSet =
false;
209 bool m_mtuHasBeenSet =
false;
212 bool m_authKeyHasBeenSet =
false;
215 bool m_amazonAddressHasBeenSet =
false;
218 bool m_customerAddressHasBeenSet =
false;
221 bool m_addressFamilyHasBeenSet =
false;
224 bool m_virtualGatewayIdHasBeenSet =
false;
227 bool m_directConnectGatewayIdHasBeenSet =
false;
230 bool m_tagsHasBeenSet =
false;
232 bool m_enableSiteLink;
233 bool m_enableSiteLinkHasBeenSet =
false;
NewPrivateVirtualInterface & WithVirtualGatewayId(const char *value)
bool VirtualGatewayIdHasBeenSet() const
NewPrivateVirtualInterface & WithVirtualGatewayId(Aws::String &&value)
NewPrivateVirtualInterface & WithMtu(int value)
NewPrivateVirtualInterface & WithDirectConnectGatewayId(const char *value)
void SetVirtualInterfaceName(const char *value)
NewPrivateVirtualInterface & WithAmazonAddress(Aws::String &&value)
NewPrivateVirtualInterface & WithAddressFamily(const AddressFamily &value)
NewPrivateVirtualInterface & WithAuthKey(const char *value)
NewPrivateVirtualInterface & WithEnableSiteLink(bool value)
bool AmazonAddressHasBeenSet() const
bool GetEnableSiteLink() const
NewPrivateVirtualInterface & WithDirectConnectGatewayId(const Aws::String &value)
bool AsnHasBeenSet() const
bool MtuHasBeenSet() const
bool VirtualInterfaceNameHasBeenSet() const
void SetEnableSiteLink(bool value)
const Aws::String & GetVirtualInterfaceName() const
NewPrivateVirtualInterface & WithCustomerAddress(const Aws::String &value)
NewPrivateVirtualInterface & WithCustomerAddress(const char *value)
NewPrivateVirtualInterface & WithDirectConnectGatewayId(Aws::String &&value)
void SetAuthKey(Aws::String &&value)
void SetAmazonAddress(const Aws::String &value)
void SetAmazonAddress(Aws::String &&value)
NewPrivateVirtualInterface & WithVirtualInterfaceName(const char *value)
bool AddressFamilyHasBeenSet() const
void SetVirtualInterfaceName(Aws::String &&value)
void SetVirtualGatewayId(Aws::String &&value)
const Aws::String & GetCustomerAddress() const
void SetAddressFamily(const AddressFamily &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetAddressFamily(AddressFamily &&value)
void SetDirectConnectGatewayId(Aws::String &&value)
NewPrivateVirtualInterface & WithVirtualInterfaceName(const Aws::String &value)
NewPrivateVirtualInterface & AddTags(Tag &&value)
NewPrivateVirtualInterface & WithAddressFamily(AddressFamily &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool EnableSiteLinkHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetAmazonAddress() const
const Aws::Vector< Tag > & GetTags() const
NewPrivateVirtualInterface & WithTags(const Aws::Vector< Tag > &value)
NewPrivateVirtualInterface & WithAuthKey(Aws::String &&value)
NewPrivateVirtualInterface & WithAmazonAddress(const Aws::String &value)
NewPrivateVirtualInterface & WithVlan(int value)
NewPrivateVirtualInterface & WithAuthKey(const Aws::String &value)
bool TagsHasBeenSet() const
NewPrivateVirtualInterface & WithVirtualGatewayId(const Aws::String &value)
const Aws::String & GetDirectConnectGatewayId() const
void SetCustomerAddress(Aws::String &&value)
void SetCustomerAddress(const char *value)
const Aws::String & GetAuthKey() const
bool DirectConnectGatewayIdHasBeenSet() const
void SetVirtualGatewayId(const Aws::String &value)
void SetDirectConnectGatewayId(const char *value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CustomerAddressHasBeenSet() const
NewPrivateVirtualInterface & WithAmazonAddress(const char *value)
NewPrivateVirtualInterface & WithVirtualInterfaceName(Aws::String &&value)
void SetVirtualInterfaceName(const Aws::String &value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterface()
AWS_DIRECTCONNECT_API NewPrivateVirtualInterface(Aws::Utils::Json::JsonView jsonValue)
void SetCustomerAddress(const Aws::String &value)
void SetAuthKey(const char *value)
void SetDirectConnectGatewayId(const Aws::String &value)
NewPrivateVirtualInterface & AddTags(const Tag &value)
NewPrivateVirtualInterface & WithTags(Aws::Vector< Tag > &&value)
NewPrivateVirtualInterface & WithCustomerAddress(Aws::String &&value)
const AddressFamily & GetAddressFamily() const
const Aws::String & GetVirtualGatewayId() const
void SetVirtualGatewayId(const char *value)
NewPrivateVirtualInterface & WithAsn(int value)
void SetAuthKey(const Aws::String &value)
bool AuthKeyHasBeenSet() const
bool VlanHasBeenSet() const
void SetAmazonAddress(const char *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