/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes VPN connection options.See Also:
AWS
* API Reference
Indicates whether acceleration is enabled for the VPN connection.
*/ inline bool GetEnableAcceleration() const{ return m_enableAcceleration; } /** *Indicates whether acceleration is enabled for the VPN connection.
*/ inline bool EnableAccelerationHasBeenSet() const { return m_enableAccelerationHasBeenSet; } /** *Indicates whether acceleration is enabled for the VPN connection.
*/ inline void SetEnableAcceleration(bool value) { m_enableAccelerationHasBeenSet = true; m_enableAcceleration = value; } /** *Indicates whether acceleration is enabled for the VPN connection.
*/ inline VpnConnectionOptions& WithEnableAcceleration(bool value) { SetEnableAcceleration(value); return *this;} /** *Indicates whether the VPN connection uses static routes only. Static routes * must be used for devices that don't support BGP.
*/ inline bool GetStaticRoutesOnly() const{ return m_staticRoutesOnly; } /** *Indicates whether the VPN connection uses static routes only. Static routes * must be used for devices that don't support BGP.
*/ inline bool StaticRoutesOnlyHasBeenSet() const { return m_staticRoutesOnlyHasBeenSet; } /** *Indicates whether the VPN connection uses static routes only. Static routes * must be used for devices that don't support BGP.
*/ inline void SetStaticRoutesOnly(bool value) { m_staticRoutesOnlyHasBeenSet = true; m_staticRoutesOnly = value; } /** *Indicates whether the VPN connection uses static routes only. Static routes * must be used for devices that don't support BGP.
*/ inline VpnConnectionOptions& WithStaticRoutesOnly(bool value) { SetStaticRoutesOnly(value); return *this;} /** *The IPv4 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline const Aws::String& GetLocalIpv4NetworkCidr() const{ return m_localIpv4NetworkCidr; } /** *The IPv4 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline bool LocalIpv4NetworkCidrHasBeenSet() const { return m_localIpv4NetworkCidrHasBeenSet; } /** *The IPv4 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline void SetLocalIpv4NetworkCidr(const Aws::String& value) { m_localIpv4NetworkCidrHasBeenSet = true; m_localIpv4NetworkCidr = value; } /** *The IPv4 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline void SetLocalIpv4NetworkCidr(Aws::String&& value) { m_localIpv4NetworkCidrHasBeenSet = true; m_localIpv4NetworkCidr = std::move(value); } /** *The IPv4 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline void SetLocalIpv4NetworkCidr(const char* value) { m_localIpv4NetworkCidrHasBeenSet = true; m_localIpv4NetworkCidr.assign(value); } /** *The IPv4 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline VpnConnectionOptions& WithLocalIpv4NetworkCidr(const Aws::String& value) { SetLocalIpv4NetworkCidr(value); return *this;} /** *The IPv4 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline VpnConnectionOptions& WithLocalIpv4NetworkCidr(Aws::String&& value) { SetLocalIpv4NetworkCidr(std::move(value)); return *this;} /** *The IPv4 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline VpnConnectionOptions& WithLocalIpv4NetworkCidr(const char* value) { SetLocalIpv4NetworkCidr(value); return *this;} /** *The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline const Aws::String& GetRemoteIpv4NetworkCidr() const{ return m_remoteIpv4NetworkCidr; } /** *The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline bool RemoteIpv4NetworkCidrHasBeenSet() const { return m_remoteIpv4NetworkCidrHasBeenSet; } /** *The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline void SetRemoteIpv4NetworkCidr(const Aws::String& value) { m_remoteIpv4NetworkCidrHasBeenSet = true; m_remoteIpv4NetworkCidr = value; } /** *The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline void SetRemoteIpv4NetworkCidr(Aws::String&& value) { m_remoteIpv4NetworkCidrHasBeenSet = true; m_remoteIpv4NetworkCidr = std::move(value); } /** *The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline void SetRemoteIpv4NetworkCidr(const char* value) { m_remoteIpv4NetworkCidrHasBeenSet = true; m_remoteIpv4NetworkCidr.assign(value); } /** *The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline VpnConnectionOptions& WithRemoteIpv4NetworkCidr(const Aws::String& value) { SetRemoteIpv4NetworkCidr(value); return *this;} /** *The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline VpnConnectionOptions& WithRemoteIpv4NetworkCidr(Aws::String&& value) { SetRemoteIpv4NetworkCidr(std::move(value)); return *this;} /** *The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline VpnConnectionOptions& WithRemoteIpv4NetworkCidr(const char* value) { SetRemoteIpv4NetworkCidr(value); return *this;} /** *The IPv6 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline const Aws::String& GetLocalIpv6NetworkCidr() const{ return m_localIpv6NetworkCidr; } /** *The IPv6 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline bool LocalIpv6NetworkCidrHasBeenSet() const { return m_localIpv6NetworkCidrHasBeenSet; } /** *The IPv6 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline void SetLocalIpv6NetworkCidr(const Aws::String& value) { m_localIpv6NetworkCidrHasBeenSet = true; m_localIpv6NetworkCidr = value; } /** *The IPv6 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline void SetLocalIpv6NetworkCidr(Aws::String&& value) { m_localIpv6NetworkCidrHasBeenSet = true; m_localIpv6NetworkCidr = std::move(value); } /** *The IPv6 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline void SetLocalIpv6NetworkCidr(const char* value) { m_localIpv6NetworkCidrHasBeenSet = true; m_localIpv6NetworkCidr.assign(value); } /** *The IPv6 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline VpnConnectionOptions& WithLocalIpv6NetworkCidr(const Aws::String& value) { SetLocalIpv6NetworkCidr(value); return *this;} /** *The IPv6 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline VpnConnectionOptions& WithLocalIpv6NetworkCidr(Aws::String&& value) { SetLocalIpv6NetworkCidr(std::move(value)); return *this;} /** *The IPv6 CIDR on the customer gateway (on-premises) side of the VPN * connection.
*/ inline VpnConnectionOptions& WithLocalIpv6NetworkCidr(const char* value) { SetLocalIpv6NetworkCidr(value); return *this;} /** *The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline const Aws::String& GetRemoteIpv6NetworkCidr() const{ return m_remoteIpv6NetworkCidr; } /** *The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline bool RemoteIpv6NetworkCidrHasBeenSet() const { return m_remoteIpv6NetworkCidrHasBeenSet; } /** *The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline void SetRemoteIpv6NetworkCidr(const Aws::String& value) { m_remoteIpv6NetworkCidrHasBeenSet = true; m_remoteIpv6NetworkCidr = value; } /** *The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline void SetRemoteIpv6NetworkCidr(Aws::String&& value) { m_remoteIpv6NetworkCidrHasBeenSet = true; m_remoteIpv6NetworkCidr = std::move(value); } /** *The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline void SetRemoteIpv6NetworkCidr(const char* value) { m_remoteIpv6NetworkCidrHasBeenSet = true; m_remoteIpv6NetworkCidr.assign(value); } /** *The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline VpnConnectionOptions& WithRemoteIpv6NetworkCidr(const Aws::String& value) { SetRemoteIpv6NetworkCidr(value); return *this;} /** *The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline VpnConnectionOptions& WithRemoteIpv6NetworkCidr(Aws::String&& value) { SetRemoteIpv6NetworkCidr(std::move(value)); return *this;} /** *The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
*/ inline VpnConnectionOptions& WithRemoteIpv6NetworkCidr(const char* value) { SetRemoteIpv6NetworkCidr(value); return *this;} /** *The type of IPv4 address assigned to the outside interface of the customer * gateway.
Valid values: PrivateIpv4
| PublicIpv4
*
Default: PublicIpv4
The type of IPv4 address assigned to the outside interface of the customer * gateway.
Valid values: PrivateIpv4
| PublicIpv4
*
Default: PublicIpv4
The type of IPv4 address assigned to the outside interface of the customer * gateway.
Valid values: PrivateIpv4
| PublicIpv4
*
Default: PublicIpv4
The type of IPv4 address assigned to the outside interface of the customer * gateway.
Valid values: PrivateIpv4
| PublicIpv4
*
Default: PublicIpv4
The type of IPv4 address assigned to the outside interface of the customer * gateway.
Valid values: PrivateIpv4
| PublicIpv4
*
Default: PublicIpv4
The type of IPv4 address assigned to the outside interface of the customer * gateway.
Valid values: PrivateIpv4
| PublicIpv4
*
Default: PublicIpv4
The type of IPv4 address assigned to the outside interface of the customer * gateway.
Valid values: PrivateIpv4
| PublicIpv4
*
Default: PublicIpv4
The type of IPv4 address assigned to the outside interface of the customer * gateway.
Valid values: PrivateIpv4
| PublicIpv4
*
Default: PublicIpv4
The transit gateway attachment ID in use for the VPN tunnel.
*/ inline const Aws::String& GetTransportTransitGatewayAttachmentId() const{ return m_transportTransitGatewayAttachmentId; } /** *The transit gateway attachment ID in use for the VPN tunnel.
*/ inline bool TransportTransitGatewayAttachmentIdHasBeenSet() const { return m_transportTransitGatewayAttachmentIdHasBeenSet; } /** *The transit gateway attachment ID in use for the VPN tunnel.
*/ inline void SetTransportTransitGatewayAttachmentId(const Aws::String& value) { m_transportTransitGatewayAttachmentIdHasBeenSet = true; m_transportTransitGatewayAttachmentId = value; } /** *The transit gateway attachment ID in use for the VPN tunnel.
*/ inline void SetTransportTransitGatewayAttachmentId(Aws::String&& value) { m_transportTransitGatewayAttachmentIdHasBeenSet = true; m_transportTransitGatewayAttachmentId = std::move(value); } /** *The transit gateway attachment ID in use for the VPN tunnel.
*/ inline void SetTransportTransitGatewayAttachmentId(const char* value) { m_transportTransitGatewayAttachmentIdHasBeenSet = true; m_transportTransitGatewayAttachmentId.assign(value); } /** *The transit gateway attachment ID in use for the VPN tunnel.
*/ inline VpnConnectionOptions& WithTransportTransitGatewayAttachmentId(const Aws::String& value) { SetTransportTransitGatewayAttachmentId(value); return *this;} /** *The transit gateway attachment ID in use for the VPN tunnel.
*/ inline VpnConnectionOptions& WithTransportTransitGatewayAttachmentId(Aws::String&& value) { SetTransportTransitGatewayAttachmentId(std::move(value)); return *this;} /** *The transit gateway attachment ID in use for the VPN tunnel.
*/ inline VpnConnectionOptions& WithTransportTransitGatewayAttachmentId(const char* value) { SetTransportTransitGatewayAttachmentId(value); return *this;} /** *Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
*/ inline const TunnelInsideIpVersion& GetTunnelInsideIpVersion() const{ return m_tunnelInsideIpVersion; } /** *Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
*/ inline bool TunnelInsideIpVersionHasBeenSet() const { return m_tunnelInsideIpVersionHasBeenSet; } /** *Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
*/ inline void SetTunnelInsideIpVersion(const TunnelInsideIpVersion& value) { m_tunnelInsideIpVersionHasBeenSet = true; m_tunnelInsideIpVersion = value; } /** *Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
*/ inline void SetTunnelInsideIpVersion(TunnelInsideIpVersion&& value) { m_tunnelInsideIpVersionHasBeenSet = true; m_tunnelInsideIpVersion = std::move(value); } /** *Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
*/ inline VpnConnectionOptions& WithTunnelInsideIpVersion(const TunnelInsideIpVersion& value) { SetTunnelInsideIpVersion(value); return *this;} /** *Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
*/ inline VpnConnectionOptions& WithTunnelInsideIpVersion(TunnelInsideIpVersion&& value) { SetTunnelInsideIpVersion(std::move(value)); return *this;} /** *Indicates the VPN tunnel options.
*/ inline const Aws::VectorIndicates the VPN tunnel options.
*/ inline bool TunnelOptionsHasBeenSet() const { return m_tunnelOptionsHasBeenSet; } /** *Indicates the VPN tunnel options.
*/ inline void SetTunnelOptions(const Aws::VectorIndicates the VPN tunnel options.
*/ inline void SetTunnelOptions(Aws::VectorIndicates the VPN tunnel options.
*/ inline VpnConnectionOptions& WithTunnelOptions(const Aws::VectorIndicates the VPN tunnel options.
*/ inline VpnConnectionOptions& WithTunnelOptions(Aws::VectorIndicates the VPN tunnel options.
*/ inline VpnConnectionOptions& AddTunnelOptions(const TunnelOption& value) { m_tunnelOptionsHasBeenSet = true; m_tunnelOptions.push_back(value); return *this; } /** *Indicates the VPN tunnel options.
*/ inline VpnConnectionOptions& AddTunnelOptions(TunnelOption&& value) { m_tunnelOptionsHasBeenSet = true; m_tunnelOptions.push_back(std::move(value)); return *this; } private: bool m_enableAcceleration; bool m_enableAccelerationHasBeenSet = false; bool m_staticRoutesOnly; bool m_staticRoutesOnlyHasBeenSet = false; Aws::String m_localIpv4NetworkCidr; bool m_localIpv4NetworkCidrHasBeenSet = false; Aws::String m_remoteIpv4NetworkCidr; bool m_remoteIpv4NetworkCidrHasBeenSet = false; Aws::String m_localIpv6NetworkCidr; bool m_localIpv6NetworkCidrHasBeenSet = false; Aws::String m_remoteIpv6NetworkCidr; bool m_remoteIpv6NetworkCidrHasBeenSet = false; Aws::String m_outsideIpAddressType; bool m_outsideIpAddressTypeHasBeenSet = false; Aws::String m_transportTransitGatewayAttachmentId; bool m_transportTransitGatewayAttachmentIdHasBeenSet = false; TunnelInsideIpVersion m_tunnelInsideIpVersion; bool m_tunnelInsideIpVersionHasBeenSet = false; Aws::Vector