/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the Connect peer details.See Also:
AWS
* API Reference
The Connect peer IP address on the transit gateway side of the tunnel.
*/ inline const Aws::String& GetTransitGatewayAddress() const{ return m_transitGatewayAddress; } /** *The Connect peer IP address on the transit gateway side of the tunnel.
*/ inline bool TransitGatewayAddressHasBeenSet() const { return m_transitGatewayAddressHasBeenSet; } /** *The Connect peer IP address on the transit gateway side of the tunnel.
*/ inline void SetTransitGatewayAddress(const Aws::String& value) { m_transitGatewayAddressHasBeenSet = true; m_transitGatewayAddress = value; } /** *The Connect peer IP address on the transit gateway side of the tunnel.
*/ inline void SetTransitGatewayAddress(Aws::String&& value) { m_transitGatewayAddressHasBeenSet = true; m_transitGatewayAddress = std::move(value); } /** *The Connect peer IP address on the transit gateway side of the tunnel.
*/ inline void SetTransitGatewayAddress(const char* value) { m_transitGatewayAddressHasBeenSet = true; m_transitGatewayAddress.assign(value); } /** *The Connect peer IP address on the transit gateway side of the tunnel.
*/ inline TransitGatewayConnectPeerConfiguration& WithTransitGatewayAddress(const Aws::String& value) { SetTransitGatewayAddress(value); return *this;} /** *The Connect peer IP address on the transit gateway side of the tunnel.
*/ inline TransitGatewayConnectPeerConfiguration& WithTransitGatewayAddress(Aws::String&& value) { SetTransitGatewayAddress(std::move(value)); return *this;} /** *The Connect peer IP address on the transit gateway side of the tunnel.
*/ inline TransitGatewayConnectPeerConfiguration& WithTransitGatewayAddress(const char* value) { SetTransitGatewayAddress(value); return *this;} /** *The Connect peer IP address on the appliance side of the tunnel.
*/ inline const Aws::String& GetPeerAddress() const{ return m_peerAddress; } /** *The Connect peer IP address on the appliance side of the tunnel.
*/ inline bool PeerAddressHasBeenSet() const { return m_peerAddressHasBeenSet; } /** *The Connect peer IP address on the appliance side of the tunnel.
*/ inline void SetPeerAddress(const Aws::String& value) { m_peerAddressHasBeenSet = true; m_peerAddress = value; } /** *The Connect peer IP address on the appliance side of the tunnel.
*/ inline void SetPeerAddress(Aws::String&& value) { m_peerAddressHasBeenSet = true; m_peerAddress = std::move(value); } /** *The Connect peer IP address on the appliance side of the tunnel.
*/ inline void SetPeerAddress(const char* value) { m_peerAddressHasBeenSet = true; m_peerAddress.assign(value); } /** *The Connect peer IP address on the appliance side of the tunnel.
*/ inline TransitGatewayConnectPeerConfiguration& WithPeerAddress(const Aws::String& value) { SetPeerAddress(value); return *this;} /** *The Connect peer IP address on the appliance side of the tunnel.
*/ inline TransitGatewayConnectPeerConfiguration& WithPeerAddress(Aws::String&& value) { SetPeerAddress(std::move(value)); return *this;} /** *The Connect peer IP address on the appliance side of the tunnel.
*/ inline TransitGatewayConnectPeerConfiguration& WithPeerAddress(const char* value) { SetPeerAddress(value); return *this;} /** *The range of interior BGP peer IP addresses.
*/ inline const Aws::VectorThe range of interior BGP peer IP addresses.
*/ inline bool InsideCidrBlocksHasBeenSet() const { return m_insideCidrBlocksHasBeenSet; } /** *The range of interior BGP peer IP addresses.
*/ inline void SetInsideCidrBlocks(const Aws::VectorThe range of interior BGP peer IP addresses.
*/ inline void SetInsideCidrBlocks(Aws::VectorThe range of interior BGP peer IP addresses.
*/ inline TransitGatewayConnectPeerConfiguration& WithInsideCidrBlocks(const Aws::VectorThe range of interior BGP peer IP addresses.
*/ inline TransitGatewayConnectPeerConfiguration& WithInsideCidrBlocks(Aws::VectorThe range of interior BGP peer IP addresses.
*/ inline TransitGatewayConnectPeerConfiguration& AddInsideCidrBlocks(const Aws::String& value) { m_insideCidrBlocksHasBeenSet = true; m_insideCidrBlocks.push_back(value); return *this; } /** *The range of interior BGP peer IP addresses.
*/ inline TransitGatewayConnectPeerConfiguration& AddInsideCidrBlocks(Aws::String&& value) { m_insideCidrBlocksHasBeenSet = true; m_insideCidrBlocks.push_back(std::move(value)); return *this; } /** *The range of interior BGP peer IP addresses.
*/ inline TransitGatewayConnectPeerConfiguration& AddInsideCidrBlocks(const char* value) { m_insideCidrBlocksHasBeenSet = true; m_insideCidrBlocks.push_back(value); return *this; } /** *The tunnel protocol.
*/ inline const ProtocolValue& GetProtocol() const{ return m_protocol; } /** *The tunnel protocol.
*/ inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; } /** *The tunnel protocol.
*/ inline void SetProtocol(const ProtocolValue& value) { m_protocolHasBeenSet = true; m_protocol = value; } /** *The tunnel protocol.
*/ inline void SetProtocol(ProtocolValue&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); } /** *The tunnel protocol.
*/ inline TransitGatewayConnectPeerConfiguration& WithProtocol(const ProtocolValue& value) { SetProtocol(value); return *this;} /** *The tunnel protocol.
*/ inline TransitGatewayConnectPeerConfiguration& WithProtocol(ProtocolValue&& value) { SetProtocol(std::move(value)); return *this;} /** *The BGP configuration details.
*/ inline const Aws::VectorThe BGP configuration details.
*/ inline bool BgpConfigurationsHasBeenSet() const { return m_bgpConfigurationsHasBeenSet; } /** *The BGP configuration details.
*/ inline void SetBgpConfigurations(const Aws::VectorThe BGP configuration details.
*/ inline void SetBgpConfigurations(Aws::VectorThe BGP configuration details.
*/ inline TransitGatewayConnectPeerConfiguration& WithBgpConfigurations(const Aws::VectorThe BGP configuration details.
*/ inline TransitGatewayConnectPeerConfiguration& WithBgpConfigurations(Aws::VectorThe BGP configuration details.
*/ inline TransitGatewayConnectPeerConfiguration& AddBgpConfigurations(const TransitGatewayAttachmentBgpConfiguration& value) { m_bgpConfigurationsHasBeenSet = true; m_bgpConfigurations.push_back(value); return *this; } /** *The BGP configuration details.
*/ inline TransitGatewayConnectPeerConfiguration& AddBgpConfigurations(TransitGatewayAttachmentBgpConfiguration&& value) { m_bgpConfigurationsHasBeenSet = true; m_bgpConfigurations.push_back(std::move(value)); return *this; } private: Aws::String m_transitGatewayAddress; bool m_transitGatewayAddressHasBeenSet = false; Aws::String m_peerAddress; bool m_peerAddressHasBeenSet = false; Aws::Vector