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;
88 inline int GetAsn()
const {
return m_asn; }
91 m_asnHasBeenSet =
true;
120 m_asnLongHasBeenSet =
true;
136 template <
typename AuthKeyT = Aws::String>
138 m_authKeyHasBeenSet =
true;
139 m_authKey = std::forward<AuthKeyT>(value);
141 template <
typename AuthKeyT = Aws::String>
154 template <
typename AmazonAddressT = Aws::String>
156 m_amazonAddressHasBeenSet =
true;
157 m_amazonAddress = std::forward<AmazonAddressT>(value);
159 template <
typename AmazonAddressT = Aws::String>
172 template <
typename CustomerAddressT = Aws::String>
174 m_customerAddressHasBeenSet =
true;
175 m_customerAddress = std::forward<CustomerAddressT>(value);
177 template <
typename CustomerAddressT = Aws::String>
191 m_addressFamilyHasBeenSet =
true;
192 m_addressFamily = value;
207 template <
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
209 m_routeFilterPrefixesHasBeenSet =
true;
210 m_routeFilterPrefixes = std::forward<RouteFilterPrefixesT>(value);
212 template <
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
217 template <
typename RouteFilterPrefixesT = RouteFilterPrefix>
219 m_routeFilterPrefixesHasBeenSet =
true;
220 m_routeFilterPrefixes.emplace_back(std::forward<RouteFilterPrefixesT>(value));
231 template <
typename TagsT = Aws::Vector<Tag>>
233 m_tagsHasBeenSet =
true;
234 m_tags = std::forward<TagsT>(value);
236 template <
typename TagsT = Aws::Vector<Tag>>
238 SetTags(std::forward<TagsT>(value));
241 template <
typename TagsT = Tag>
243 m_tagsHasBeenSet =
true;
244 m_tags.emplace_back(std::forward<TagsT>(value));
257 template <
typename RateLimitT = Aws::String>
259 m_rateLimitHasBeenSet =
true;
260 m_rateLimit = std::forward<RateLimitT>(value);
262 template <
typename RateLimitT = Aws::String>
275 long long m_asnLong{0};
290 bool m_virtualInterfaceNameHasBeenSet =
false;
291 bool m_vlanHasBeenSet =
false;
292 bool m_asnHasBeenSet =
false;
293 bool m_asnLongHasBeenSet =
false;
294 bool m_authKeyHasBeenSet =
false;
295 bool m_amazonAddressHasBeenSet =
false;
296 bool m_customerAddressHasBeenSet =
false;
297 bool m_addressFamilyHasBeenSet =
false;
298 bool m_routeFilterPrefixesHasBeenSet =
false;
299 bool m_tagsHasBeenSet =
false;
300 bool m_rateLimitHasBeenSet =
false;
NewPublicVirtualInterface & WithCustomerAddress(CustomerAddressT &&value)
NewPublicVirtualInterface & WithAddressFamily(AddressFamily value)
NewPublicVirtualInterface & AddRouteFilterPrefixes(RouteFilterPrefixesT &&value)
void SetAsnLong(long long value)
void SetAmazonAddress(AmazonAddressT &&value)
NewPublicVirtualInterface & WithRateLimit(RateLimitT &&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 RateLimitHasBeenSet() const
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 & GetRateLimit() const
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
void SetRateLimit(RateLimitT &&value)
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