/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include VPN connection options.See Also:
AWS
* API Reference
Whether the VPN connection uses static routes only.
*/ inline bool GetStaticRoutesOnly() const{ return m_staticRoutesOnly; } /** *Whether the VPN connection uses static routes only.
*/ inline bool StaticRoutesOnlyHasBeenSet() const { return m_staticRoutesOnlyHasBeenSet; } /** *Whether the VPN connection uses static routes only.
*/ inline void SetStaticRoutesOnly(bool value) { m_staticRoutesOnlyHasBeenSet = true; m_staticRoutesOnly = value; } /** *Whether the VPN connection uses static routes only.
*/ inline AwsEc2VpnConnectionOptionsDetails& WithStaticRoutesOnly(bool value) { SetStaticRoutesOnly(value); return *this;} /** *The VPN tunnel options.
*/ inline const Aws::VectorThe VPN tunnel options.
*/ inline bool TunnelOptionsHasBeenSet() const { return m_tunnelOptionsHasBeenSet; } /** *The VPN tunnel options.
*/ inline void SetTunnelOptions(const Aws::VectorThe VPN tunnel options.
*/ inline void SetTunnelOptions(Aws::VectorThe VPN tunnel options.
*/ inline AwsEc2VpnConnectionOptionsDetails& WithTunnelOptions(const Aws::VectorThe VPN tunnel options.
*/ inline AwsEc2VpnConnectionOptionsDetails& WithTunnelOptions(Aws::VectorThe VPN tunnel options.
*/ inline AwsEc2VpnConnectionOptionsDetails& AddTunnelOptions(const AwsEc2VpnConnectionOptionsTunnelOptionsDetails& value) { m_tunnelOptionsHasBeenSet = true; m_tunnelOptions.push_back(value); return *this; } /** *The VPN tunnel options.
*/ inline AwsEc2VpnConnectionOptionsDetails& AddTunnelOptions(AwsEc2VpnConnectionOptionsTunnelOptionsDetails&& value) { m_tunnelOptionsHasBeenSet = true; m_tunnelOptions.push_back(std::move(value)); return *this; } private: bool m_staticRoutesOnly; bool m_staticRoutesOnlyHasBeenSet = false; Aws::Vector