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>
27namespace DirectConnect
55 inline void SetOwnerAccount(
const char* value) { m_ownerAccountHasBeenSet =
true; m_ownerAccount.assign(value); }
69 inline void SetVirtualInterfaceId(
const char* value) { m_virtualInterfaceIdHasBeenSet =
true; m_virtualInterfaceId.assign(value); }
83 inline void SetLocation(
const char* value) { m_locationHasBeenSet =
true; m_location.assign(value); }
97 inline void SetConnectionId(
const char* value) { m_connectionIdHasBeenSet =
true; m_connectionId.assign(value); }
112 inline void SetVirtualInterfaceType(
const char* value) { m_virtualInterfaceTypeHasBeenSet =
true; m_virtualInterfaceType.assign(value); }
128 inline void SetVirtualInterfaceName(
const char* value) { m_virtualInterfaceNameHasBeenSet =
true; m_virtualInterfaceName.assign(value); }
140 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
149 inline int GetAsn()
const{
return m_asn; }
151 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
161 inline void SetAmazonSideAsn(
long long value) { m_amazonSideAsnHasBeenSet =
true; m_amazonSideAsn = value; }
174 inline void SetAuthKey(
const char* value) { m_authKeyHasBeenSet =
true; m_authKey.assign(value); }
188 inline void SetAmazonAddress(
const char* value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress.assign(value); }
202 inline void SetCustomerAddress(
const char* value) { m_customerAddressHasBeenSet =
true; m_customerAddress.assign(value); }
261 inline void SetCustomerRouterConfig(
const char* value) { m_customerRouterConfigHasBeenSet =
true; m_customerRouterConfig.assign(value); }
272 inline int GetMtu()
const{
return m_mtu; }
274 inline void SetMtu(
int value) { m_mtuHasBeenSet =
true; m_mtu = value; }
284 inline void SetJumboFrameCapable(
bool value) { m_jumboFrameCapableHasBeenSet =
true; m_jumboFrameCapable = value; }
297 inline void SetVirtualGatewayId(
const char* value) { m_virtualGatewayIdHasBeenSet =
true; m_virtualGatewayId.assign(value); }
311 inline void SetDirectConnectGatewayId(
const char* value) { m_directConnectGatewayIdHasBeenSet =
true; m_directConnectGatewayId.assign(value); }
354 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
368 inline void SetAwsDeviceV2(
const char* value) { m_awsDeviceV2HasBeenSet =
true; m_awsDeviceV2.assign(value); }
384 inline void SetAwsLogicalDeviceId(
const char* value) { m_awsLogicalDeviceIdHasBeenSet =
true; m_awsLogicalDeviceId.assign(value); }
410 inline void SetSiteLinkEnabled(
bool value) { m_siteLinkEnabledHasBeenSet =
true; m_siteLinkEnabled = value; }
420 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
428 bool m_ownerAccountHasBeenSet =
false;
431 bool m_virtualInterfaceIdHasBeenSet =
false;
434 bool m_locationHasBeenSet =
false;
437 bool m_connectionIdHasBeenSet =
false;
440 bool m_virtualInterfaceTypeHasBeenSet =
false;
443 bool m_virtualInterfaceNameHasBeenSet =
false;
446 bool m_vlanHasBeenSet =
false;
449 bool m_asnHasBeenSet =
false;
451 long long m_amazonSideAsn;
452 bool m_amazonSideAsnHasBeenSet =
false;
455 bool m_authKeyHasBeenSet =
false;
458 bool m_amazonAddressHasBeenSet =
false;
461 bool m_customerAddressHasBeenSet =
false;
464 bool m_addressFamilyHasBeenSet =
false;
467 bool m_virtualInterfaceStateHasBeenSet =
false;
470 bool m_customerRouterConfigHasBeenSet =
false;
473 bool m_mtuHasBeenSet =
false;
475 bool m_jumboFrameCapable;
476 bool m_jumboFrameCapableHasBeenSet =
false;
479 bool m_virtualGatewayIdHasBeenSet =
false;
482 bool m_directConnectGatewayIdHasBeenSet =
false;
485 bool m_routeFilterPrefixesHasBeenSet =
false;
488 bool m_bgpPeersHasBeenSet =
false;
491 bool m_regionHasBeenSet =
false;
494 bool m_awsDeviceV2HasBeenSet =
false;
497 bool m_awsLogicalDeviceIdHasBeenSet =
false;
500 bool m_tagsHasBeenSet =
false;
502 bool m_siteLinkEnabled;
503 bool m_siteLinkEnabledHasBeenSet =
false;
506 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetVirtualGatewayId() const
VirtualInterface & WithCustomerAddress(const Aws::String &value)
void SetAwsDeviceV2(Aws::String &&value)
VirtualInterface & WithConnectionId(Aws::String &&value)
bool AmazonSideAsnHasBeenSet() const
VirtualInterface & WithVirtualInterfaceName(const char *value)
VirtualInterface & WithVirtualGatewayId(const char *value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetVirtualInterfaceName() const
void SetConnectionId(Aws::String &&value)
void SetRegion(Aws::String &&value)
const Aws::String & GetAmazonAddress() const
const Aws::Vector< RouteFilterPrefix > & GetRouteFilterPrefixes() const
VirtualInterface & AddTags(Tag &&value)
VirtualInterface & WithAddressFamily(AddressFamily &&value)
bool AwsLogicalDeviceIdHasBeenSet() const
VirtualInterface & WithCustomerRouterConfig(Aws::String &&value)
void SetVirtualGatewayId(const char *value)
VirtualInterface & WithVirtualInterfaceState(VirtualInterfaceState &&value)
bool VirtualInterfaceNameHasBeenSet() const
const Aws::String & GetConnectionId() const
VirtualInterface & WithRequestId(const char *value)
VirtualInterface & WithAddressFamily(const AddressFamily &value)
const Aws::String & GetRequestId() const
bool RegionHasBeenSet() const
void SetDirectConnectGatewayId(const char *value)
long long GetAmazonSideAsn() const
void SetConnectionId(const Aws::String &value)
bool GetSiteLinkEnabled() const
bool GetJumboFrameCapable() const
VirtualInterface & WithRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
void SetVirtualInterfaceId(const char *value)
void SetVirtualInterfaceState(VirtualInterfaceState &&value)
const Aws::String & GetAuthKey() const
VirtualInterface & WithAwsLogicalDeviceId(const char *value)
bool DirectConnectGatewayIdHasBeenSet() const
VirtualInterface & WithVirtualInterfaceType(const char *value)
VirtualInterface & WithOwnerAccount(const Aws::String &value)
bool RouteFilterPrefixesHasBeenSet() const
bool RequestIdHasBeenSet() const
bool JumboFrameCapableHasBeenSet() const
void SetOwnerAccount(const Aws::String &value)
void SetRegion(const Aws::String &value)
void SetVirtualInterfaceName(Aws::String &&value)
VirtualInterface & WithAmazonAddress(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
VirtualInterface & WithAuthKey(const char *value)
VirtualInterface & WithRequestId(Aws::String &&value)
VirtualInterface & WithVirtualInterfaceName(const Aws::String &value)
const Aws::String & GetAwsDeviceV2() const
VirtualInterface & WithRegion(Aws::String &&value)
VirtualInterface & WithAmazonAddress(const Aws::String &value)
void SetSiteLinkEnabled(bool value)
bool VlanHasBeenSet() const
VirtualInterface & WithVlan(int value)
VirtualInterface & WithConnectionId(const Aws::String &value)
VirtualInterface & WithOwnerAccount(Aws::String &&value)
void SetVirtualGatewayId(Aws::String &&value)
VirtualInterface & WithTags(const Aws::Vector< Tag > &value)
void SetAwsDeviceV2(const Aws::String &value)
const Aws::String & GetDirectConnectGatewayId() const
bool LocationHasBeenSet() const
bool OwnerAccountHasBeenSet() const
void SetConnectionId(const char *value)
const Aws::String & GetOwnerAccount() const
bool AsnHasBeenSet() const
void SetVirtualInterfaceType(const char *value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetVirtualInterfaceId() const
bool TagsHasBeenSet() const
void SetVirtualInterfaceType(Aws::String &&value)
bool AuthKeyHasBeenSet() const
VirtualInterface & WithAwsLogicalDeviceId(Aws::String &&value)
VirtualInterface & WithRegion(const Aws::String &value)
bool BgpPeersHasBeenSet() const
VirtualInterface & WithOwnerAccount(const char *value)
bool CustomerAddressHasBeenSet() const
void SetCustomerRouterConfig(Aws::String &&value)
VirtualInterface & WithVirtualInterfaceType(const Aws::String &value)
void SetVirtualInterfaceState(const VirtualInterfaceState &value)
void SetRegion(const char *value)
VirtualInterface & WithTags(Aws::Vector< Tag > &&value)
void SetAuthKey(const Aws::String &value)
bool VirtualInterfaceStateHasBeenSet() const
void SetVirtualGatewayId(const Aws::String &value)
void SetBgpPeers(const Aws::Vector< BGPPeer > &value)
void SetAwsLogicalDeviceId(const char *value)
VirtualInterface & WithCustomerAddress(Aws::String &&value)
VirtualInterface & WithConnectionId(const char *value)
void SetAwsLogicalDeviceId(Aws::String &&value)
AWS_DIRECTCONNECT_API VirtualInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
VirtualInterface & WithAwsDeviceV2(const char *value)
void SetAwsLogicalDeviceId(const Aws::String &value)
AWS_DIRECTCONNECT_API VirtualInterface()
VirtualInterface & WithVirtualInterfaceState(const VirtualInterfaceState &value)
void SetVirtualInterfaceName(const Aws::String &value)
void SetCustomerAddress(Aws::String &&value)
void SetBgpPeers(Aws::Vector< BGPPeer > &&value)
const Aws::String & GetCustomerRouterConfig() const
VirtualInterface & WithLocation(const char *value)
VirtualInterface & AddBgpPeers(BGPPeer &&value)
const Aws::String & GetCustomerAddress() const
VirtualInterface & WithLocation(Aws::String &&value)
const Aws::String & GetVirtualInterfaceType() const
void SetOwnerAccount(Aws::String &&value)
VirtualInterface & WithRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
void SetRequestId(const char *value)
VirtualInterface & WithVirtualInterfaceId(const char *value)
void SetAmazonAddress(const char *value)
VirtualInterface & AddRouteFilterPrefixes(RouteFilterPrefix &&value)
VirtualInterface & AddRouteFilterPrefixes(const RouteFilterPrefix &value)
void SetAuthKey(const char *value)
const Aws::String & GetAwsLogicalDeviceId() const
VirtualInterface & WithMtu(int value)
void SetLocation(Aws::String &&value)
bool SiteLinkEnabledHasBeenSet() const
void SetJumboFrameCapable(bool value)
VirtualInterface & WithVirtualGatewayId(const Aws::String &value)
const AddressFamily & GetAddressFamily() const
const Aws::String & GetLocation() const
void SetCustomerAddress(const char *value)
void SetAmazonSideAsn(long long value)
const VirtualInterfaceState & GetVirtualInterfaceState() const
VirtualInterface & WithAmazonAddress(const char *value)
void SetDirectConnectGatewayId(Aws::String &&value)
VirtualInterface & WithAmazonSideAsn(long long value)
bool AddressFamilyHasBeenSet() const
VirtualInterface & WithCustomerRouterConfig(const Aws::String &value)
void SetCustomerRouterConfig(const Aws::String &value)
VirtualInterface & WithAwsDeviceV2(const Aws::String &value)
void SetCustomerRouterConfig(const char *value)
bool MtuHasBeenSet() const
VirtualInterface & WithVirtualInterfaceId(const Aws::String &value)
VirtualInterface & WithAwsDeviceV2(Aws::String &&value)
void SetOwnerAccount(const char *value)
void SetLocation(const char *value)
VirtualInterface & AddTags(const Tag &value)
void SetVirtualInterfaceName(const char *value)
bool AmazonAddressHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
VirtualInterface & WithRegion(const char *value)
bool ConnectionIdHasBeenSet() const
bool VirtualGatewayIdHasBeenSet() const
void SetCustomerAddress(const Aws::String &value)
void SetAmazonAddress(Aws::String &&value)
void SetAddressFamily(AddressFamily &&value)
VirtualInterface & WithDirectConnectGatewayId(const Aws::String &value)
void SetVirtualInterfaceId(const Aws::String &value)
VirtualInterface & WithRequestId(const Aws::String &value)
VirtualInterface & WithDirectConnectGatewayId(Aws::String &&value)
AWS_DIRECTCONNECT_API VirtualInterface(Aws::Utils::Json::JsonView jsonValue)
VirtualInterface & WithLocation(const Aws::String &value)
VirtualInterface & WithAsn(int value)
const Aws::String & GetRegion() const
VirtualInterface & WithVirtualInterfaceId(Aws::String &&value)
bool CustomerRouterConfigHasBeenSet() const
VirtualInterface & WithBgpPeers(Aws::Vector< BGPPeer > &&value)
VirtualInterface & AddBgpPeers(const BGPPeer &value)
void SetVirtualInterfaceId(Aws::String &&value)
VirtualInterface & WithAuthKey(const Aws::String &value)
void SetAmazonAddress(const Aws::String &value)
VirtualInterface & WithSiteLinkEnabled(bool value)
VirtualInterface & WithDirectConnectGatewayId(const char *value)
bool VirtualInterfaceIdHasBeenSet() const
VirtualInterface & WithJumboFrameCapable(bool value)
void SetLocation(const Aws::String &value)
VirtualInterface & WithVirtualInterfaceType(Aws::String &&value)
VirtualInterface & WithAwsLogicalDeviceId(const Aws::String &value)
VirtualInterface & WithCustomerAddress(const char *value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVirtualInterfaceType(const Aws::String &value)
VirtualInterface & WithVirtualInterfaceName(Aws::String &&value)
VirtualInterface & WithBgpPeers(const Aws::Vector< BGPPeer > &value)
void SetRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
bool AwsDeviceV2HasBeenSet() const
bool VirtualInterfaceTypeHasBeenSet() const
void SetDirectConnectGatewayId(const Aws::String &value)
void SetAuthKey(Aws::String &&value)
void SetAddressFamily(const AddressFamily &value)
void SetRequestId(Aws::String &&value)
void SetRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
void SetAwsDeviceV2(const char *value)
VirtualInterface & WithAuthKey(Aws::String &&value)
VirtualInterface & WithVirtualGatewayId(Aws::String &&value)
VirtualInterface & WithCustomerRouterConfig(const char *value)
const Aws::Vector< BGPPeer > & GetBgpPeers() 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