/** * 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 ServiceDiscovery { namespace Model { class AWS_SERVICEDISCOVERY_API GetInstanceResult { public: GetInstanceResult(); GetInstanceResult(const Aws::AmazonWebServiceResult& result); GetInstanceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A complex type that contains information about a specified instance.

*/ inline const Instance& GetInstance() const{ return m_instance; } /** *

A complex type that contains information about a specified instance.

*/ inline void SetInstance(const Instance& value) { m_instance = value; } /** *

A complex type that contains information about a specified instance.

*/ inline void SetInstance(Instance&& value) { m_instance = std::move(value); } /** *

A complex type that contains information about a specified instance.

*/ inline GetInstanceResult& WithInstance(const Instance& value) { SetInstance(value); return *this;} /** *

A complex type that contains information about a specified instance.

*/ inline GetInstanceResult& WithInstance(Instance&& value) { SetInstance(std::move(value)); return *this;} private: Instance m_instance; }; } // namespace Model } // namespace ServiceDiscovery } // namespace Aws