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
54 inline void SetVirtualInterfaceName(
const char* value) { m_virtualInterfaceNameHasBeenSet =
true; m_virtualInterfaceName.assign(value); }
64 inline int GetVlan()
const{
return m_vlan; }
66 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
75 inline int GetAsn()
const{
return m_asn; }
77 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
86 inline int GetMtu()
const{
return m_mtu; }
88 inline void SetMtu(
int value) { m_mtuHasBeenSet =
true; m_mtu = value; }
101 inline void SetAuthKey(
const char* value) { m_authKeyHasBeenSet =
true; m_authKey.assign(value); }
115 inline void SetAmazonAddress(
const char* value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress.assign(value); }
129 inline void SetCustomerAddress(
const char* value) { m_customerAddressHasBeenSet =
true; m_customerAddress.assign(value); }
163 bool m_virtualInterfaceNameHasBeenSet =
false;
166 bool m_vlanHasBeenSet =
false;
169 bool m_asnHasBeenSet =
false;
172 bool m_mtuHasBeenSet =
false;
175 bool m_authKeyHasBeenSet =
false;
178 bool m_amazonAddressHasBeenSet =
false;
181 bool m_customerAddressHasBeenSet =
false;
184 bool m_addressFamilyHasBeenSet =
false;
187 bool m_tagsHasBeenSet =
false;
NewTransitVirtualInterfaceAllocation & WithAmazonAddress(const Aws::String &value)
const Aws::String & GetVirtualInterfaceName() const
NewTransitVirtualInterfaceAllocation & AddTags(const Tag &value)
void SetAmazonAddress(const Aws::String &value)
bool VirtualInterfaceNameHasBeenSet() const
const AddressFamily & GetAddressFamily() const
void SetTags(Aws::Vector< Tag > &&value)
NewTransitVirtualInterfaceAllocation & WithAmazonAddress(Aws::String &&value)
NewTransitVirtualInterfaceAllocation & AddTags(Tag &&value)
void SetAmazonAddress(const char *value)
bool VlanHasBeenSet() const
void SetAuthKey(Aws::String &&value)
AWS_DIRECTCONNECT_API NewTransitVirtualInterfaceAllocation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MtuHasBeenSet() const
NewTransitVirtualInterfaceAllocation & WithAddressFamily(const AddressFamily &value)
NewTransitVirtualInterfaceAllocation & WithCustomerAddress(const char *value)
NewTransitVirtualInterfaceAllocation & WithMtu(int value)
NewTransitVirtualInterfaceAllocation & WithAmazonAddress(const char *value)
NewTransitVirtualInterfaceAllocation & WithCustomerAddress(Aws::String &&value)
bool AuthKeyHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
NewTransitVirtualInterfaceAllocation & WithVirtualInterfaceName(const Aws::String &value)
bool AmazonAddressHasBeenSet() const
NewTransitVirtualInterfaceAllocation & WithTags(Aws::Vector< Tag > &&value)
void SetCustomerAddress(const Aws::String &value)
bool TagsHasBeenSet() const
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
NewTransitVirtualInterfaceAllocation & WithAddressFamily(AddressFamily &&value)
bool AddressFamilyHasBeenSet() const
NewTransitVirtualInterfaceAllocation & WithVirtualInterfaceName(Aws::String &&value)
const Aws::String & GetAuthKey() const
void SetCustomerAddress(const char *value)
NewTransitVirtualInterfaceAllocation & WithCustomerAddress(const Aws::String &value)
NewTransitVirtualInterfaceAllocation & WithAuthKey(const char *value)
bool AsnHasBeenSet() const
AWS_DIRECTCONNECT_API NewTransitVirtualInterfaceAllocation()
void SetVirtualInterfaceName(const Aws::String &value)
NewTransitVirtualInterfaceAllocation & WithTags(const Aws::Vector< Tag > &value)
void SetVirtualInterfaceName(Aws::String &&value)
const Aws::String & GetCustomerAddress() const
void SetAuthKey(const Aws::String &value)
void SetAddressFamily(const AddressFamily &value)
NewTransitVirtualInterfaceAllocation & WithVirtualInterfaceName(const char *value)
void SetAuthKey(const char *value)
void SetAddressFamily(AddressFamily &&value)
const Aws::String & GetAmazonAddress() const
AWS_DIRECTCONNECT_API NewTransitVirtualInterfaceAllocation(Aws::Utils::Json::JsonView jsonValue)
void SetCustomerAddress(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
bool CustomerAddressHasBeenSet() const
void SetAmazonAddress(Aws::String &&value)
NewTransitVirtualInterfaceAllocation & WithVlan(int value)
void SetVirtualInterfaceName(const char *value)
NewTransitVirtualInterfaceAllocation & WithAuthKey(Aws::String &&value)
NewTransitVirtualInterfaceAllocation & WithAuthKey(const Aws::String &value)
NewTransitVirtualInterfaceAllocation & WithAsn(int 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