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 SetDirectConnectGatewayId(
const char* value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId.assign(value); }
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_directConnectGatewayIdHasBeenSet =
false;
213 bool m_tagsHasBeenSet =
false;
215 bool m_enableSiteLink;
216 bool m_enableSiteLinkHasBeenSet =
false;
bool DirectConnectGatewayIdHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
NewTransitVirtualInterface & WithAuthKey(const Aws::String &value)
void SetAuthKey(const char *value)
NewTransitVirtualInterface & WithVirtualInterfaceName(const char *value)
bool VirtualInterfaceNameHasBeenSet() const
bool AddressFamilyHasBeenSet() const
void SetVirtualInterfaceName(const Aws::String &value)
NewTransitVirtualInterface & WithVlan(int value)
NewTransitVirtualInterface & WithAmazonAddress(const Aws::String &value)
void SetDirectConnectGatewayId(const Aws::String &value)
NewTransitVirtualInterface & WithAsn(int value)
NewTransitVirtualInterface & WithDirectConnectGatewayId(const Aws::String &value)
void SetEnableSiteLink(bool value)
void SetAmazonAddress(const Aws::String &value)
NewTransitVirtualInterface & WithAddressFamily(const AddressFamily &value)
void SetCustomerAddress(Aws::String &&value)
AWS_DIRECTCONNECT_API NewTransitVirtualInterface(Aws::Utils::Json::JsonView jsonValue)
bool EnableSiteLinkHasBeenSet() const
void SetVirtualInterfaceName(Aws::String &&value)
const AddressFamily & GetAddressFamily() const
void SetAddressFamily(const AddressFamily &value)
const Aws::String & GetDirectConnectGatewayId() const
void SetCustomerAddress(const Aws::String &value)
bool MtuHasBeenSet() const
NewTransitVirtualInterface & WithCustomerAddress(const char *value)
bool TagsHasBeenSet() const
NewTransitVirtualInterface & WithTags(const Aws::Vector< Tag > &value)
void SetAmazonAddress(const char *value)
AWS_DIRECTCONNECT_API NewTransitVirtualInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
NewTransitVirtualInterface & AddTags(Tag &&value)
void SetDirectConnectGatewayId(Aws::String &&value)
NewTransitVirtualInterface & WithAuthKey(const char *value)
void SetAuthKey(const Aws::String &value)
NewTransitVirtualInterface & WithVirtualInterfaceName(Aws::String &&value)
NewTransitVirtualInterface & WithMtu(int value)
NewTransitVirtualInterface & WithEnableSiteLink(bool value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDirectConnectGatewayId(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetVirtualInterfaceName() const
NewTransitVirtualInterface & WithAddressFamily(AddressFamily &&value)
NewTransitVirtualInterface & WithDirectConnectGatewayId(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
bool GetEnableSiteLink() const
void SetCustomerAddress(const char *value)
NewTransitVirtualInterface & WithCustomerAddress(Aws::String &&value)
bool AuthKeyHasBeenSet() const
NewTransitVirtualInterface & WithVirtualInterfaceName(const Aws::String &value)
NewTransitVirtualInterface & WithDirectConnectGatewayId(Aws::String &&value)
void SetAmazonAddress(Aws::String &&value)
NewTransitVirtualInterface & WithAuthKey(Aws::String &&value)
NewTransitVirtualInterface & WithAmazonAddress(Aws::String &&value)
NewTransitVirtualInterface & AddTags(const Tag &value)
bool CustomerAddressHasBeenSet() const
const Aws::String & GetCustomerAddress() const
bool AsnHasBeenSet() const
const Aws::String & GetAmazonAddress() const
bool VlanHasBeenSet() const
NewTransitVirtualInterface & WithCustomerAddress(const Aws::String &value)
void SetAddressFamily(AddressFamily &&value)
AWS_DIRECTCONNECT_API NewTransitVirtualInterface()
NewTransitVirtualInterface & WithTags(Aws::Vector< Tag > &&value)
void SetAuthKey(Aws::String &&value)
void SetVirtualInterfaceName(const char *value)
bool AmazonAddressHasBeenSet() const
const Aws::String & GetAuthKey() const
NewTransitVirtualInterface & WithAmazonAddress(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