/** * 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 { /** *

Provides details on one or more IPv6 prefixes to be assigned to the network * interface.

See Also:

AWS * API Reference

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

The IPv6 prefix.

*/ inline const Aws::String& GetIpv6Prefix() const{ return m_ipv6Prefix; } /** *

The IPv6 prefix.

*/ inline bool Ipv6PrefixHasBeenSet() const { return m_ipv6PrefixHasBeenSet; } /** *

The IPv6 prefix.

*/ inline void SetIpv6Prefix(const Aws::String& value) { m_ipv6PrefixHasBeenSet = true; m_ipv6Prefix = value; } /** *

The IPv6 prefix.

*/ inline void SetIpv6Prefix(Aws::String&& value) { m_ipv6PrefixHasBeenSet = true; m_ipv6Prefix = std::move(value); } /** *

The IPv6 prefix.

*/ inline void SetIpv6Prefix(const char* value) { m_ipv6PrefixHasBeenSet = true; m_ipv6Prefix.assign(value); } /** *

The IPv6 prefix.

*/ inline AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails& WithIpv6Prefix(const Aws::String& value) { SetIpv6Prefix(value); return *this;} /** *

The IPv6 prefix.

*/ inline AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails& WithIpv6Prefix(Aws::String&& value) { SetIpv6Prefix(std::move(value)); return *this;} /** *

The IPv6 prefix.

*/ inline AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails& WithIpv6Prefix(const char* value) { SetIpv6Prefix(value); return *this;} private: Aws::String m_ipv6Prefix; bool m_ipv6PrefixHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws