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/directconnect/model/VirtualInterfaceState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/directconnect/model/RouteFilterPrefix.h>
13#include <aws/directconnect/model/BGPPeer.h>
14#include <aws/directconnect/model/Tag.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
29namespace DirectConnect
52 template<
typename OwnerAccountT = Aws::String>
53 void SetOwnerAccount(OwnerAccountT&& value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount = std::forward<OwnerAccountT>(value); }
54 template<
typename OwnerAccountT = Aws::String>
63 template<
typename VirtualInterfaceIdT = Aws::String>
64 void SetVirtualInterfaceId(VirtualInterfaceIdT&& value) { m_virtualInterfaceIdHasBeenSet =
true; m_virtualInterfaceId = std::forward<VirtualInterfaceIdT>(value); }
65 template<
typename VirtualInterfaceIdT = Aws::String>
74 template<
typename LocationT = Aws::String>
75 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
76 template<
typename LocationT = Aws::String>
85 template<
typename ConnectionIdT = Aws::String>
86 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
87 template<
typename ConnectionIdT = Aws::String>
97 template<
typename VirtualInterfaceTypeT = Aws::String>
98 void SetVirtualInterfaceType(VirtualInterfaceTypeT&& value) { m_virtualInterfaceTypeHasBeenSet =
true; m_virtualInterfaceType = std::forward<VirtualInterfaceTypeT>(value); }
99 template<
typename VirtualInterfaceTypeT = Aws::String>
110 template<
typename VirtualInterfaceNameT = Aws::String>
111 void SetVirtualInterfaceName(VirtualInterfaceNameT&& value) { m_virtualInterfaceNameHasBeenSet =
true; m_virtualInterfaceName = std::forward<VirtualInterfaceNameT>(value); }
112 template<
typename VirtualInterfaceNameT = Aws::String>
121 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
137 inline int GetAsn()
const {
return m_asn; }
138 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
154 inline void SetAsnLong(
long long value) { m_asnLongHasBeenSet =
true; m_asnLong = value; }
163 inline void SetAmazonSideAsn(
long long value) { m_amazonSideAsnHasBeenSet =
true; m_amazonSideAsn = value; }
173 template<
typename AuthKeyT = Aws::String>
174 void SetAuthKey(AuthKeyT&& value) { m_authKeyHasBeenSet =
true; m_authKey = std::forward<AuthKeyT>(value); }
175 template<
typename AuthKeyT = Aws::String>
184 template<
typename AmazonAddressT = Aws::String>
185 void SetAmazonAddress(AmazonAddressT&& value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress = std::forward<AmazonAddressT>(value); }
186 template<
typename AmazonAddressT = Aws::String>
195 template<
typename CustomerAddressT = Aws::String>
196 void SetCustomerAddress(CustomerAddressT&& value) { m_customerAddressHasBeenSet =
true; m_customerAddress = std::forward<CustomerAddressT>(value); }
197 template<
typename CustomerAddressT = Aws::String>
247 template<
typename CustomerRouterConfigT = Aws::String>
248 void SetCustomerRouterConfig(CustomerRouterConfigT&& value) { m_customerRouterConfigHasBeenSet =
true; m_customerRouterConfig = std::forward<CustomerRouterConfigT>(value); }
249 template<
typename CustomerRouterConfigT = Aws::String>
258 inline int GetMtu()
const {
return m_mtu; }
259 inline void SetMtu(
int value) { m_mtuHasBeenSet =
true; m_mtu = value; }
268 inline void SetJumboFrameCapable(
bool value) { m_jumboFrameCapableHasBeenSet =
true; m_jumboFrameCapable = value; }
278 template<
typename VirtualGatewayIdT = Aws::String>
279 void SetVirtualGatewayId(VirtualGatewayIdT&& value) { m_virtualGatewayIdHasBeenSet =
true; m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value); }
280 template<
typename VirtualGatewayIdT = Aws::String>
289 template<
typename DirectConnectGatewayIdT = Aws::String>
290 void SetDirectConnectGatewayId(DirectConnectGatewayIdT&& value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value); }
291 template<
typename DirectConnectGatewayIdT = Aws::String>
301 template<
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
302 void SetRouteFilterPrefixes(RouteFilterPrefixesT&& value) { m_routeFilterPrefixesHasBeenSet =
true; m_routeFilterPrefixes = std::forward<RouteFilterPrefixesT>(value); }
303 template<
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
305 template<
typename RouteFilterPrefixesT = RouteFilterPrefix>
314 template<
typename BgpPeersT = Aws::Vector<BGPPeer>>
315 void SetBgpPeers(BgpPeersT&& value) { m_bgpPeersHasBeenSet =
true; m_bgpPeers = std::forward<BgpPeersT>(value); }
316 template<
typename BgpPeersT = Aws::Vector<BGPPeer>>
318 template<
typename BgpPeersT = BGPPeer>
327 template<
typename RegionT = Aws::String>
328 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
329 template<
typename RegionT = Aws::String>
338 template<
typename AwsDeviceV2T = Aws::String>
339 void SetAwsDeviceV2(AwsDeviceV2T&& value) { m_awsDeviceV2HasBeenSet =
true; m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value); }
340 template<
typename AwsDeviceV2T = Aws::String>
351 template<
typename AwsLogicalDeviceIdT = Aws::String>
352 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { m_awsLogicalDeviceIdHasBeenSet =
true; m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value); }
353 template<
typename AwsLogicalDeviceIdT = Aws::String>
362 template<
typename TagsT = Aws::Vector<Tag>>
363 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
364 template<
typename TagsT = Aws::Vector<Tag>>
366 template<
typename TagsT = Tag>
375 inline void SetSiteLinkEnabled(
bool value) { m_siteLinkEnabledHasBeenSet =
true; m_siteLinkEnabled = value; }
382 template<
typename RequestIdT = Aws::String>
383 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
384 template<
typename RequestIdT = Aws::String>
390 bool m_ownerAccountHasBeenSet =
false;
393 bool m_virtualInterfaceIdHasBeenSet =
false;
396 bool m_locationHasBeenSet =
false;
399 bool m_connectionIdHasBeenSet =
false;
402 bool m_virtualInterfaceTypeHasBeenSet =
false;
405 bool m_virtualInterfaceNameHasBeenSet =
false;
408 bool m_vlanHasBeenSet =
false;
411 bool m_asnHasBeenSet =
false;
413 long long m_asnLong{0};
414 bool m_asnLongHasBeenSet =
false;
416 long long m_amazonSideAsn{0};
417 bool m_amazonSideAsnHasBeenSet =
false;
420 bool m_authKeyHasBeenSet =
false;
423 bool m_amazonAddressHasBeenSet =
false;
426 bool m_customerAddressHasBeenSet =
false;
429 bool m_addressFamilyHasBeenSet =
false;
432 bool m_virtualInterfaceStateHasBeenSet =
false;
435 bool m_customerRouterConfigHasBeenSet =
false;
438 bool m_mtuHasBeenSet =
false;
440 bool m_jumboFrameCapable{
false};
441 bool m_jumboFrameCapableHasBeenSet =
false;
444 bool m_virtualGatewayIdHasBeenSet =
false;
447 bool m_directConnectGatewayIdHasBeenSet =
false;
450 bool m_routeFilterPrefixesHasBeenSet =
false;
453 bool m_bgpPeersHasBeenSet =
false;
456 bool m_regionHasBeenSet =
false;
459 bool m_awsDeviceV2HasBeenSet =
false;
462 bool m_awsLogicalDeviceIdHasBeenSet =
false;
465 bool m_tagsHasBeenSet =
false;
467 bool m_siteLinkEnabled{
false};
468 bool m_siteLinkEnabledHasBeenSet =
false;
471 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 & 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 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 & 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)
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