AWS SDK for C++  1.9.105
AWS SDK for C++
GetHITResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace MTurk
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const HIT& GetHIT() const{ return m_hIT; }
39 
43  inline void SetHIT(const HIT& value) { m_hIT = value; }
44 
48  inline void SetHIT(HIT&& value) { m_hIT = std::move(value); }
49 
53  inline GetHITResult& WithHIT(const HIT& value) { SetHIT(value); return *this;}
54 
58  inline GetHITResult& WithHIT(HIT&& value) { SetHIT(std::move(value)); return *this;}
59 
60  private:
61 
62  HIT m_hIT;
63  };
64 
65 } // namespace Model
66 } // namespace MTurk
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MTurk::Model::GetHITResult
Definition: GetHITResult.h:28
Aws::MTurk::Model::GetHITResult::SetHIT
void SetHIT(const HIT &value)
Definition: GetHITResult.h:43
Aws::MTurk::Model::GetHITResult::GetHIT
const HIT & GetHIT() const
Definition: GetHITResult.h:38
Aws::MTurk::Model::GetHITResult::WithHIT
GetHITResult & WithHIT(HIT &&value)
Definition: GetHITResult.h:58
Aws::MTurk::Model::HIT
Definition: HIT.h:39
Aws::MTurk::Model::GetHITResult::SetHIT
void SetHIT(HIT &&value)
Definition: GetHITResult.h:48
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::GetHITResult::operator=
GetHITResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
HIT.h
Aws::MTurk::Model::GetHITResult::GetHITResult
GetHITResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MTurk::Model::GetHITResult::WithHIT
GetHITResult & WithHIT(const HIT &value)
Definition: GetHITResult.h:53
Aws::MTurk::Model::GetHITResult::GetHITResult
GetHITResult()