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); }
141 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_addressFamilyHasBeenSet =
false;
184 bool m_customerAddressHasBeenSet =
false;
187 bool m_tagsHasBeenSet =
false;
bool CustomerAddressHasBeenSet() const
bool VirtualInterfaceNameHasBeenSet() const
const Aws::String & GetCustomerAddress() const
NewPrivateVirtualInterfaceAllocation & WithAuthKey(const char *value)
NewPrivateVirtualInterfaceAllocation & WithTags(Aws::Vector< Tag > &&value)
NewPrivateVirtualInterfaceAllocation & AddTags(Tag &&value)
void SetAuthKey(const Aws::String &value)
void SetCustomerAddress(Aws::String &&value)
void SetAmazonAddress(Aws::String &&value)
void SetVirtualInterfaceName(Aws::String &&value)
void SetVirtualInterfaceName(const char *value)
NewPrivateVirtualInterfaceAllocation & WithAmazonAddress(const Aws::String &value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterfaceAllocation(Aws::Utils::Json::JsonView jsonValue)
NewPrivateVirtualInterfaceAllocation & WithMtu(int value)
void SetAuthKey(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
NewPrivateVirtualInterfaceAllocation & WithAmazonAddress(Aws::String &&value)
const Aws::String & GetVirtualInterfaceName() const
NewPrivateVirtualInterfaceAllocation & WithAddressFamily(const AddressFamily &value)
NewPrivateVirtualInterfaceAllocation & WithAddressFamily(AddressFamily &&value)
const Aws::String & GetAmazonAddress() const
NewPrivateVirtualInterfaceAllocation & WithVirtualInterfaceName(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
NewPrivateVirtualInterfaceAllocation & WithAsn(int value)
bool TagsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool AddressFamilyHasBeenSet() const
NewPrivateVirtualInterfaceAllocation & WithAmazonAddress(const char *value)
void SetAmazonAddress(const Aws::String &value)
NewPrivateVirtualInterfaceAllocation & AddTags(const Tag &value)
NewPrivateVirtualInterfaceAllocation & WithVirtualInterfaceName(const Aws::String &value)
NewPrivateVirtualInterfaceAllocation & WithTags(const Aws::Vector< Tag > &value)
NewPrivateVirtualInterfaceAllocation & WithVirtualInterfaceName(Aws::String &&value)
bool AuthKeyHasBeenSet() const
NewPrivateVirtualInterfaceAllocation & WithCustomerAddress(const Aws::String &value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterfaceAllocation()
bool MtuHasBeenSet() const
const Aws::String & GetAuthKey() const
void SetCustomerAddress(const Aws::String &value)
bool AsnHasBeenSet() const
void SetAmazonAddress(const char *value)
void SetAddressFamily(const AddressFamily &value)
NewPrivateVirtualInterfaceAllocation & WithAuthKey(Aws::String &&value)
NewPrivateVirtualInterfaceAllocation & WithAuthKey(const Aws::String &value)
void SetAuthKey(const char *value)
void SetVirtualInterfaceName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
NewPrivateVirtualInterfaceAllocation & WithCustomerAddress(Aws::String &&value)
void SetCustomerAddress(const char *value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterfaceAllocation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AmazonAddressHasBeenSet() const
void SetAddressFamily(AddressFamily &&value)
bool VlanHasBeenSet() const
const AddressFamily & GetAddressFamily() const
NewPrivateVirtualInterfaceAllocation & WithVlan(int value)
NewPrivateVirtualInterfaceAllocation & WithCustomerAddress(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