/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an IPv4 prefix.See Also:
AWS
* API Reference
One or more IPv4 prefixes assigned to the network interface.
*/ inline const Aws::String& GetIpv4Prefix() const{ return m_ipv4Prefix; } /** *One or more IPv4 prefixes assigned to the network interface.
*/ inline bool Ipv4PrefixHasBeenSet() const { return m_ipv4PrefixHasBeenSet; } /** *One or more IPv4 prefixes assigned to the network interface.
*/ inline void SetIpv4Prefix(const Aws::String& value) { m_ipv4PrefixHasBeenSet = true; m_ipv4Prefix = value; } /** *One or more IPv4 prefixes assigned to the network interface.
*/ inline void SetIpv4Prefix(Aws::String&& value) { m_ipv4PrefixHasBeenSet = true; m_ipv4Prefix = std::move(value); } /** *One or more IPv4 prefixes assigned to the network interface.
*/ inline void SetIpv4Prefix(const char* value) { m_ipv4PrefixHasBeenSet = true; m_ipv4Prefix.assign(value); } /** *One or more IPv4 prefixes assigned to the network interface.
*/ inline InstanceIpv4Prefix& WithIpv4Prefix(const Aws::String& value) { SetIpv4Prefix(value); return *this;} /** *One or more IPv4 prefixes assigned to the network interface.
*/ inline InstanceIpv4Prefix& WithIpv4Prefix(Aws::String&& value) { SetIpv4Prefix(std::move(value)); return *this;} /** *One or more IPv4 prefixes assigned to the network interface.
*/ inline InstanceIpv4Prefix& WithIpv4Prefix(const char* value) { SetIpv4Prefix(value); return *this;} private: Aws::String m_ipv4Prefix; bool m_ipv4PrefixHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws