/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of a GetOnPremisesInstance
operation.
* See Also:
AWS
* API Reference
Information about the on-premises instance.
*/ inline const InstanceInfo& GetInstanceInfo() const{ return m_instanceInfo; } /** *Information about the on-premises instance.
*/ inline void SetInstanceInfo(const InstanceInfo& value) { m_instanceInfo = value; } /** *Information about the on-premises instance.
*/ inline void SetInstanceInfo(InstanceInfo&& value) { m_instanceInfo = std::move(value); } /** *Information about the on-premises instance.
*/ inline GetOnPremisesInstanceResult& WithInstanceInfo(const InstanceInfo& value) { SetInstanceInfo(value); return *this;} /** *Information about the on-premises instance.
*/ inline GetOnPremisesInstanceResult& WithInstanceInfo(InstanceInfo&& value) { SetInstanceInfo(std::move(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 GetOnPremisesInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetOnPremisesInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetOnPremisesInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: InstanceInfo m_instanceInfo; Aws::String m_requestId; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws