/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace NetworkManager { namespace Model { /** *

Describes the VPC options.

See Also:

AWS * API Reference

*/ class VpcOptions { public: AWS_NETWORKMANAGER_API VpcOptions(); AWS_NETWORKMANAGER_API VpcOptions(Aws::Utils::Json::JsonView jsonValue); AWS_NETWORKMANAGER_API VpcOptions& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Indicates whether IPv6 is supported.

*/ inline bool GetIpv6Support() const{ return m_ipv6Support; } /** *

Indicates whether IPv6 is supported.

*/ inline bool Ipv6SupportHasBeenSet() const { return m_ipv6SupportHasBeenSet; } /** *

Indicates whether IPv6 is supported.

*/ inline void SetIpv6Support(bool value) { m_ipv6SupportHasBeenSet = true; m_ipv6Support = value; } /** *

Indicates whether IPv6 is supported.

*/ inline VpcOptions& WithIpv6Support(bool value) { SetIpv6Support(value); return *this;} /** *

Indicates whether appliance mode is supported. If enabled, traffic flow * between a source and destination use the same Availability Zone for the VPC * attachment for the lifetime of that flow. The default value is * false.

*/ inline bool GetApplianceModeSupport() const{ return m_applianceModeSupport; } /** *

Indicates whether appliance mode is supported. If enabled, traffic flow * between a source and destination use the same Availability Zone for the VPC * attachment for the lifetime of that flow. The default value is * false.

*/ inline bool ApplianceModeSupportHasBeenSet() const { return m_applianceModeSupportHasBeenSet; } /** *

Indicates whether appliance mode is supported. If enabled, traffic flow * between a source and destination use the same Availability Zone for the VPC * attachment for the lifetime of that flow. The default value is * false.

*/ inline void SetApplianceModeSupport(bool value) { m_applianceModeSupportHasBeenSet = true; m_applianceModeSupport = value; } /** *

Indicates whether appliance mode is supported. If enabled, traffic flow * between a source and destination use the same Availability Zone for the VPC * attachment for the lifetime of that flow. The default value is * false.

*/ inline VpcOptions& WithApplianceModeSupport(bool value) { SetApplianceModeSupport(value); return *this;} private: bool m_ipv6Support; bool m_ipv6SupportHasBeenSet = false; bool m_applianceModeSupport; bool m_applianceModeSupportHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws