AWS SDK for C++  1.9.106
AWS SDK for C++
CreateHITResult.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 
40  inline const HIT& GetHIT() const{ return m_hIT; }
41 
47  inline void SetHIT(const HIT& value) { m_hIT = value; }
48 
54  inline void SetHIT(HIT&& value) { m_hIT = std::move(value); }
55 
61  inline CreateHITResult& WithHIT(const HIT& value) { SetHIT(value); return *this;}
62 
68  inline CreateHITResult& WithHIT(HIT&& value) { SetHIT(std::move(value)); return *this;}
69 
70  private:
71 
72  HIT m_hIT;
73  };
74 
75 } // namespace Model
76 } // namespace MTurk
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MTurk::Model::CreateHITResult::SetHIT
void SetHIT(HIT &&value)
Definition: CreateHITResult.h:54
Aws::MTurk::Model::CreateHITResult::SetHIT
void SetHIT(const HIT &value)
Definition: CreateHITResult.h:47
Aws::MTurk::Model::CreateHITResult::CreateHITResult
CreateHITResult()
Aws::MTurk::Model::CreateHITResult::GetHIT
const HIT & GetHIT() const
Definition: CreateHITResult.h:40
Aws::MTurk::Model::CreateHITResult::CreateHITResult
CreateHITResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MTurk::Model::CreateHITResult::WithHIT
CreateHITResult & WithHIT(const HIT &value)
Definition: CreateHITResult.h:61
Aws::MTurk::Model::HIT
Definition: HIT.h:39
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::CreateHITResult
Definition: CreateHITResult.h:28
HIT.h
Aws::MTurk::Model::CreateHITResult::WithHIT
CreateHITResult & WithHIT(HIT &&value)
Definition: CreateHITResult.h:68
Aws::MTurk::Model::CreateHITResult::operator=
CreateHITResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)