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/BGPPeer.h>
12#include <aws/directconnect/model/RouteFilterPrefix.h>
13#include <aws/directconnect/model/Tag.h>
14#include <aws/directconnect/model/VirtualInterfaceState.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace DirectConnect {
47 template <
typename OwnerAccountT = Aws::String>
49 m_ownerAccountHasBeenSet =
true;
50 m_ownerAccount = std::forward<OwnerAccountT>(value);
52 template <
typename OwnerAccountT = Aws::String>
64 template <
typename VirtualInterfaceIdT = Aws::String>
66 m_virtualInterfaceIdHasBeenSet =
true;
67 m_virtualInterfaceId = std::forward<VirtualInterfaceIdT>(value);
69 template <
typename VirtualInterfaceIdT = Aws::String>
81 template <
typename LocationT = Aws::String>
83 m_locationHasBeenSet =
true;
84 m_location = std::forward<LocationT>(value);
86 template <
typename LocationT = Aws::String>
98 template <
typename ConnectionIdT = Aws::String>
100 m_connectionIdHasBeenSet =
true;
101 m_connectionId = std::forward<ConnectionIdT>(value);
103 template <
typename ConnectionIdT = Aws::String>
116 template <
typename VirtualInterfaceTypeT = Aws::String>
118 m_virtualInterfaceTypeHasBeenSet =
true;
119 m_virtualInterfaceType = std::forward<VirtualInterfaceTypeT>(value);
121 template <
typename VirtualInterfaceTypeT = Aws::String>
135 template <
typename VirtualInterfaceNameT = Aws::String>
137 m_virtualInterfaceNameHasBeenSet =
true;
138 m_virtualInterfaceName = std::forward<VirtualInterfaceNameT>(value);
140 template <
typename VirtualInterfaceNameT = Aws::String>
153 m_vlanHasBeenSet =
true;
174 inline int GetAsn()
const {
return m_asn; }
176 m_asnHasBeenSet =
true;
198 m_asnLongHasBeenSet =
true;
213 m_amazonSideAsnHasBeenSet =
true;
214 m_amazonSideAsn = value;
228 template <
typename AuthKeyT = Aws::String>
230 m_authKeyHasBeenSet =
true;
231 m_authKey = std::forward<AuthKeyT>(value);
233 template <
typename AuthKeyT = Aws::String>
245 template <
typename AmazonAddressT = Aws::String>
247 m_amazonAddressHasBeenSet =
true;
248 m_amazonAddress = std::forward<AmazonAddressT>(value);
250 template <
typename AmazonAddressT = Aws::String>
262 template <
typename CustomerAddressT = Aws::String>
264 m_customerAddressHasBeenSet =
true;
265 m_customerAddress = std::forward<CustomerAddressT>(value);
267 template <
typename CustomerAddressT = Aws::String>
280 m_addressFamilyHasBeenSet =
true;
281 m_addressFamily = value;
318 m_virtualInterfaceStateHasBeenSet =
true;
319 m_virtualInterfaceState = value;
332 template <
typename CustomerRouterConfigT = Aws::String>
334 m_customerRouterConfigHasBeenSet =
true;
335 m_customerRouterConfig = std::forward<CustomerRouterConfigT>(value);
337 template <
typename CustomerRouterConfigT = Aws::String>
349 inline int GetMtu()
const {
return m_mtu; }
351 m_mtuHasBeenSet =
true;
366 m_jumboFrameCapableHasBeenSet =
true;
367 m_jumboFrameCapable = value;
381 template <
typename VirtualGatewayIdT = Aws::String>
383 m_virtualGatewayIdHasBeenSet =
true;
384 m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value);
386 template <
typename VirtualGatewayIdT = Aws::String>
398 template <
typename DirectConnectGatewayIdT = Aws::String>
400 m_directConnectGatewayIdHasBeenSet =
true;
401 m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value);
403 template <
typename DirectConnectGatewayIdT = Aws::String>
416 template <
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
418 m_routeFilterPrefixesHasBeenSet =
true;
419 m_routeFilterPrefixes = std::forward<RouteFilterPrefixesT>(value);
421 template <
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
426 template <
typename RouteFilterPrefixesT = RouteFilterPrefix>
428 m_routeFilterPrefixesHasBeenSet =
true;
429 m_routeFilterPrefixes.emplace_back(std::forward<RouteFilterPrefixesT>(value));
439 template <
typename BgpPeersT = Aws::Vector<BGPPeer>>
441 m_bgpPeersHasBeenSet =
true;
442 m_bgpPeers = std::forward<BgpPeersT>(value);
444 template <
typename BgpPeersT = Aws::Vector<BGPPeer>>
449 template <
typename BgpPeersT = BGPPeer>
451 m_bgpPeersHasBeenSet =
true;
452 m_bgpPeers.emplace_back(std::forward<BgpPeersT>(value));
462 template <
typename RegionT = Aws::String>
464 m_regionHasBeenSet =
true;
465 m_region = std::forward<RegionT>(value);
467 template <
typename RegionT = Aws::String>
479 template <
typename AwsDeviceV2T = Aws::String>
481 m_awsDeviceV2HasBeenSet =
true;
482 m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value);
484 template <
typename AwsDeviceV2T = Aws::String>
498 template <
typename AwsLogicalDeviceIdT = Aws::String>
500 m_awsLogicalDeviceIdHasBeenSet =
true;
501 m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value);
503 template <
typename AwsLogicalDeviceIdT = Aws::String>
515 template <
typename TagsT = Aws::Vector<Tag>>
517 m_tagsHasBeenSet =
true;
518 m_tags = std::forward<TagsT>(value);
520 template <
typename TagsT = Aws::Vector<Tag>>
522 SetTags(std::forward<TagsT>(value));
525 template <
typename TagsT = Tag>
527 m_tagsHasBeenSet =
true;
528 m_tags.emplace_back(std::forward<TagsT>(value));
539 m_siteLinkEnabledHasBeenSet =
true;
540 m_siteLinkEnabled = value;
551 template <
typename RequestIdT = Aws::String>
553 m_requestIdHasBeenSet =
true;
554 m_requestId = std::forward<RequestIdT>(value);
556 template <
typename RequestIdT = Aws::String>
579 long long m_asnLong{0};
581 long long m_amazonSideAsn{0};
597 bool m_jumboFrameCapable{
false};
615 bool m_siteLinkEnabled{
false};
618 bool m_ownerAccountHasBeenSet =
false;
619 bool m_virtualInterfaceIdHasBeenSet =
false;
620 bool m_locationHasBeenSet =
false;
621 bool m_connectionIdHasBeenSet =
false;
622 bool m_virtualInterfaceTypeHasBeenSet =
false;
623 bool m_virtualInterfaceNameHasBeenSet =
false;
624 bool m_vlanHasBeenSet =
false;
625 bool m_asnHasBeenSet =
false;
626 bool m_asnLongHasBeenSet =
false;
627 bool m_amazonSideAsnHasBeenSet =
false;
628 bool m_authKeyHasBeenSet =
false;
629 bool m_amazonAddressHasBeenSet =
false;
630 bool m_customerAddressHasBeenSet =
false;
631 bool m_addressFamilyHasBeenSet =
false;
632 bool m_virtualInterfaceStateHasBeenSet =
false;
633 bool m_customerRouterConfigHasBeenSet =
false;
634 bool m_mtuHasBeenSet =
false;
635 bool m_jumboFrameCapableHasBeenSet =
false;
636 bool m_virtualGatewayIdHasBeenSet =
false;
637 bool m_directConnectGatewayIdHasBeenSet =
false;
638 bool m_routeFilterPrefixesHasBeenSet =
false;
639 bool m_bgpPeersHasBeenSet =
false;
640 bool m_regionHasBeenSet =
false;
641 bool m_awsDeviceV2HasBeenSet =
false;
642 bool m_awsLogicalDeviceIdHasBeenSet =
false;
643 bool m_tagsHasBeenSet =
false;
644 bool m_siteLinkEnabledHasBeenSet =
false;
645 bool m_requestIdHasBeenSet =
false;
AllocatePrivateVirtualInterfaceResult & WithConnectionId(ConnectionIdT &&value)
void SetAsnLong(long long value)
AllocatePrivateVirtualInterfaceResult & WithSiteLinkEnabled(bool value)
AllocatePrivateVirtualInterfaceResult & WithVirtualGatewayId(VirtualGatewayIdT &&value)
long long GetAmazonSideAsn() const
void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
const Aws::String & GetVirtualInterfaceId() const
const Aws::String & GetRegion() const
const Aws::String & GetLocation() const
const Aws::String & GetConnectionId() const
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
const Aws::String & GetRequestId() const
void SetAuthKey(AuthKeyT &&value)
VirtualInterfaceState GetVirtualInterfaceState() const
const Aws::Vector< Tag > & GetTags() const
void SetVirtualInterfaceType(VirtualInterfaceTypeT &&value)
void SetCustomerAddress(CustomerAddressT &&value)
AllocatePrivateVirtualInterfaceResult & AddBgpPeers(BgpPeersT &&value)
void SetOwnerAccount(OwnerAccountT &&value)
AllocatePrivateVirtualInterfaceResult & WithAwsDeviceV2(AwsDeviceV2T &&value)
AllocatePrivateVirtualInterfaceResult & WithRequestId(RequestIdT &&value)
bool GetJumboFrameCapable() const
const Aws::String & GetDirectConnectGatewayId() const
AllocatePrivateVirtualInterfaceResult & WithRouteFilterPrefixes(RouteFilterPrefixesT &&value)
void SetConnectionId(ConnectionIdT &&value)
AddressFamily GetAddressFamily() const
AllocatePrivateVirtualInterfaceResult & WithLocation(LocationT &&value)
AWS_DIRECTCONNECT_API AllocatePrivateVirtualInterfaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetAuthKey() const
void SetRequestId(RequestIdT &&value)
void SetJumboFrameCapable(bool value)
const Aws::Vector< RouteFilterPrefix > & GetRouteFilterPrefixes() const
AllocatePrivateVirtualInterfaceResult & WithTags(TagsT &&value)
AllocatePrivateVirtualInterfaceResult & WithAmazonAddress(AmazonAddressT &&value)
long long GetAsnLong() const
AllocatePrivateVirtualInterfaceResult & AddRouteFilterPrefixes(RouteFilterPrefixesT &&value)
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceType(VirtualInterfaceTypeT &&value)
AllocatePrivateVirtualInterfaceResult & AddTags(TagsT &&value)
AllocatePrivateVirtualInterfaceResult & WithOwnerAccount(OwnerAccountT &&value)
bool GetSiteLinkEnabled() const
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceState(VirtualInterfaceState value)
void SetRouteFilterPrefixes(RouteFilterPrefixesT &&value)
void SetVirtualInterfaceId(VirtualInterfaceIdT &&value)
AWS_DIRECTCONNECT_API AllocatePrivateVirtualInterfaceResult()=default
AllocatePrivateVirtualInterfaceResult & WithAddressFamily(AddressFamily value)
void SetVirtualInterfaceState(VirtualInterfaceState value)
void SetSiteLinkEnabled(bool value)
AllocatePrivateVirtualInterfaceResult & WithAwsLogicalDeviceId(AwsLogicalDeviceIdT &&value)
AllocatePrivateVirtualInterfaceResult & WithAmazonSideAsn(long long value)
const Aws::String & GetVirtualInterfaceName() const
void SetAmazonSideAsn(long long value)
const Aws::Vector< BGPPeer > & GetBgpPeers() const
const Aws::String & GetCustomerRouterConfig() const
const Aws::String & GetOwnerAccount() const
AllocatePrivateVirtualInterfaceResult & WithJumboFrameCapable(bool value)
void SetTags(TagsT &&value)
AllocatePrivateVirtualInterfaceResult & WithBgpPeers(BgpPeersT &&value)
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceId(VirtualInterfaceIdT &&value)
const Aws::String & GetCustomerAddress() const
const Aws::String & GetVirtualInterfaceType() const
void SetLocation(LocationT &&value)
void SetBgpPeers(BgpPeersT &&value)
void SetVirtualInterfaceName(VirtualInterfaceNameT &&value)
AllocatePrivateVirtualInterfaceResult & WithMtu(int value)
AllocatePrivateVirtualInterfaceResult & WithAsnLong(long long value)
void SetAddressFamily(AddressFamily value)
void SetCustomerRouterConfig(CustomerRouterConfigT &&value)
const Aws::String & GetAwsLogicalDeviceId() const
void SetVirtualGatewayId(VirtualGatewayIdT &&value)
void SetRegion(RegionT &&value)
AllocatePrivateVirtualInterfaceResult & WithAsn(int value)
void SetDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
AllocatePrivateVirtualInterfaceResult & WithCustomerAddress(CustomerAddressT &&value)
const Aws::String & GetAwsDeviceV2() const
AllocatePrivateVirtualInterfaceResult & WithVlan(int value)
AllocatePrivateVirtualInterfaceResult & WithAuthKey(AuthKeyT &&value)
AllocatePrivateVirtualInterfaceResult & WithCustomerRouterConfig(CustomerRouterConfigT &&value)
AWS_DIRECTCONNECT_API AllocatePrivateVirtualInterfaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AllocatePrivateVirtualInterfaceResult & WithDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
const Aws::String & GetVirtualGatewayId() const
void SetAmazonAddress(AmazonAddressT &&value)
const Aws::String & GetAmazonAddress() const
AllocatePrivateVirtualInterfaceResult & WithRegion(RegionT &&value)
void SetAwsDeviceV2(AwsDeviceV2T &&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