/** * 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 IPv4 prefixes for a network interface. *

See Also:

AWS * API Reference

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

The IPv4 prefix. For more information, see Assigning * prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute * Cloud User Guide.

*/ inline const Aws::String& GetIpv4Prefix() const{ return m_ipv4Prefix; } /** *

The IPv4 prefix. For more information, see Assigning * prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute * Cloud User Guide.

*/ inline bool Ipv4PrefixHasBeenSet() const { return m_ipv4PrefixHasBeenSet; } /** *

The IPv4 prefix. For more information, see Assigning * prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute * Cloud User Guide.

*/ inline void SetIpv4Prefix(const Aws::String& value) { m_ipv4PrefixHasBeenSet = true; m_ipv4Prefix = value; } /** *

The IPv4 prefix. For more information, see Assigning * prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute * Cloud User Guide.

*/ inline void SetIpv4Prefix(Aws::String&& value) { m_ipv4PrefixHasBeenSet = true; m_ipv4Prefix = std::move(value); } /** *

The IPv4 prefix. For more information, see Assigning * prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute * Cloud User Guide.

*/ inline void SetIpv4Prefix(const char* value) { m_ipv4PrefixHasBeenSet = true; m_ipv4Prefix.assign(value); } /** *

The IPv4 prefix. For more information, see Assigning * prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute * Cloud User Guide.

*/ inline AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails& WithIpv4Prefix(const Aws::String& value) { SetIpv4Prefix(value); return *this;} /** *

The IPv4 prefix. For more information, see Assigning * prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute * Cloud User Guide.

*/ inline AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails& WithIpv4Prefix(Aws::String&& value) { SetIpv4Prefix(std::move(value)); return *this;} /** *

The IPv4 prefix. For more information, see Assigning * prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute * Cloud User Guide.

*/ inline AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails& WithIpv4Prefix(const char* value) { SetIpv4Prefix(value); return *this;} private: Aws::String m_ipv4Prefix; bool m_ipv4PrefixHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws