/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This action is deprecated. Describes the status of a
* moving Elastic IP address.See Also:
AWS
* API Reference
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