/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the response to a RegisterInstanceResult
* request.See Also:
AWS
* API Reference
The registered instance's AWS OpsWorks Stacks ID.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The registered instance's AWS OpsWorks Stacks ID.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceId = value; } /** *The registered instance's AWS OpsWorks Stacks ID.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceId = std::move(value); } /** *The registered instance's AWS OpsWorks Stacks ID.
*/ inline void SetInstanceId(const char* value) { m_instanceId.assign(value); } /** *The registered instance's AWS OpsWorks Stacks ID.
*/ inline RegisterInstanceResult& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The registered instance's AWS OpsWorks Stacks ID.
*/ inline RegisterInstanceResult& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The registered instance's AWS OpsWorks Stacks ID.
*/ inline RegisterInstanceResult& WithInstanceId(const char* value) { SetInstanceId(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 RegisterInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RegisterInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RegisterInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_instanceId; Aws::String m_requestId; }; } // namespace Model } // namespace OpsWorks } // namespace Aws