AWS SDK for C++  1.9.104
AWS SDK for C++
CreateHITTypeResult.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 Aws::String& GetHITTypeId() const{ return m_hITTypeId; }
39 
43  inline void SetHITTypeId(const Aws::String& value) { m_hITTypeId = value; }
44 
48  inline void SetHITTypeId(Aws::String&& value) { m_hITTypeId = std::move(value); }
49 
53  inline void SetHITTypeId(const char* value) { m_hITTypeId.assign(value); }
54 
58  inline CreateHITTypeResult& WithHITTypeId(const Aws::String& value) { SetHITTypeId(value); return *this;}
59 
63  inline CreateHITTypeResult& WithHITTypeId(Aws::String&& value) { SetHITTypeId(std::move(value)); return *this;}
64 
68  inline CreateHITTypeResult& WithHITTypeId(const char* value) { SetHITTypeId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_hITTypeId;
73  };
74 
75 } // namespace Model
76 } // namespace MTurk
77 } // namespace Aws
Aws::MTurk::Model::CreateHITTypeResult::GetHITTypeId
const Aws::String & GetHITTypeId() const
Definition: CreateHITTypeResult.h:38
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MTurk::Model::CreateHITTypeResult::WithHITTypeId
CreateHITTypeResult & WithHITTypeId(const Aws::String &value)
Definition: CreateHITTypeResult.h:58
Aws::MTurk::Model::CreateHITTypeResult::CreateHITTypeResult
CreateHITTypeResult()
Aws::MTurk::Model::CreateHITTypeResult::SetHITTypeId
void SetHITTypeId(Aws::String &&value)
Definition: CreateHITTypeResult.h:48
Aws::MTurk::Model::CreateHITTypeResult
Definition: CreateHITTypeResult.h:28
Aws::MTurk::Model::CreateHITTypeResult::SetHITTypeId
void SetHITTypeId(const char *value)
Definition: CreateHITTypeResult.h:53
AWSString.h
Aws::MTurk::Model::CreateHITTypeResult::WithHITTypeId
CreateHITTypeResult & WithHITTypeId(Aws::String &&value)
Definition: CreateHITTypeResult.h:63
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::CreateHITTypeResult::WithHITTypeId
CreateHITTypeResult & WithHITTypeId(const char *value)
Definition: CreateHITTypeResult.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::CreateHITTypeResult::SetHITTypeId
void SetHITTypeId(const Aws::String &value)
Definition: CreateHITTypeResult.h:43
Aws::MTurk::Model::CreateHITTypeResult::operator=
CreateHITTypeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MTurk::Model::CreateHITTypeResult::CreateHITTypeResult
CreateHITTypeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)