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

Specifies an IPv6 address in an Amazon EC2 launch template.

See * Also:

AWS * API Reference

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

One or more specific IPv6 addresses from the IPv6 CIDR block range of your * subnet.

*/ inline const Aws::String& GetIpv6Address() const{ return m_ipv6Address; } /** *

One or more specific IPv6 addresses from the IPv6 CIDR block range of your * subnet.

*/ inline bool Ipv6AddressHasBeenSet() const { return m_ipv6AddressHasBeenSet; } /** *

One or more specific IPv6 addresses from the IPv6 CIDR block range of your * subnet.

*/ inline void SetIpv6Address(const Aws::String& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = value; } /** *

One or more specific IPv6 addresses from the IPv6 CIDR block range of your * subnet.

*/ inline void SetIpv6Address(Aws::String&& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = std::move(value); } /** *

One or more specific IPv6 addresses from the IPv6 CIDR block range of your * subnet.

*/ inline void SetIpv6Address(const char* value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address.assign(value); } /** *

One or more specific IPv6 addresses from the IPv6 CIDR block range of your * subnet.

*/ inline AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails& WithIpv6Address(const Aws::String& value) { SetIpv6Address(value); return *this;} /** *

One or more specific IPv6 addresses from the IPv6 CIDR block range of your * subnet.

*/ inline AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails& WithIpv6Address(Aws::String&& value) { SetIpv6Address(std::move(value)); return *this;} /** *

One or more specific IPv6 addresses from the IPv6 CIDR block range of your * subnet.

*/ inline AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails& WithIpv6Address(const char* value) { SetIpv6Address(value); return *this;} private: Aws::String m_ipv6Address; bool m_ipv6AddressHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws