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; }
130 inline int GetAsn()
const {
return m_asn; }
131 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
140 inline void SetAmazonSideAsn(
long long value) { m_amazonSideAsnHasBeenSet =
true; m_amazonSideAsn = value; }
150 template<
typename AuthKeyT = Aws::String>
151 void SetAuthKey(AuthKeyT&& value) { m_authKeyHasBeenSet =
true; m_authKey = std::forward<AuthKeyT>(value); }
152 template<
typename AuthKeyT = Aws::String>
161 template<
typename AmazonAddressT = Aws::String>
162 void SetAmazonAddress(AmazonAddressT&& value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress = std::forward<AmazonAddressT>(value); }
163 template<
typename AmazonAddressT = Aws::String>
172 template<
typename CustomerAddressT = Aws::String>
173 void SetCustomerAddress(CustomerAddressT&& value) { m_customerAddressHasBeenSet =
true; m_customerAddress = std::forward<CustomerAddressT>(value); }
174 template<
typename CustomerAddressT = Aws::String>
224 template<
typename CustomerRouterConfigT = Aws::String>
225 void SetCustomerRouterConfig(CustomerRouterConfigT&& value) { m_customerRouterConfigHasBeenSet =
true; m_customerRouterConfig = std::forward<CustomerRouterConfigT>(value); }
226 template<
typename CustomerRouterConfigT = Aws::String>
235 inline int GetMtu()
const {
return m_mtu; }
236 inline void SetMtu(
int value) { m_mtuHasBeenSet =
true; m_mtu = value; }
245 inline void SetJumboFrameCapable(
bool value) { m_jumboFrameCapableHasBeenSet =
true; m_jumboFrameCapable = value; }
255 template<
typename VirtualGatewayIdT = Aws::String>
256 void SetVirtualGatewayId(VirtualGatewayIdT&& value) { m_virtualGatewayIdHasBeenSet =
true; m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value); }
257 template<
typename VirtualGatewayIdT = Aws::String>
266 template<
typename DirectConnectGatewayIdT = Aws::String>
267 void SetDirectConnectGatewayId(DirectConnectGatewayIdT&& value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value); }
268 template<
typename DirectConnectGatewayIdT = Aws::String>
278 template<
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
279 void SetRouteFilterPrefixes(RouteFilterPrefixesT&& value) { m_routeFilterPrefixesHasBeenSet =
true; m_routeFilterPrefixes = std::forward<RouteFilterPrefixesT>(value); }
280 template<
typename RouteFilterPrefixesT = Aws::Vector<RouteFilterPrefix>>
282 template<
typename RouteFilterPrefixesT = RouteFilterPrefix>
291 template<
typename BgpPeersT = Aws::Vector<BGPPeer>>
292 void SetBgpPeers(BgpPeersT&& value) { m_bgpPeersHasBeenSet =
true; m_bgpPeers = std::forward<BgpPeersT>(value); }
293 template<
typename BgpPeersT = Aws::Vector<BGPPeer>>
295 template<
typename BgpPeersT = BGPPeer>
304 template<
typename RegionT = Aws::String>
305 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
306 template<
typename RegionT = Aws::String>
315 template<
typename AwsDeviceV2T = Aws::String>
316 void SetAwsDeviceV2(AwsDeviceV2T&& value) { m_awsDeviceV2HasBeenSet =
true; m_awsDeviceV2 = std::forward<AwsDeviceV2T>(value); }
317 template<
typename AwsDeviceV2T = Aws::String>
328 template<
typename AwsLogicalDeviceIdT = Aws::String>
329 void SetAwsLogicalDeviceId(AwsLogicalDeviceIdT&& value) { m_awsLogicalDeviceIdHasBeenSet =
true; m_awsLogicalDeviceId = std::forward<AwsLogicalDeviceIdT>(value); }
330 template<
typename AwsLogicalDeviceIdT = Aws::String>
339 template<
typename TagsT = Aws::Vector<Tag>>
340 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
341 template<
typename TagsT = Aws::Vector<Tag>>
343 template<
typename TagsT = Tag>
352 inline void SetSiteLinkEnabled(
bool value) { m_siteLinkEnabledHasBeenSet =
true; m_siteLinkEnabled = value; }
359 template<
typename RequestIdT = Aws::String>
360 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
361 template<
typename RequestIdT = Aws::String>
367 bool m_ownerAccountHasBeenSet =
false;
370 bool m_virtualInterfaceIdHasBeenSet =
false;
373 bool m_locationHasBeenSet =
false;
376 bool m_connectionIdHasBeenSet =
false;
379 bool m_virtualInterfaceTypeHasBeenSet =
false;
382 bool m_virtualInterfaceNameHasBeenSet =
false;
385 bool m_vlanHasBeenSet =
false;
388 bool m_asnHasBeenSet =
false;
390 long long m_amazonSideAsn{0};
391 bool m_amazonSideAsnHasBeenSet =
false;
394 bool m_authKeyHasBeenSet =
false;
397 bool m_amazonAddressHasBeenSet =
false;
400 bool m_customerAddressHasBeenSet =
false;
403 bool m_addressFamilyHasBeenSet =
false;
406 bool m_virtualInterfaceStateHasBeenSet =
false;
409 bool m_customerRouterConfigHasBeenSet =
false;
412 bool m_mtuHasBeenSet =
false;
414 bool m_jumboFrameCapable{
false};
415 bool m_jumboFrameCapableHasBeenSet =
false;
418 bool m_virtualGatewayIdHasBeenSet =
false;
421 bool m_directConnectGatewayIdHasBeenSet =
false;
424 bool m_routeFilterPrefixesHasBeenSet =
false;
427 bool m_bgpPeersHasBeenSet =
false;
430 bool m_regionHasBeenSet =
false;
433 bool m_awsDeviceV2HasBeenSet =
false;
436 bool m_awsLogicalDeviceIdHasBeenSet =
false;
439 bool m_tagsHasBeenSet =
false;
441 bool m_siteLinkEnabled{
false};
442 bool m_siteLinkEnabledHasBeenSet =
false;
445 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
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)
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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue