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

Describes an IPv6 address associated with a network interface.

See * Also:

AWS * API Reference

*/ class NetworkInterfaceIpv6Address { public: AWS_EC2_API NetworkInterfaceIpv6Address(); AWS_EC2_API NetworkInterfaceIpv6Address(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API NetworkInterfaceIpv6Address& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The IPv6 address.

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

The IPv6 address.

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

The IPv6 address.

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

The IPv6 address.

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

The IPv6 address.

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

The IPv6 address.

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

The IPv6 address.

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

The IPv6 address.

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