/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a local gateway virtual interface.See Also:
AWS
* API Reference
The ID of the virtual interface.
*/ inline const Aws::String& GetLocalGatewayVirtualInterfaceId() const{ return m_localGatewayVirtualInterfaceId; } /** *The ID of the virtual interface.
*/ inline bool LocalGatewayVirtualInterfaceIdHasBeenSet() const { return m_localGatewayVirtualInterfaceIdHasBeenSet; } /** *The ID of the virtual interface.
*/ inline void SetLocalGatewayVirtualInterfaceId(const Aws::String& value) { m_localGatewayVirtualInterfaceIdHasBeenSet = true; m_localGatewayVirtualInterfaceId = value; } /** *The ID of the virtual interface.
*/ inline void SetLocalGatewayVirtualInterfaceId(Aws::String&& value) { m_localGatewayVirtualInterfaceIdHasBeenSet = true; m_localGatewayVirtualInterfaceId = std::move(value); } /** *The ID of the virtual interface.
*/ inline void SetLocalGatewayVirtualInterfaceId(const char* value) { m_localGatewayVirtualInterfaceIdHasBeenSet = true; m_localGatewayVirtualInterfaceId.assign(value); } /** *The ID of the virtual interface.
*/ inline LocalGatewayVirtualInterface& WithLocalGatewayVirtualInterfaceId(const Aws::String& value) { SetLocalGatewayVirtualInterfaceId(value); return *this;} /** *The ID of the virtual interface.
*/ inline LocalGatewayVirtualInterface& WithLocalGatewayVirtualInterfaceId(Aws::String&& value) { SetLocalGatewayVirtualInterfaceId(std::move(value)); return *this;} /** *The ID of the virtual interface.
*/ inline LocalGatewayVirtualInterface& WithLocalGatewayVirtualInterfaceId(const char* value) { SetLocalGatewayVirtualInterfaceId(value); return *this;} /** *The ID of the local gateway.
*/ inline const Aws::String& GetLocalGatewayId() const{ return m_localGatewayId; } /** *The ID of the local gateway.
*/ inline bool LocalGatewayIdHasBeenSet() const { return m_localGatewayIdHasBeenSet; } /** *The ID of the local gateway.
*/ inline void SetLocalGatewayId(const Aws::String& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = value; } /** *The ID of the local gateway.
*/ inline void SetLocalGatewayId(Aws::String&& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = std::move(value); } /** *The ID of the local gateway.
*/ inline void SetLocalGatewayId(const char* value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId.assign(value); } /** *The ID of the local gateway.
*/ inline LocalGatewayVirtualInterface& WithLocalGatewayId(const Aws::String& value) { SetLocalGatewayId(value); return *this;} /** *The ID of the local gateway.
*/ inline LocalGatewayVirtualInterface& WithLocalGatewayId(Aws::String&& value) { SetLocalGatewayId(std::move(value)); return *this;} /** *The ID of the local gateway.
*/ inline LocalGatewayVirtualInterface& WithLocalGatewayId(const char* value) { SetLocalGatewayId(value); return *this;} /** *The ID of the VLAN.
*/ inline int GetVlan() const{ return m_vlan; } /** *The ID of the VLAN.
*/ inline bool VlanHasBeenSet() const { return m_vlanHasBeenSet; } /** *The ID of the VLAN.
*/ inline void SetVlan(int value) { m_vlanHasBeenSet = true; m_vlan = value; } /** *The ID of the VLAN.
*/ inline LocalGatewayVirtualInterface& WithVlan(int value) { SetVlan(value); return *this;} /** *The local address.
*/ inline const Aws::String& GetLocalAddress() const{ return m_localAddress; } /** *The local address.
*/ inline bool LocalAddressHasBeenSet() const { return m_localAddressHasBeenSet; } /** *The local address.
*/ inline void SetLocalAddress(const Aws::String& value) { m_localAddressHasBeenSet = true; m_localAddress = value; } /** *The local address.
*/ inline void SetLocalAddress(Aws::String&& value) { m_localAddressHasBeenSet = true; m_localAddress = std::move(value); } /** *The local address.
*/ inline void SetLocalAddress(const char* value) { m_localAddressHasBeenSet = true; m_localAddress.assign(value); } /** *The local address.
*/ inline LocalGatewayVirtualInterface& WithLocalAddress(const Aws::String& value) { SetLocalAddress(value); return *this;} /** *The local address.
*/ inline LocalGatewayVirtualInterface& WithLocalAddress(Aws::String&& value) { SetLocalAddress(std::move(value)); return *this;} /** *The local address.
*/ inline LocalGatewayVirtualInterface& WithLocalAddress(const char* value) { SetLocalAddress(value); return *this;} /** *The peer address.
*/ inline const Aws::String& GetPeerAddress() const{ return m_peerAddress; } /** *The peer address.
*/ inline bool PeerAddressHasBeenSet() const { return m_peerAddressHasBeenSet; } /** *The peer address.
*/ inline void SetPeerAddress(const Aws::String& value) { m_peerAddressHasBeenSet = true; m_peerAddress = value; } /** *The peer address.
*/ inline void SetPeerAddress(Aws::String&& value) { m_peerAddressHasBeenSet = true; m_peerAddress = std::move(value); } /** *The peer address.
*/ inline void SetPeerAddress(const char* value) { m_peerAddressHasBeenSet = true; m_peerAddress.assign(value); } /** *The peer address.
*/ inline LocalGatewayVirtualInterface& WithPeerAddress(const Aws::String& value) { SetPeerAddress(value); return *this;} /** *The peer address.
*/ inline LocalGatewayVirtualInterface& WithPeerAddress(Aws::String&& value) { SetPeerAddress(std::move(value)); return *this;} /** *The peer address.
*/ inline LocalGatewayVirtualInterface& WithPeerAddress(const char* value) { SetPeerAddress(value); return *this;} /** *The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local * gateway.
*/ inline int GetLocalBgpAsn() const{ return m_localBgpAsn; } /** *The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local * gateway.
*/ inline bool LocalBgpAsnHasBeenSet() const { return m_localBgpAsnHasBeenSet; } /** *The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local * gateway.
*/ inline void SetLocalBgpAsn(int value) { m_localBgpAsnHasBeenSet = true; m_localBgpAsn = value; } /** *The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local * gateway.
*/ inline LocalGatewayVirtualInterface& WithLocalBgpAsn(int value) { SetLocalBgpAsn(value); return *this;} /** *The peer BGP ASN.
*/ inline int GetPeerBgpAsn() const{ return m_peerBgpAsn; } /** *The peer BGP ASN.
*/ inline bool PeerBgpAsnHasBeenSet() const { return m_peerBgpAsnHasBeenSet; } /** *The peer BGP ASN.
*/ inline void SetPeerBgpAsn(int value) { m_peerBgpAsnHasBeenSet = true; m_peerBgpAsn = value; } /** *The peer BGP ASN.
*/ inline LocalGatewayVirtualInterface& WithPeerBgpAsn(int value) { SetPeerBgpAsn(value); return *this;} /** *The ID of the Amazon Web Services account that owns the local gateway virtual * interface.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The ID of the Amazon Web Services account that owns the local gateway virtual * interface.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The ID of the Amazon Web Services account that owns the local gateway virtual * interface.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The ID of the Amazon Web Services account that owns the local gateway virtual * interface.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The ID of the Amazon Web Services account that owns the local gateway virtual * interface.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The ID of the Amazon Web Services account that owns the local gateway virtual * interface.
*/ inline LocalGatewayVirtualInterface& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The ID of the Amazon Web Services account that owns the local gateway virtual * interface.
*/ inline LocalGatewayVirtualInterface& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account that owns the local gateway virtual * interface.
*/ inline LocalGatewayVirtualInterface& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *The tags assigned to the virtual interface.
*/ inline const Aws::VectorThe tags assigned to the virtual interface.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags assigned to the virtual interface.
*/ inline void SetTags(const Aws::VectorThe tags assigned to the virtual interface.
*/ inline void SetTags(Aws::VectorThe tags assigned to the virtual interface.
*/ inline LocalGatewayVirtualInterface& WithTags(const Aws::VectorThe tags assigned to the virtual interface.
*/ inline LocalGatewayVirtualInterface& WithTags(Aws::VectorThe tags assigned to the virtual interface.
*/ inline LocalGatewayVirtualInterface& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The tags assigned to the virtual interface.
*/ inline LocalGatewayVirtualInterface& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_localGatewayVirtualInterfaceId; bool m_localGatewayVirtualInterfaceIdHasBeenSet = false; Aws::String m_localGatewayId; bool m_localGatewayIdHasBeenSet = false; int m_vlan; bool m_vlanHasBeenSet = false; Aws::String m_localAddress; bool m_localAddressHasBeenSet = false; Aws::String m_peerAddress; bool m_peerAddressHasBeenSet = false; int m_localBgpAsn; bool m_localBgpAsnHasBeenSet = false; int m_peerBgpAsn; bool m_peerBgpAsnHasBeenSet = false; Aws::String m_ownerId; bool m_ownerIdHasBeenSet = false; Aws::Vector