/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a virtual interface.See Also:
AWS
* API Reference
The ID of the Amazon Web Services account that owns the virtual * interface.
*/ inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; } /** *The ID of the Amazon Web Services account that owns the virtual * interface.
*/ inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccount = value; } /** *The ID of the Amazon Web Services account that owns the virtual * interface.
*/ inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccount = std::move(value); } /** *The ID of the Amazon Web Services account that owns the virtual * interface.
*/ inline void SetOwnerAccount(const char* value) { m_ownerAccount.assign(value); } /** *The ID of the Amazon Web Services account that owns the virtual * interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;} /** *The ID of the Amazon Web Services account that owns the virtual * interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the virtual * interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;} /** *The ID of the virtual interface.
*/ inline const Aws::String& GetVirtualInterfaceId() const{ return m_virtualInterfaceId; } /** *The ID of the virtual interface.
*/ inline void SetVirtualInterfaceId(const Aws::String& value) { m_virtualInterfaceId = value; } /** *The ID of the virtual interface.
*/ inline void SetVirtualInterfaceId(Aws::String&& value) { m_virtualInterfaceId = std::move(value); } /** *The ID of the virtual interface.
*/ inline void SetVirtualInterfaceId(const char* value) { m_virtualInterfaceId.assign(value); } /** *The ID of the virtual interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithVirtualInterfaceId(const Aws::String& value) { SetVirtualInterfaceId(value); return *this;} /** *The ID of the virtual interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithVirtualInterfaceId(Aws::String&& value) { SetVirtualInterfaceId(std::move(value)); return *this;} /** *The ID of the virtual interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithVirtualInterfaceId(const char* value) { SetVirtualInterfaceId(value); return *this;} /** *The location of the connection.
*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *The location of the connection.
*/ inline void SetLocation(const Aws::String& value) { m_location = value; } /** *The location of the connection.
*/ inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } /** *The location of the connection.
*/ inline void SetLocation(const char* value) { m_location.assign(value); } /** *The location of the connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *The location of the connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *The location of the connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithLocation(const char* value) { SetLocation(value); return *this;} /** *The ID of the connection.
*/ inline const Aws::String& GetConnectionId() const{ return m_connectionId; } /** *The ID of the connection.
*/ inline void SetConnectionId(const Aws::String& value) { m_connectionId = value; } /** *The ID of the connection.
*/ inline void SetConnectionId(Aws::String&& value) { m_connectionId = std::move(value); } /** *The ID of the connection.
*/ inline void SetConnectionId(const char* value) { m_connectionId.assign(value); } /** *The ID of the connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;} /** *The ID of the connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;} /** *The ID of the connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithConnectionId(const char* value) { SetConnectionId(value); return *this;} /** *The type of virtual interface. The possible values are private
* and public
.
The type of virtual interface. The possible values are private
* and public
.
The type of virtual interface. The possible values are private
* and public
.
The type of virtual interface. The possible values are private
* and public
.
The type of virtual interface. The possible values are private
* and public
.
The type of virtual interface. The possible values are private
* and public
.
The type of virtual interface. The possible values are private
* and public
.
The name of the virtual interface assigned by the customer network. The name * has a maximum of 100 characters. The following are valid characters: a-z, 0-9 * and a hyphen (-).
*/ inline const Aws::String& GetVirtualInterfaceName() const{ return m_virtualInterfaceName; } /** *The name of the virtual interface assigned by the customer network. The name * has a maximum of 100 characters. The following are valid characters: a-z, 0-9 * and a hyphen (-).
*/ inline void SetVirtualInterfaceName(const Aws::String& value) { m_virtualInterfaceName = value; } /** *The name of the virtual interface assigned by the customer network. The name * has a maximum of 100 characters. The following are valid characters: a-z, 0-9 * and a hyphen (-).
*/ inline void SetVirtualInterfaceName(Aws::String&& value) { m_virtualInterfaceName = std::move(value); } /** *The name of the virtual interface assigned by the customer network. The name * has a maximum of 100 characters. The following are valid characters: a-z, 0-9 * and a hyphen (-).
*/ inline void SetVirtualInterfaceName(const char* value) { m_virtualInterfaceName.assign(value); } /** *The name of the virtual interface assigned by the customer network. The name * has a maximum of 100 characters. The following are valid characters: a-z, 0-9 * and a hyphen (-).
*/ inline UpdateVirtualInterfaceAttributesResult& WithVirtualInterfaceName(const Aws::String& value) { SetVirtualInterfaceName(value); return *this;} /** *The name of the virtual interface assigned by the customer network. The name * has a maximum of 100 characters. The following are valid characters: a-z, 0-9 * and a hyphen (-).
*/ inline UpdateVirtualInterfaceAttributesResult& WithVirtualInterfaceName(Aws::String&& value) { SetVirtualInterfaceName(std::move(value)); return *this;} /** *The name of the virtual interface assigned by the customer network. The name * has a maximum of 100 characters. The following are valid characters: a-z, 0-9 * and a hyphen (-).
*/ inline UpdateVirtualInterfaceAttributesResult& WithVirtualInterfaceName(const char* value) { SetVirtualInterfaceName(value); return *this;} /** *The ID of the VLAN.
*/ inline int GetVlan() const{ return m_vlan; } /** *The ID of the VLAN.
*/ inline void SetVlan(int value) { m_vlan = value; } /** *The ID of the VLAN.
*/ inline UpdateVirtualInterfaceAttributesResult& WithVlan(int value) { SetVlan(value); return *this;} /** *The autonomous system (AS) number for Border Gateway Protocol (BGP) * configuration.
The valid values are 1-2147483647.
*/ inline int GetAsn() const{ return m_asn; } /** *The autonomous system (AS) number for Border Gateway Protocol (BGP) * configuration.
The valid values are 1-2147483647.
*/ inline void SetAsn(int value) { m_asn = value; } /** *The autonomous system (AS) number for Border Gateway Protocol (BGP) * configuration.
The valid values are 1-2147483647.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAsn(int value) { SetAsn(value); return *this;} /** *The autonomous system number (ASN) for the Amazon side of the connection.
*/ inline long long GetAmazonSideAsn() const{ return m_amazonSideAsn; } /** *The autonomous system number (ASN) for the Amazon side of the connection.
*/ inline void SetAmazonSideAsn(long long value) { m_amazonSideAsn = value; } /** *The autonomous system number (ASN) for the Amazon side of the connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAmazonSideAsn(long long value) { SetAmazonSideAsn(value); return *this;} /** *The authentication key for BGP configuration. This string has a minimum * length of 6 characters and and a maximun lenth of 80 characters.
*/ inline const Aws::String& GetAuthKey() const{ return m_authKey; } /** *The authentication key for BGP configuration. This string has a minimum * length of 6 characters and and a maximun lenth of 80 characters.
*/ inline void SetAuthKey(const Aws::String& value) { m_authKey = value; } /** *The authentication key for BGP configuration. This string has a minimum * length of 6 characters and and a maximun lenth of 80 characters.
*/ inline void SetAuthKey(Aws::String&& value) { m_authKey = std::move(value); } /** *The authentication key for BGP configuration. This string has a minimum * length of 6 characters and and a maximun lenth of 80 characters.
*/ inline void SetAuthKey(const char* value) { m_authKey.assign(value); } /** *The authentication key for BGP configuration. This string has a minimum * length of 6 characters and and a maximun lenth of 80 characters.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAuthKey(const Aws::String& value) { SetAuthKey(value); return *this;} /** *The authentication key for BGP configuration. This string has a minimum * length of 6 characters and and a maximun lenth of 80 characters.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAuthKey(Aws::String&& value) { SetAuthKey(std::move(value)); return *this;} /** *The authentication key for BGP configuration. This string has a minimum * length of 6 characters and and a maximun lenth of 80 characters.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAuthKey(const char* value) { SetAuthKey(value); return *this;} /** *The IP address assigned to the Amazon interface.
*/ inline const Aws::String& GetAmazonAddress() const{ return m_amazonAddress; } /** *The IP address assigned to the Amazon interface.
*/ inline void SetAmazonAddress(const Aws::String& value) { m_amazonAddress = value; } /** *The IP address assigned to the Amazon interface.
*/ inline void SetAmazonAddress(Aws::String&& value) { m_amazonAddress = std::move(value); } /** *The IP address assigned to the Amazon interface.
*/ inline void SetAmazonAddress(const char* value) { m_amazonAddress.assign(value); } /** *The IP address assigned to the Amazon interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAmazonAddress(const Aws::String& value) { SetAmazonAddress(value); return *this;} /** *The IP address assigned to the Amazon interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAmazonAddress(Aws::String&& value) { SetAmazonAddress(std::move(value)); return *this;} /** *The IP address assigned to the Amazon interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAmazonAddress(const char* value) { SetAmazonAddress(value); return *this;} /** *The IP address assigned to the customer interface.
*/ inline const Aws::String& GetCustomerAddress() const{ return m_customerAddress; } /** *The IP address assigned to the customer interface.
*/ inline void SetCustomerAddress(const Aws::String& value) { m_customerAddress = value; } /** *The IP address assigned to the customer interface.
*/ inline void SetCustomerAddress(Aws::String&& value) { m_customerAddress = std::move(value); } /** *The IP address assigned to the customer interface.
*/ inline void SetCustomerAddress(const char* value) { m_customerAddress.assign(value); } /** *The IP address assigned to the customer interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithCustomerAddress(const Aws::String& value) { SetCustomerAddress(value); return *this;} /** *The IP address assigned to the customer interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithCustomerAddress(Aws::String&& value) { SetCustomerAddress(std::move(value)); return *this;} /** *The IP address assigned to the customer interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithCustomerAddress(const char* value) { SetCustomerAddress(value); return *this;} /** *The address family for the BGP peer.
*/ inline const AddressFamily& GetAddressFamily() const{ return m_addressFamily; } /** *The address family for the BGP peer.
*/ inline void SetAddressFamily(const AddressFamily& value) { m_addressFamily = value; } /** *The address family for the BGP peer.
*/ inline void SetAddressFamily(AddressFamily&& value) { m_addressFamily = std::move(value); } /** *The address family for the BGP peer.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAddressFamily(const AddressFamily& value) { SetAddressFamily(value); return *this;} /** *The address family for the BGP peer.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAddressFamily(AddressFamily&& value) { SetAddressFamily(std::move(value)); return *this;} /** *The state of the virtual interface. The following are the possible * values:
confirming
: The creation of the virtual
* interface is pending confirmation from the virtual interface owner. If the owner
* of the virtual interface is different from the owner of the connection on which
* it is provisioned, then the virtual interface will remain in this state until it
* is confirmed by the virtual interface owner.
* verifying
: This state only applies to public virtual interfaces.
* Each public virtual interface needs validation before the virtual interface can
* be created.
pending
: A virtual interface is in
* this state from the time that it is created until the virtual interface is ready
* to forward traffic.
available
: A virtual
* interface that is able to forward traffic.
down
:
* A virtual interface that is BGP down.
deleting
:
* A virtual interface is in this state immediately after calling
* DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward
* traffic.
rejected
: The virtual interface owner
* has declined creation of the virtual interface. If a virtual interface in the
* Confirming
state is deleted by the virtual interface owner, the
* virtual interface enters the Rejected
state.
* unknown
: The state of the virtual interface is not available.
The state of the virtual interface. The following are the possible * values:
confirming
: The creation of the virtual
* interface is pending confirmation from the virtual interface owner. If the owner
* of the virtual interface is different from the owner of the connection on which
* it is provisioned, then the virtual interface will remain in this state until it
* is confirmed by the virtual interface owner.
* verifying
: This state only applies to public virtual interfaces.
* Each public virtual interface needs validation before the virtual interface can
* be created.
pending
: A virtual interface is in
* this state from the time that it is created until the virtual interface is ready
* to forward traffic.
available
: A virtual
* interface that is able to forward traffic.
down
:
* A virtual interface that is BGP down.
deleting
:
* A virtual interface is in this state immediately after calling
* DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward
* traffic.
rejected
: The virtual interface owner
* has declined creation of the virtual interface. If a virtual interface in the
* Confirming
state is deleted by the virtual interface owner, the
* virtual interface enters the Rejected
state.
* unknown
: The state of the virtual interface is not available.
The state of the virtual interface. The following are the possible * values:
confirming
: The creation of the virtual
* interface is pending confirmation from the virtual interface owner. If the owner
* of the virtual interface is different from the owner of the connection on which
* it is provisioned, then the virtual interface will remain in this state until it
* is confirmed by the virtual interface owner.
* verifying
: This state only applies to public virtual interfaces.
* Each public virtual interface needs validation before the virtual interface can
* be created.
pending
: A virtual interface is in
* this state from the time that it is created until the virtual interface is ready
* to forward traffic.
available
: A virtual
* interface that is able to forward traffic.
down
:
* A virtual interface that is BGP down.
deleting
:
* A virtual interface is in this state immediately after calling
* DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward
* traffic.
rejected
: The virtual interface owner
* has declined creation of the virtual interface. If a virtual interface in the
* Confirming
state is deleted by the virtual interface owner, the
* virtual interface enters the Rejected
state.
* unknown
: The state of the virtual interface is not available.
The state of the virtual interface. The following are the possible * values:
confirming
: The creation of the virtual
* interface is pending confirmation from the virtual interface owner. If the owner
* of the virtual interface is different from the owner of the connection on which
* it is provisioned, then the virtual interface will remain in this state until it
* is confirmed by the virtual interface owner.
* verifying
: This state only applies to public virtual interfaces.
* Each public virtual interface needs validation before the virtual interface can
* be created.
pending
: A virtual interface is in
* this state from the time that it is created until the virtual interface is ready
* to forward traffic.
available
: A virtual
* interface that is able to forward traffic.
down
:
* A virtual interface that is BGP down.
deleting
:
* A virtual interface is in this state immediately after calling
* DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward
* traffic.
rejected
: The virtual interface owner
* has declined creation of the virtual interface. If a virtual interface in the
* Confirming
state is deleted by the virtual interface owner, the
* virtual interface enters the Rejected
state.
* unknown
: The state of the virtual interface is not available.
The state of the virtual interface. The following are the possible * values:
confirming
: The creation of the virtual
* interface is pending confirmation from the virtual interface owner. If the owner
* of the virtual interface is different from the owner of the connection on which
* it is provisioned, then the virtual interface will remain in this state until it
* is confirmed by the virtual interface owner.
* verifying
: This state only applies to public virtual interfaces.
* Each public virtual interface needs validation before the virtual interface can
* be created.
pending
: A virtual interface is in
* this state from the time that it is created until the virtual interface is ready
* to forward traffic.
available
: A virtual
* interface that is able to forward traffic.
down
:
* A virtual interface that is BGP down.
deleting
:
* A virtual interface is in this state immediately after calling
* DeleteVirtualInterface until it can no longer forward traffic.
deleted
: A virtual interface that cannot forward
* traffic.
rejected
: The virtual interface owner
* has declined creation of the virtual interface. If a virtual interface in the
* Confirming
state is deleted by the virtual interface owner, the
* virtual interface enters the Rejected
state.
* unknown
: The state of the virtual interface is not available.
The customer router configuration.
*/ inline const Aws::String& GetCustomerRouterConfig() const{ return m_customerRouterConfig; } /** *The customer router configuration.
*/ inline void SetCustomerRouterConfig(const Aws::String& value) { m_customerRouterConfig = value; } /** *The customer router configuration.
*/ inline void SetCustomerRouterConfig(Aws::String&& value) { m_customerRouterConfig = std::move(value); } /** *The customer router configuration.
*/ inline void SetCustomerRouterConfig(const char* value) { m_customerRouterConfig.assign(value); } /** *The customer router configuration.
*/ inline UpdateVirtualInterfaceAttributesResult& WithCustomerRouterConfig(const Aws::String& value) { SetCustomerRouterConfig(value); return *this;} /** *The customer router configuration.
*/ inline UpdateVirtualInterfaceAttributesResult& WithCustomerRouterConfig(Aws::String&& value) { SetCustomerRouterConfig(std::move(value)); return *this;} /** *The customer router configuration.
*/ inline UpdateVirtualInterfaceAttributesResult& WithCustomerRouterConfig(const char* value) { SetCustomerRouterConfig(value); return *this;} /** *The maximum transmission unit (MTU), in bytes. The supported values are 1500 * and 8500. The default value is 1500
*/ inline int GetMtu() const{ return m_mtu; } /** *The maximum transmission unit (MTU), in bytes. The supported values are 1500 * and 8500. The default value is 1500
*/ inline void SetMtu(int value) { m_mtu = value; } /** *The maximum transmission unit (MTU), in bytes. The supported values are 1500 * and 8500. The default value is 1500
*/ inline UpdateVirtualInterfaceAttributesResult& WithMtu(int value) { SetMtu(value); return *this;} /** *Indicates whether jumbo frames are supported.
*/ inline bool GetJumboFrameCapable() const{ return m_jumboFrameCapable; } /** *Indicates whether jumbo frames are supported.
*/ inline void SetJumboFrameCapable(bool value) { m_jumboFrameCapable = value; } /** *Indicates whether jumbo frames are supported.
*/ inline UpdateVirtualInterfaceAttributesResult& WithJumboFrameCapable(bool value) { SetJumboFrameCapable(value); return *this;} /** *The ID of the virtual private gateway. Applies only to private virtual * interfaces.
*/ inline const Aws::String& GetVirtualGatewayId() const{ return m_virtualGatewayId; } /** *The ID of the virtual private gateway. Applies only to private virtual * interfaces.
*/ inline void SetVirtualGatewayId(const Aws::String& value) { m_virtualGatewayId = value; } /** *The ID of the virtual private gateway. Applies only to private virtual * interfaces.
*/ inline void SetVirtualGatewayId(Aws::String&& value) { m_virtualGatewayId = std::move(value); } /** *The ID of the virtual private gateway. Applies only to private virtual * interfaces.
*/ inline void SetVirtualGatewayId(const char* value) { m_virtualGatewayId.assign(value); } /** *The ID of the virtual private gateway. Applies only to private virtual * interfaces.
*/ inline UpdateVirtualInterfaceAttributesResult& WithVirtualGatewayId(const Aws::String& value) { SetVirtualGatewayId(value); return *this;} /** *The ID of the virtual private gateway. Applies only to private virtual * interfaces.
*/ inline UpdateVirtualInterfaceAttributesResult& WithVirtualGatewayId(Aws::String&& value) { SetVirtualGatewayId(std::move(value)); return *this;} /** *The ID of the virtual private gateway. Applies only to private virtual * interfaces.
*/ inline UpdateVirtualInterfaceAttributesResult& WithVirtualGatewayId(const char* value) { SetVirtualGatewayId(value); return *this;} /** *The ID of the Direct Connect gateway.
*/ inline const Aws::String& GetDirectConnectGatewayId() const{ return m_directConnectGatewayId; } /** *The ID of the Direct Connect gateway.
*/ inline void SetDirectConnectGatewayId(const Aws::String& value) { m_directConnectGatewayId = value; } /** *The ID of the Direct Connect gateway.
*/ inline void SetDirectConnectGatewayId(Aws::String&& value) { m_directConnectGatewayId = std::move(value); } /** *The ID of the Direct Connect gateway.
*/ inline void SetDirectConnectGatewayId(const char* value) { m_directConnectGatewayId.assign(value); } /** *The ID of the Direct Connect gateway.
*/ inline UpdateVirtualInterfaceAttributesResult& WithDirectConnectGatewayId(const Aws::String& value) { SetDirectConnectGatewayId(value); return *this;} /** *The ID of the Direct Connect gateway.
*/ inline UpdateVirtualInterfaceAttributesResult& WithDirectConnectGatewayId(Aws::String&& value) { SetDirectConnectGatewayId(std::move(value)); return *this;} /** *The ID of the Direct Connect gateway.
*/ inline UpdateVirtualInterfaceAttributesResult& WithDirectConnectGatewayId(const char* value) { SetDirectConnectGatewayId(value); return *this;} /** *The routes to be advertised to the Amazon Web Services network in this * Region. Applies to public virtual interfaces.
*/ inline const Aws::VectorThe routes to be advertised to the Amazon Web Services network in this * Region. Applies to public virtual interfaces.
*/ inline void SetRouteFilterPrefixes(const Aws::VectorThe routes to be advertised to the Amazon Web Services network in this * Region. Applies to public virtual interfaces.
*/ inline void SetRouteFilterPrefixes(Aws::VectorThe routes to be advertised to the Amazon Web Services network in this * Region. Applies to public virtual interfaces.
*/ inline UpdateVirtualInterfaceAttributesResult& WithRouteFilterPrefixes(const Aws::VectorThe routes to be advertised to the Amazon Web Services network in this * Region. Applies to public virtual interfaces.
*/ inline UpdateVirtualInterfaceAttributesResult& WithRouteFilterPrefixes(Aws::VectorThe routes to be advertised to the Amazon Web Services network in this * Region. Applies to public virtual interfaces.
*/ inline UpdateVirtualInterfaceAttributesResult& AddRouteFilterPrefixes(const RouteFilterPrefix& value) { m_routeFilterPrefixes.push_back(value); return *this; } /** *The routes to be advertised to the Amazon Web Services network in this * Region. Applies to public virtual interfaces.
*/ inline UpdateVirtualInterfaceAttributesResult& AddRouteFilterPrefixes(RouteFilterPrefix&& value) { m_routeFilterPrefixes.push_back(std::move(value)); return *this; } /** *The BGP peers configured on this virtual interface.
*/ inline const Aws::VectorThe BGP peers configured on this virtual interface.
*/ inline void SetBgpPeers(const Aws::VectorThe BGP peers configured on this virtual interface.
*/ inline void SetBgpPeers(Aws::VectorThe BGP peers configured on this virtual interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithBgpPeers(const Aws::VectorThe BGP peers configured on this virtual interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithBgpPeers(Aws::VectorThe BGP peers configured on this virtual interface.
*/ inline UpdateVirtualInterfaceAttributesResult& AddBgpPeers(const BGPPeer& value) { m_bgpPeers.push_back(value); return *this; } /** *The BGP peers configured on this virtual interface.
*/ inline UpdateVirtualInterfaceAttributesResult& AddBgpPeers(BGPPeer&& value) { m_bgpPeers.push_back(std::move(value)); return *this; } /** *The Amazon Web Services Region where the virtual interface is located.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The Amazon Web Services Region where the virtual interface is located.
*/ inline void SetRegion(const Aws::String& value) { m_region = value; } /** *The Amazon Web Services Region where the virtual interface is located.
*/ inline void SetRegion(Aws::String&& value) { m_region = std::move(value); } /** *The Amazon Web Services Region where the virtual interface is located.
*/ inline void SetRegion(const char* value) { m_region.assign(value); } /** *The Amazon Web Services Region where the virtual interface is located.
*/ inline UpdateVirtualInterfaceAttributesResult& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The Amazon Web Services Region where the virtual interface is located.
*/ inline UpdateVirtualInterfaceAttributesResult& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The Amazon Web Services Region where the virtual interface is located.
*/ inline UpdateVirtualInterfaceAttributesResult& WithRegion(const char* value) { SetRegion(value); return *this;} /** *The Direct Connect endpoint that terminates the physical connection.
*/ inline const Aws::String& GetAwsDeviceV2() const{ return m_awsDeviceV2; } /** *The Direct Connect endpoint that terminates the physical connection.
*/ inline void SetAwsDeviceV2(const Aws::String& value) { m_awsDeviceV2 = value; } /** *The Direct Connect endpoint that terminates the physical connection.
*/ inline void SetAwsDeviceV2(Aws::String&& value) { m_awsDeviceV2 = std::move(value); } /** *The Direct Connect endpoint that terminates the physical connection.
*/ inline void SetAwsDeviceV2(const char* value) { m_awsDeviceV2.assign(value); } /** *The Direct Connect endpoint that terminates the physical connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAwsDeviceV2(const Aws::String& value) { SetAwsDeviceV2(value); return *this;} /** *The Direct Connect endpoint that terminates the physical connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAwsDeviceV2(Aws::String&& value) { SetAwsDeviceV2(std::move(value)); return *this;} /** *The Direct Connect endpoint that terminates the physical connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAwsDeviceV2(const char* value) { SetAwsDeviceV2(value); return *this;} /** *The Direct Connect endpoint that terminates the logical connection. This * device might be different than the device that terminates the physical * connection.
*/ inline const Aws::String& GetAwsLogicalDeviceId() const{ return m_awsLogicalDeviceId; } /** *The Direct Connect endpoint that terminates the logical connection. This * device might be different than the device that terminates the physical * connection.
*/ inline void SetAwsLogicalDeviceId(const Aws::String& value) { m_awsLogicalDeviceId = value; } /** *The Direct Connect endpoint that terminates the logical connection. This * device might be different than the device that terminates the physical * connection.
*/ inline void SetAwsLogicalDeviceId(Aws::String&& value) { m_awsLogicalDeviceId = std::move(value); } /** *The Direct Connect endpoint that terminates the logical connection. This * device might be different than the device that terminates the physical * connection.
*/ inline void SetAwsLogicalDeviceId(const char* value) { m_awsLogicalDeviceId.assign(value); } /** *The Direct Connect endpoint that terminates the logical connection. This * device might be different than the device that terminates the physical * connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAwsLogicalDeviceId(const Aws::String& value) { SetAwsLogicalDeviceId(value); return *this;} /** *The Direct Connect endpoint that terminates the logical connection. This * device might be different than the device that terminates the physical * connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAwsLogicalDeviceId(Aws::String&& value) { SetAwsLogicalDeviceId(std::move(value)); return *this;} /** *The Direct Connect endpoint that terminates the logical connection. This * device might be different than the device that terminates the physical * connection.
*/ inline UpdateVirtualInterfaceAttributesResult& WithAwsLogicalDeviceId(const char* value) { SetAwsLogicalDeviceId(value); return *this;} /** *The tags associated with the virtual interface.
*/ inline const Aws::VectorThe tags associated with the virtual interface.
*/ inline void SetTags(const Aws::VectorThe tags associated with the virtual interface.
*/ inline void SetTags(Aws::VectorThe tags associated with the virtual interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithTags(const Aws::VectorThe tags associated with the virtual interface.
*/ inline UpdateVirtualInterfaceAttributesResult& WithTags(Aws::VectorThe tags associated with the virtual interface.
*/ inline UpdateVirtualInterfaceAttributesResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *The tags associated with the virtual interface.
*/ inline UpdateVirtualInterfaceAttributesResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } /** *Indicates whether SiteLink is enabled.
*/ inline bool GetSiteLinkEnabled() const{ return m_siteLinkEnabled; } /** *Indicates whether SiteLink is enabled.
*/ inline void SetSiteLinkEnabled(bool value) { m_siteLinkEnabled = value; } /** *Indicates whether SiteLink is enabled.
*/ inline UpdateVirtualInterfaceAttributesResult& WithSiteLinkEnabled(bool value) { SetSiteLinkEnabled(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateVirtualInterfaceAttributesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateVirtualInterfaceAttributesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateVirtualInterfaceAttributesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_ownerAccount; Aws::String m_virtualInterfaceId; Aws::String m_location; Aws::String m_connectionId; Aws::String m_virtualInterfaceType; Aws::String m_virtualInterfaceName; int m_vlan; int m_asn; long long m_amazonSideAsn; Aws::String m_authKey; Aws::String m_amazonAddress; Aws::String m_customerAddress; AddressFamily m_addressFamily; VirtualInterfaceState m_virtualInterfaceState; Aws::String m_customerRouterConfig; int m_mtu; bool m_jumboFrameCapable; Aws::String m_virtualGatewayId; Aws::String m_directConnectGatewayId; Aws::Vector