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
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; }
90 inline void SetAuthKey(
const char* value) { m_authKeyHasBeenSet =
true; m_authKey.assign(value); }
104 inline void SetAmazonAddress(
const char* value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress.assign(value); }
118 inline void SetCustomerAddress(
const char* value) { m_customerAddressHasBeenSet =
true; m_customerAddress.assign(value); }
167 bool m_virtualInterfaceNameHasBeenSet =
false;
170 bool m_vlanHasBeenSet =
false;
173 bool m_asnHasBeenSet =
false;
176 bool m_authKeyHasBeenSet =
false;
179 bool m_amazonAddressHasBeenSet =
false;
182 bool m_customerAddressHasBeenSet =
false;
185 bool m_addressFamilyHasBeenSet =
false;
188 bool m_routeFilterPrefixesHasBeenSet =
false;
191 bool m_tagsHasBeenSet =
false;
NewPublicVirtualInterface & WithAmazonAddress(const char *value)
NewPublicVirtualInterface & WithVirtualInterfaceName(const char *value)
const Aws::String & GetAuthKey() const
bool TagsHasBeenSet() const
void SetAuthKey(Aws::String &&value)
bool VlanHasBeenSet() const
bool CustomerAddressHasBeenSet() const
bool AddressFamilyHasBeenSet() const
void SetAuthKey(const Aws::String &value)
NewPublicVirtualInterface & WithAddressFamily(const AddressFamily &value)
bool AuthKeyHasBeenSet() const
const Aws::String & GetVirtualInterfaceName() const
NewPublicVirtualInterface & WithVirtualInterfaceName(Aws::String &&value)
NewPublicVirtualInterface & WithCustomerAddress(const char *value)
AWS_DIRECTCONNECT_API NewPublicVirtualInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
const AddressFamily & GetAddressFamily() const
void SetAmazonAddress(const char *value)
void SetRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
NewPublicVirtualInterface & WithAmazonAddress(Aws::String &&value)
NewPublicVirtualInterface & WithCustomerAddress(const Aws::String &value)
AWS_DIRECTCONNECT_API NewPublicVirtualInterface()
NewPublicVirtualInterface & WithAuthKey(const Aws::String &value)
bool RouteFilterPrefixesHasBeenSet() const
NewPublicVirtualInterface & WithTags(const Aws::Vector< Tag > &value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool AsnHasBeenSet() const
void SetVirtualInterfaceName(const Aws::String &value)
NewPublicVirtualInterface & WithVirtualInterfaceName(const Aws::String &value)
const Aws::String & GetAmazonAddress() const
NewPublicVirtualInterface & WithRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
void SetAmazonAddress(Aws::String &&value)
NewPublicVirtualInterface & AddRouteFilterPrefixes(const RouteFilterPrefix &value)
NewPublicVirtualInterface & WithAmazonAddress(const Aws::String &value)
void SetRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
void SetVirtualInterfaceName(const char *value)
bool VirtualInterfaceNameHasBeenSet() const
NewPublicVirtualInterface & AddRouteFilterPrefixes(RouteFilterPrefix &&value)
void SetVirtualInterfaceName(Aws::String &&value)
void SetAmazonAddress(const Aws::String &value)
NewPublicVirtualInterface & WithRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
NewPublicVirtualInterface & WithAuthKey(Aws::String &&value)
AWS_DIRECTCONNECT_API NewPublicVirtualInterface(Aws::Utils::Json::JsonView jsonValue)
void SetCustomerAddress(const char *value)
const Aws::Vector< RouteFilterPrefix > & GetRouteFilterPrefixes() const
NewPublicVirtualInterface & WithTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
NewPublicVirtualInterface & WithVlan(int value)
const Aws::String & GetCustomerAddress() const
void SetTags(Aws::Vector< Tag > &&value)
void SetAddressFamily(const AddressFamily &value)
void SetCustomerAddress(Aws::String &&value)
void SetAuthKey(const char *value)
const Aws::Vector< Tag > & GetTags() const
NewPublicVirtualInterface & AddTags(const Tag &value)
NewPublicVirtualInterface & AddTags(Tag &&value)
NewPublicVirtualInterface & WithAddressFamily(AddressFamily &&value)
NewPublicVirtualInterface & WithAuthKey(const char *value)
void SetAddressFamily(AddressFamily &&value)
NewPublicVirtualInterface & WithAsn(int value)
void SetCustomerAddress(const Aws::String &value)
NewPublicVirtualInterface & WithCustomerAddress(Aws::String &&value)
bool AmazonAddressHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue