/**
* 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;} /** *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; bool m_staticRoutesOnly; bool m_staticRoutesOnlyHasBeenSet; TunnelInsideIpVersion m_tunnelInsideIpVersion; bool m_tunnelInsideIpVersionHasBeenSet; Aws::Vector