/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the response to a RegisterElasticIp
* request.See Also:
AWS
* API Reference
The Elastic IP address.
*/ inline const Aws::String& GetElasticIp() const{ return m_elasticIp; } /** *The Elastic IP address.
*/ inline void SetElasticIp(const Aws::String& value) { m_elasticIp = value; } /** *The Elastic IP address.
*/ inline void SetElasticIp(Aws::String&& value) { m_elasticIp = std::move(value); } /** *The Elastic IP address.
*/ inline void SetElasticIp(const char* value) { m_elasticIp.assign(value); } /** *The Elastic IP address.
*/ inline RegisterElasticIpResult& WithElasticIp(const Aws::String& value) { SetElasticIp(value); return *this;} /** *The Elastic IP address.
*/ inline RegisterElasticIpResult& WithElasticIp(Aws::String&& value) { SetElasticIp(std::move(value)); return *this;} /** *The Elastic IP address.
*/ inline RegisterElasticIpResult& WithElasticIp(const char* value) { SetElasticIp(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline RegisterElasticIpResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RegisterElasticIpResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RegisterElasticIpResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_elasticIp; Aws::String m_requestId; }; } // namespace Model } // namespace OpsWorks } // namespace Aws