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

Contains the response to a RegisterElasticIp * request.

See Also:

AWS * API Reference

*/ class RegisterElasticIpResult { public: AWS_OPSWORKS_API RegisterElasticIpResult(); AWS_OPSWORKS_API RegisterElasticIpResult(const Aws::AmazonWebServiceResult& result); AWS_OPSWORKS_API RegisterElasticIpResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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