This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

68 lines
1.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
#include <aws/servicediscovery/model/Instance.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Json::JsonValue>& result);
GetInstanceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A complex type that contains information about a specified instance.</p>
*/
inline const Instance& GetInstance() const{ return m_instance; }
/**
* <p>A complex type that contains information about a specified instance.</p>
*/
inline void SetInstance(const Instance& value) { m_instance = value; }
/**
* <p>A complex type that contains information about a specified instance.</p>
*/
inline void SetInstance(Instance&& value) { m_instance = std::move(value); }
/**
* <p>A complex type that contains information about a specified instance.</p>
*/
inline GetInstanceResult& WithInstance(const Instance& value) { SetInstance(value); return *this;}
/**
* <p>A complex type that contains information about a specified instance.</p>
*/
inline GetInstanceResult& WithInstance(Instance&& value) { SetInstance(std::move(value)); return *this;}
private:
Instance m_instance;
};
} // namespace Model
} // namespace ServiceDiscovery
} // namespace Aws