7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/directconnect/DirectConnect_EXPORTS.h>
10#include <aws/directconnect/model/AddressFamily.h>
11#include <aws/directconnect/model/RouteFilterPrefix.h>
12#include <aws/directconnect/model/Tag.h>
23namespace DirectConnect {
46 template <
typename VirtualInterfaceNameT = Aws::String>
48 m_virtualInterfaceNameHasBeenSet =
true;
49 m_virtualInterfaceName = std::forward<VirtualInterfaceNameT>(value);
51 template <
typename VirtualInterfaceNameT = Aws::String>
62 inline int GetVlan()
const {
return m_vlan; }
65 m_vlanHasBeenSet =
true;
86 inline int GetAsn()
const {
return m_asn; }
89 m_asnHasBeenSet =
true;
112 m_asnLongHasBeenSet =
true;
128 template <
typename AuthKeyT = Aws::String>
130 m_authKeyHasBeenSet =
true;
131 m_authKey = std::forward<AuthKeyT>(value);
133 template <
typename AuthKeyT = Aws::String>
146 template <
typename AmazonAddressT = Aws::String>
148 m_amazonAddressHasBeenSet =
true;
149 m_amazonAddress = std::forward<AmazonAddressT>(value);
151 template <
typename AmazonAddressT = Aws::String>
164 template <
typename CustomerAddressT = Aws::String>
166 m_customerAddressHasBeenSet =
true;
167 m_customerAddress = std::forward<CustomerAddressT>(value);
169 template <
typename CustomerAddressT = Aws::String>
183 m_addressFamilyHasBeenSet =
true;
184 m_addressFamily = value;
199 template <
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
201 m_routeFilterPrefixesHasBeenSet =
true;
202 m_routeFilterPrefixes = std::forward<RouteFilterPrefixesT>(value);
204 template <
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
209 template <
typename RouteFilterPrefixesT = RouteFilterPrefix>
211 m_routeFilterPrefixesHasBeenSet =
true;
212 m_routeFilterPrefixes.emplace_back(std::forward<RouteFilterPrefixesT>(value));
223 template <
typename TagsT = Aws::Vector<Tag>>
225 m_tagsHasBeenSet =
true;
226 m_tags = std::forward<TagsT>(value);
228 template <
typename TagsT = Aws::Vector<Tag>>
230 SetTags(std::forward<TagsT>(value));
233 template <
typename TagsT = Tag>
235 m_tagsHasBeenSet =
true;
236 m_tags.emplace_back(std::forward<TagsT>(value));
247 long long m_asnLong{0};
260 bool m_virtualInterfaceNameHasBeenSet =
false;
261 bool m_vlanHasBeenSet =
false;
262 bool m_asnHasBeenSet =
false;
263 bool m_asnLongHasBeenSet =
false;
264 bool m_authKeyHasBeenSet =
false;
265 bool m_amazonAddressHasBeenSet =
false;
266 bool m_customerAddressHasBeenSet =
false;
267 bool m_addressFamilyHasBeenSet =
false;
268 bool m_routeFilterPrefixesHasBeenSet =
false;
269 bool m_tagsHasBeenSet =
false;
NewPublicVirtualInterface & WithCustomerAddress(CustomerAddressT &&value)
NewPublicVirtualInterface & WithAddressFamily(AddressFamily value)
NewPublicVirtualInterface & AddRouteFilterPrefixes(RouteFilterPrefixesT &&value)
void SetAsnLong(long long value)
void SetAmazonAddress(AmazonAddressT &&value)
NewPublicVirtualInterface & AddTags(TagsT &&value)
const Aws::String & GetAuthKey() const
bool TagsHasBeenSet() const
bool VlanHasBeenSet() const
bool CustomerAddressHasBeenSet() const
bool AddressFamilyHasBeenSet() const
NewPublicVirtualInterface & WithAsnLong(long long value)
bool AuthKeyHasBeenSet() const
const Aws::String & GetVirtualInterfaceName() const
AddressFamily GetAddressFamily() const
bool AsnLongHasBeenSet() const
AWS_DIRECTCONNECT_API NewPublicVirtualInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
NewPublicVirtualInterface & WithAmazonAddress(AmazonAddressT &&value)
bool RouteFilterPrefixesHasBeenSet() const
void SetAuthKey(AuthKeyT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool AsnHasBeenSet() const
NewPublicVirtualInterface & WithAuthKey(AuthKeyT &&value)
const Aws::String & GetAmazonAddress() const
NewPublicVirtualInterface & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
void SetRouteFilterPrefixes(RouteFilterPrefixesT &&value)
NewPublicVirtualInterface & WithRouteFilterPrefixes(RouteFilterPrefixesT &&value)
bool VirtualInterfaceNameHasBeenSet() const
long long GetAsnLong() const
NewPublicVirtualInterface & WithTags(TagsT &&value)
void SetCustomerAddress(CustomerAddressT &&value)
AWS_DIRECTCONNECT_API NewPublicVirtualInterface()=default
AWS_DIRECTCONNECT_API NewPublicVirtualInterface(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RouteFilterPrefix > & GetRouteFilterPrefixes() const
void SetAddressFamily(AddressFamily value)
void SetTags(TagsT &&value)
NewPublicVirtualInterface & WithVlan(int value)
const Aws::String & GetCustomerAddress() const
void SetVirtualInterfaceName(VirtualInterfaceNameT &&value)
const Aws::Vector< Tag > & GetTags() const
NewPublicVirtualInterface & WithAsn(int 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