68 lines
1.5 KiB
C++
68 lines
1.5 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/mturk-requester/MTurk_EXPORTS.h>
|
|
#include <aws/mturk-requester/model/HIT.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace MTurk
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_MTURK_API GetHITResult
|
|
{
|
|
public:
|
|
GetHITResult();
|
|
GetHITResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
GetHITResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p> Contains the requested HIT data.</p>
|
|
*/
|
|
inline const HIT& GetHIT() const{ return m_hIT; }
|
|
|
|
/**
|
|
* <p> Contains the requested HIT data.</p>
|
|
*/
|
|
inline void SetHIT(const HIT& value) { m_hIT = value; }
|
|
|
|
/**
|
|
* <p> Contains the requested HIT data.</p>
|
|
*/
|
|
inline void SetHIT(HIT&& value) { m_hIT = std::move(value); }
|
|
|
|
/**
|
|
* <p> Contains the requested HIT data.</p>
|
|
*/
|
|
inline GetHITResult& WithHIT(const HIT& value) { SetHIT(value); return *this;}
|
|
|
|
/**
|
|
* <p> Contains the requested HIT data.</p>
|
|
*/
|
|
inline GetHITResult& WithHIT(HIT&& value) { SetHIT(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
HIT m_hIT;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace MTurk
|
|
} // namespace Aws
|