/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the IPv4 prefix option for a network interface.See
* Also:
AWS
* API Reference
The IPv4 prefix. For 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 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 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 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 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 information, see * Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic * Compute Cloud User Guide.
*/ inline Ipv4PrefixSpecificationRequest& WithIpv4Prefix(const Aws::String& value) { SetIpv4Prefix(value); return *this;} /** *The IPv4 prefix. For information, see * Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic * Compute Cloud User Guide.
*/ inline Ipv4PrefixSpecificationRequest& WithIpv4Prefix(Aws::String&& value) { SetIpv4Prefix(std::move(value)); return *this;} /** *The IPv4 prefix. For information, see * Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic * Compute Cloud User Guide.
*/ inline Ipv4PrefixSpecificationRequest& WithIpv4Prefix(const char* value) { SetIpv4Prefix(value); return *this;} private: Aws::String m_ipv4Prefix; bool m_ipv4PrefixHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws