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/RouteFilterPrefix.h>
12#include <aws/directconnect/model/Tag.h>
25namespace DirectConnect
55 inline void SetVirtualInterfaceName(
const char* value) { m_virtualInterfaceNameHasBeenSet =
true; m_virtualInterfaceName.assign(value); }
65 inline int GetVlan()
const{
return m_vlan; }
67 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
76 inline int GetAsn()
const{
return m_asn; }
78 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
91 inline void SetAuthKey(
const char* value) { m_authKeyHasBeenSet =
true; m_authKey.assign(value); }
105 inline void SetAmazonAddress(
const char* value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress.assign(value); }
119 inline void SetCustomerAddress(
const char* value) { m_customerAddressHasBeenSet =
true; m_customerAddress.assign(value); }
168 bool m_virtualInterfaceNameHasBeenSet =
false;
171 bool m_vlanHasBeenSet =
false;
174 bool m_asnHasBeenSet =
false;
177 bool m_authKeyHasBeenSet =
false;
180 bool m_amazonAddressHasBeenSet =
false;
183 bool m_customerAddressHasBeenSet =
false;
186 bool m_addressFamilyHasBeenSet =
false;
189 bool m_routeFilterPrefixesHasBeenSet =
false;
192 bool m_tagsHasBeenSet =
false;
NewPublicVirtualInterfaceAllocation & WithVirtualInterfaceName(const Aws::String &value)
NewPublicVirtualInterfaceAllocation & AddTags(Tag &&value)
NewPublicVirtualInterfaceAllocation & WithRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
NewPublicVirtualInterfaceAllocation & WithVirtualInterfaceName(const char *value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
NewPublicVirtualInterfaceAllocation & WithTags(const Aws::Vector< Tag > &value)
bool AsnHasBeenSet() const
void SetAuthKey(const char *value)
void SetCustomerAddress(const char *value)
void SetRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
void SetAmazonAddress(const char *value)
void SetRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
const Aws::Vector< RouteFilterPrefix > & GetRouteFilterPrefixes() const
const Aws::String & GetAmazonAddress() const
AWS_DIRECTCONNECT_API NewPublicVirtualInterfaceAllocation()
NewPublicVirtualInterfaceAllocation & WithCustomerAddress(Aws::String &&value)
bool RouteFilterPrefixesHasBeenSet() const
NewPublicVirtualInterfaceAllocation & WithAmazonAddress(Aws::String &&value)
NewPublicVirtualInterfaceAllocation & WithAmazonAddress(const Aws::String &value)
const Aws::String & GetCustomerAddress() const
AWS_DIRECTCONNECT_API NewPublicVirtualInterfaceAllocation(Aws::Utils::Json::JsonView jsonValue)
NewPublicVirtualInterfaceAllocation & WithCustomerAddress(const char *value)
NewPublicVirtualInterfaceAllocation & AddRouteFilterPrefixes(RouteFilterPrefix &&value)
NewPublicVirtualInterfaceAllocation & WithVirtualInterfaceName(Aws::String &&value)
void SetAddressFamily(const AddressFamily &value)
void SetVirtualInterfaceName(Aws::String &&value)
NewPublicVirtualInterfaceAllocation & WithAsn(int value)
bool AddressFamilyHasBeenSet() const
void SetAmazonAddress(Aws::String &&value)
void SetCustomerAddress(const Aws::String &value)
void SetVirtualInterfaceName(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
bool CustomerAddressHasBeenSet() const
void SetCustomerAddress(Aws::String &&value)
NewPublicVirtualInterfaceAllocation & WithAddressFamily(const AddressFamily &value)
NewPublicVirtualInterfaceAllocation & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetAuthKey() const
NewPublicVirtualInterfaceAllocation & WithVlan(int value)
NewPublicVirtualInterfaceAllocation & WithAuthKey(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetAuthKey(Aws::String &&value)
bool VirtualInterfaceNameHasBeenSet() const
bool AuthKeyHasBeenSet() const
bool AmazonAddressHasBeenSet() const
const Aws::String & GetVirtualInterfaceName() const
NewPublicVirtualInterfaceAllocation & WithAuthKey(const char *value)
AWS_DIRECTCONNECT_API NewPublicVirtualInterfaceAllocation & operator=(Aws::Utils::Json::JsonView jsonValue)
NewPublicVirtualInterfaceAllocation & WithAmazonAddress(const char *value)
void SetAmazonAddress(const Aws::String &value)
const AddressFamily & GetAddressFamily() const
void SetAddressFamily(AddressFamily &&value)
NewPublicVirtualInterfaceAllocation & AddRouteFilterPrefixes(const RouteFilterPrefix &value)
NewPublicVirtualInterfaceAllocation & WithRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
NewPublicVirtualInterfaceAllocation & WithAuthKey(const Aws::String &value)
NewPublicVirtualInterfaceAllocation & AddTags(const Tag &value)
NewPublicVirtualInterfaceAllocation & WithAddressFamily(AddressFamily &&value)
void SetVirtualInterfaceName(const Aws::String &value)
NewPublicVirtualInterfaceAllocation & WithCustomerAddress(const Aws::String &value)
bool VlanHasBeenSet() const
bool TagsHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
void SetAuthKey(const Aws::String &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