/** * 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 CodeDeploy { namespace Model { /** *

Represents the output of a GetOnPremisesInstance operation. *

See Also:

AWS * API Reference

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

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;} private: InstanceInfo m_instanceInfo; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws