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

This action is deprecated.

Describes the status of a * moving Elastic IP address.

See Also:

AWS * API Reference

*/ class MovingAddressStatus { public: AWS_EC2_API MovingAddressStatus(); AWS_EC2_API MovingAddressStatus(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_EC2_API MovingAddressStatus& 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 status of the Elastic IP address that's being moved or restored.

*/ inline const MoveStatus& GetMoveStatus() const{ return m_moveStatus; } /** *

The status of the Elastic IP address that's being moved or restored.

*/ inline bool MoveStatusHasBeenSet() const { return m_moveStatusHasBeenSet; } /** *

The status of the Elastic IP address that's being moved or restored.

*/ inline void SetMoveStatus(const MoveStatus& value) { m_moveStatusHasBeenSet = true; m_moveStatus = value; } /** *

The status of the Elastic IP address that's being moved or restored.

*/ inline void SetMoveStatus(MoveStatus&& value) { m_moveStatusHasBeenSet = true; m_moveStatus = std::move(value); } /** *

The status of the Elastic IP address that's being moved or restored.

*/ inline MovingAddressStatus& WithMoveStatus(const MoveStatus& value) { SetMoveStatus(value); return *this;} /** *

The status of the Elastic IP address that's being moved or restored.

*/ inline MovingAddressStatus& WithMoveStatus(MoveStatus&& value) { SetMoveStatus(std::move(value)); return *this;} /** *

The Elastic IP address.

*/ inline const Aws::String& GetPublicIp() const{ return m_publicIp; } /** *

The Elastic IP address.

*/ inline bool PublicIpHasBeenSet() const { return m_publicIpHasBeenSet; } /** *

The Elastic IP address.

*/ inline void SetPublicIp(const Aws::String& value) { m_publicIpHasBeenSet = true; m_publicIp = value; } /** *

The Elastic IP address.

*/ inline void SetPublicIp(Aws::String&& value) { m_publicIpHasBeenSet = true; m_publicIp = std::move(value); } /** *

The Elastic IP address.

*/ inline void SetPublicIp(const char* value) { m_publicIpHasBeenSet = true; m_publicIp.assign(value); } /** *

The Elastic IP address.

*/ inline MovingAddressStatus& WithPublicIp(const Aws::String& value) { SetPublicIp(value); return *this;} /** *

The Elastic IP address.

*/ inline MovingAddressStatus& WithPublicIp(Aws::String&& value) { SetPublicIp(std::move(value)); return *this;} /** *

The Elastic IP address.

*/ inline MovingAddressStatus& WithPublicIp(const char* value) { SetPublicIp(value); return *this;} private: MoveStatus m_moveStatus; bool m_moveStatusHasBeenSet = false; Aws::String m_publicIp; bool m_publicIpHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws