7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/directconnect/DirectConnect_EXPORTS.h>
11#include <aws/directconnect/model/AddressFamily.h>
12#include <aws/directconnect/model/BGPPeer.h>
13#include <aws/directconnect/model/RouteFilterPrefix.h>
14#include <aws/directconnect/model/Tag.h>
15#include <aws/directconnect/model/VirtualInterfaceState.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace DirectConnect {
48 template <
typename OwnerAccountT = Aws::String>
50 m_ownerAccountHasBeenSet =
true;
51 m_ownerAccount = std::forward<OwnerAccountT>(value);
53 template <
typename OwnerAccountT = Aws::String>
65 template <
typename VirtualInterfaceIdT = Aws::String>
67 m_virtualInterfaceIdHasBeenSet =
true;
68 m_virtualInterfaceId = std::forward<VirtualInterfaceIdT>(value);
70 template <
typename VirtualInterfaceIdT = Aws::String>
82 template <
typename LocationT = Aws::String>
84 m_locationHasBeenSet =
true;
85 m_location = std::forward<LocationT>(value);
87 template <
typename LocationT = Aws::String>
99 template <
typename ConnectionIdT = Aws::String>
101 m_connectionIdHasBeenSet =
true;
102 m_connectionId = std::forward<ConnectionIdT>(value);
104 template <
typename ConnectionIdT = Aws::String>
117 template <
typename VirtualInterfaceTypeT = Aws::String>
119 m_virtualInterfaceTypeHasBeenSet =
true;
120 m_virtualInterfaceType = std::forward<VirtualInterfaceTypeT>(value);
122 template <
typename VirtualInterfaceTypeT = Aws::String>
136 template <
typename VirtualInterfaceNameT = Aws::String>
138 m_virtualInterfaceNameHasBeenSet =
true;
139 m_virtualInterfaceName = std::forward<VirtualInterfaceNameT>(value);
141 template <
typename VirtualInterfaceNameT = Aws::String>
154 m_vlanHasBeenSet =
true;
177 inline int GetAsn()
const {
return m_asn; }
179 m_asnHasBeenSet =
true;
207 m_asnLongHasBeenSet =
true;
222 m_amazonSideAsnHasBeenSet =
true;
223 m_amazonSideAsn = value;
237 template <
typename AuthKeyT = Aws::String>
239 m_authKeyHasBeenSet =
true;
240 m_authKey = std::forward<AuthKeyT>(value);
242 template <
typename AuthKeyT = Aws::String>
254 template <
typename AmazonAddressT = Aws::String>
256 m_amazonAddressHasBeenSet =
true;
257 m_amazonAddress = std::forward<AmazonAddressT>(value);
259 template <
typename AmazonAddressT = Aws::String>
271 template <
typename CustomerAddressT = Aws::String>
273 m_customerAddressHasBeenSet =
true;
274 m_customerAddress = std::forward<CustomerAddressT>(value);
276 template <
typename CustomerAddressT = Aws::String>
289 m_addressFamilyHasBeenSet =
true;
290 m_addressFamily = value;
327 m_virtualInterfaceStateHasBeenSet =
true;
328 m_virtualInterfaceState = value;
341 template <
typename CustomerRouterConfigT = Aws::String>
343 m_customerRouterConfigHasBeenSet =
true;
344 m_customerRouterConfig = std::forward<CustomerRouterConfigT>(value);
346 template <
typename CustomerRouterConfigT = Aws::String>
358 inline int GetMtu()
const {
return m_mtu; }
360 m_mtuHasBeenSet =
true;
375 m_jumboFrameCapableHasBeenSet =
true;
376 m_jumboFrameCapable = value;
390 template <
typename VirtualGatewayIdT = Aws::String>
392 m_virtualGatewayIdHasBeenSet =
true;
393 m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value);
395 template <
typename VirtualGatewayIdT = Aws::String>
407 template <
typename DirectConnectGatewayIdT = Aws::String>
409 m_directConnectGatewayIdHasBeenSet =
true;
410 m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value);
412 template <
typename DirectConnectGatewayIdT = Aws::String>
425 template <
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
427 m_routeFilterPrefixesHasBeenSet =
true;
428 m_routeFilterPrefixes = std::forward<RouteFilterPrefixesT>(value);
430 template <
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
435 template <
typename RouteFilterPrefixesT = RouteFilterPrefix>
437 m_routeFilterPrefixesHasBeenSet =
true;
438 m_routeFilterPrefixes.emplace_back(std::forward<RouteFilterPrefixesT>(value));
448 template <
typename BgpPeersT = Aws::Vector<BGPPeer>>
450 m_bgpPeersHasBeenSet =
true;
451 m_bgpPeers = std::forward<BgpPeersT>(value);
453 template <
typename BgpPeersT = Aws::Vector<BGPPeer>>
458 template <
typename BgpPeersT = BGPPeer>
460 m_bgpPeersHasBeenSet =
true;
461 m_bgpPeers.emplace_back(std::forward<BgpPeersT>(value));
471 template <
typename RegionT = Aws::String>
473 m_regionHasBeenSet =
true;
474 m_region = std::forward<RegionT>(value);
476 template <
typename RegionT = Aws::String>
488 template <
typename AwsDeviceV2T = Aws::String>
490 m_awsDeviceV2HasBeenSet =
true;
491 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
493 template <
typename AwsDeviceV2T = Aws::String>
507 template <
typename AwsLogicalDeviceIdT = Aws::String>
509 m_awsLogicalDeviceIdHasBeenSet =
true;
510 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
512 template <
typename AwsLogicalDeviceIdT = Aws::String>
524 template <
typename TagsT = Aws::Vector<Tag>>
526 m_tagsHasBeenSet =
true;
527 m_tags = std::forward<TagsT>(value);
529 template <
typename TagsT = Aws::Vector<Tag>>
531 SetTags(std::forward<TagsT>(value));
534 template <
typename TagsT = Tag>
536 m_tagsHasBeenSet =
true;
537 m_tags.emplace_back(std::forward<TagsT>(value));
548 m_siteLinkEnabledHasBeenSet =
true;
549 m_siteLinkEnabled = value;
587 template <
typename RateLimitT = Aws::String>
589 m_rateLimitHasBeenSet =
true;
590 m_rateLimit = std::forward<RateLimitT>(value);
592 template <
typename RateLimitT = Aws::String>
602 template <
typename RequestIdT = Aws::String>
604 m_requestIdHasBeenSet =
true;
605 m_requestId = std::forward<RequestIdT>(value);
607 template <
typename RequestIdT = Aws::String>
632 long long m_asnLong{0};
634 long long m_amazonSideAsn{0};
650 bool m_jumboFrameCapable{
false};
668 bool m_siteLinkEnabled{
false};
674 bool m_ownerAccountHasBeenSet =
false;
675 bool m_virtualInterfaceIdHasBeenSet =
false;
676 bool m_locationHasBeenSet =
false;
677 bool m_connectionIdHasBeenSet =
false;
678 bool m_virtualInterfaceTypeHasBeenSet =
false;
679 bool m_virtualInterfaceNameHasBeenSet =
false;
680 bool m_vlanHasBeenSet =
false;
681 bool m_asnHasBeenSet =
false;
682 bool m_asnLongHasBeenSet =
false;
683 bool m_amazonSideAsnHasBeenSet =
false;
684 bool m_authKeyHasBeenSet =
false;
685 bool m_amazonAddressHasBeenSet =
false;
686 bool m_customerAddressHasBeenSet =
false;
687 bool m_addressFamilyHasBeenSet =
false;
688 bool m_virtualInterfaceStateHasBeenSet =
false;
689 bool m_customerRouterConfigHasBeenSet =
false;
690 bool m_mtuHasBeenSet =
false;
691 bool m_jumboFrameCapableHasBeenSet =
false;
692 bool m_virtualGatewayIdHasBeenSet =
false;
693 bool m_directConnectGatewayIdHasBeenSet =
false;
694 bool m_routeFilterPrefixesHasBeenSet =
false;
695 bool m_bgpPeersHasBeenSet =
false;
696 bool m_regionHasBeenSet =
false;
697 bool m_awsDeviceV2HasBeenSet =
false;
698 bool m_awsLogicalDeviceIdHasBeenSet =
false;
699 bool m_tagsHasBeenSet =
false;
700 bool m_siteLinkEnabledHasBeenSet =
false;
701 bool m_rateLimitHasBeenSet =
false;
702 bool m_requestIdHasBeenSet =
false;
void SetVirtualInterfaceState(VirtualInterfaceState value)
const Aws::String & GetRequestId() const
const Aws::String & GetVirtualInterfaceId() const
AllocatePublicVirtualInterfaceResult & WithAddressFamily(AddressFamily value)
const Aws::String & GetAmazonAddress() const
void SetVirtualInterfaceName(VirtualInterfaceNameT &&value)
void SetAmazonAddress(AmazonAddressT &&value)
void SetOwnerAccount(OwnerAccountT &&value)
long long GetAmazonSideAsn() const
void SetAwsDeviceV2(AwsDeviceV2T &&value)
void SetCustomerRouterConfig(CustomerRouterConfigT &&value)
const Aws::String & GetVirtualGatewayId() const
void SetAddressFamily(AddressFamily value)
AllocatePublicVirtualInterfaceResult & WithOwnerAccount(OwnerAccountT &&value)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceId(VirtualInterfaceIdT &&value)
void SetRouteFilterPrefixes(RouteFilterPrefixesT &&value)
AllocatePublicVirtualInterfaceResult & AddRouteFilterPrefixes(RouteFilterPrefixesT &&value)
AddressFamily GetAddressFamily() const
void SetAsnLong(long long value)
AllocatePublicVirtualInterfaceResult & WithCustomerAddress(CustomerAddressT &&value)
const Aws::String & GetAuthKey() const
AllocatePublicVirtualInterfaceResult & WithJumboFrameCapable(bool value)
const Aws::Vector< RouteFilterPrefix > & GetRouteFilterPrefixes() const
AllocatePublicVirtualInterfaceResult & WithAmazonAddress(AmazonAddressT &&value)
AllocatePublicVirtualInterfaceResult & WithAmazonSideAsn(long long value)
void SetRegion(RegionT &&value)
const Aws::Vector< BGPPeer > & GetBgpPeers() const
AllocatePublicVirtualInterfaceResult & WithLocation(LocationT &&value)
bool GetSiteLinkEnabled() const
AllocatePublicVirtualInterfaceResult & WithAsn(int value)
AllocatePublicVirtualInterfaceResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceType(VirtualInterfaceTypeT &&value)
VirtualInterfaceState GetVirtualInterfaceState() const
void SetDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
const Aws::String & GetRateLimit() const
const Aws::String & GetConnectionId() const
void SetVirtualInterfaceId(VirtualInterfaceIdT &&value)
const Aws::String & GetRegion() const
AllocatePublicVirtualInterfaceResult & WithConnectionId(ConnectionIdT &&value)
const Aws::String & GetAwsLogicalDeviceId() const
void SetRequestId(RequestIdT &&value)
void SetSiteLinkEnabled(bool value)
AllocatePublicVirtualInterfaceResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
const Aws::String & GetLocation() const
void SetRateLimit(RateLimitT &&value)
void SetVirtualInterfaceType(VirtualInterfaceTypeT &&value)
const Aws::String & GetVirtualInterfaceType() const
AllocatePublicVirtualInterfaceResult & WithMtu(int value)
bool GetJumboFrameCapable() const
const Aws::String & GetOwnerAccount() const
const Aws::String & GetCustomerAddress() const
void SetAmazonSideAsn(long long value)
AllocatePublicVirtualInterfaceResult & WithRegion(RegionT &&value)
AllocatePublicVirtualInterfaceResult & WithRouteFilterPrefixes(RouteFilterPrefixesT &&value)
AWS_DIRECTCONNECT_API AllocatePublicVirtualInterfaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDirectConnectGatewayId() const
AllocatePublicVirtualInterfaceResult & WithDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
void SetConnectionId(ConnectionIdT &&value)
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_DIRECTCONNECT_API AllocatePublicVirtualInterfaceResult()=default
const Aws::String & GetAwsDeviceV2() const
AllocatePublicVirtualInterfaceResult & WithRateLimit(RateLimitT &&value)
AllocatePublicVirtualInterfaceResult & WithVlan(int value)
AllocatePublicVirtualInterfaceResult & WithBgpPeers(BgpPeersT &&value)
void SetAuthKey(AuthKeyT &&value)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceState(VirtualInterfaceState value)
void SetLocation(LocationT &&value)
void SetVirtualGatewayId(VirtualGatewayIdT &&value)
AllocatePublicVirtualInterfaceResult & WithAsnLong(long long value)
AWS_DIRECTCONNECT_API AllocatePublicVirtualInterfaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
AllocatePublicVirtualInterfaceResult & AddBgpPeers(BgpPeersT &&value)
AllocatePublicVirtualInterfaceResult & WithAuthKey(AuthKeyT &&value)
AllocatePublicVirtualInterfaceResult & WithVirtualGatewayId(VirtualGatewayIdT &&value)
void SetTags(TagsT &&value)
void SetCustomerAddress(CustomerAddressT &&value)
void SetJumboFrameCapable(bool value)
AllocatePublicVirtualInterfaceResult & WithTags(TagsT &&value)
AllocatePublicVirtualInterfaceResult & WithRequestId(RequestIdT &&value)
void SetBgpPeers(BgpPeersT &&value)
AllocatePublicVirtualInterfaceResult & WithSiteLinkEnabled(bool value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetVirtualInterfaceName() const
AllocatePublicVirtualInterfaceResult & AddTags(TagsT &&value)
AllocatePublicVirtualInterfaceResult & WithCustomerRouterConfig(CustomerRouterConfigT &&value)
const Aws::String & GetCustomerRouterConfig() const
long long GetAsnLong() 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