AWS SDK for C++  1.9.105
AWS SDK for C++
UpdateHITTypeOfHITRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MTurk
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateHITTypeOfHIT"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetHITId() const{ return m_hITId; }
41 
45  inline bool HITIdHasBeenSet() const { return m_hITIdHasBeenSet; }
46 
50  inline void SetHITId(const Aws::String& value) { m_hITIdHasBeenSet = true; m_hITId = value; }
51 
55  inline void SetHITId(Aws::String&& value) { m_hITIdHasBeenSet = true; m_hITId = std::move(value); }
56 
60  inline void SetHITId(const char* value) { m_hITIdHasBeenSet = true; m_hITId.assign(value); }
61 
65  inline UpdateHITTypeOfHITRequest& WithHITId(const Aws::String& value) { SetHITId(value); return *this;}
66 
70  inline UpdateHITTypeOfHITRequest& WithHITId(Aws::String&& value) { SetHITId(std::move(value)); return *this;}
71 
75  inline UpdateHITTypeOfHITRequest& WithHITId(const char* value) { SetHITId(value); return *this;}
76 
77 
81  inline const Aws::String& GetHITTypeId() const{ return m_hITTypeId; }
82 
86  inline bool HITTypeIdHasBeenSet() const { return m_hITTypeIdHasBeenSet; }
87 
91  inline void SetHITTypeId(const Aws::String& value) { m_hITTypeIdHasBeenSet = true; m_hITTypeId = value; }
92 
96  inline void SetHITTypeId(Aws::String&& value) { m_hITTypeIdHasBeenSet = true; m_hITTypeId = std::move(value); }
97 
101  inline void SetHITTypeId(const char* value) { m_hITTypeIdHasBeenSet = true; m_hITTypeId.assign(value); }
102 
106  inline UpdateHITTypeOfHITRequest& WithHITTypeId(const Aws::String& value) { SetHITTypeId(value); return *this;}
107 
111  inline UpdateHITTypeOfHITRequest& WithHITTypeId(Aws::String&& value) { SetHITTypeId(std::move(value)); return *this;}
112 
116  inline UpdateHITTypeOfHITRequest& WithHITTypeId(const char* value) { SetHITTypeId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_hITId;
121  bool m_hITIdHasBeenSet;
122 
123  Aws::String m_hITTypeId;
124  bool m_hITTypeIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace MTurk
129 } // namespace Aws
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::WithHITId
UpdateHITTypeOfHITRequest & WithHITId(const Aws::String &value)
Definition: UpdateHITTypeOfHITRequest.h:65
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::SetHITTypeId
void SetHITTypeId(Aws::String &&value)
Definition: UpdateHITTypeOfHITRequest.h:96
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::GetHITTypeId
const Aws::String & GetHITTypeId() const
Definition: UpdateHITTypeOfHITRequest.h:81
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::SetHITTypeId
void SetHITTypeId(const char *value)
Definition: UpdateHITTypeOfHITRequest.h:101
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::SetHITId
void SetHITId(const Aws::String &value)
Definition: UpdateHITTypeOfHITRequest.h:50
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::HITIdHasBeenSet
bool HITIdHasBeenSet() const
Definition: UpdateHITTypeOfHITRequest.h:45
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::WithHITId
UpdateHITTypeOfHITRequest & WithHITId(Aws::String &&value)
Definition: UpdateHITTypeOfHITRequest.h:70
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::GetHITId
const Aws::String & GetHITId() const
Definition: UpdateHITTypeOfHITRequest.h:40
Aws::MTurk::MTurkRequest
Definition: MTurkRequest.h:17
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::SerializePayload
Aws::String SerializePayload() const override
MTurkRequest.h
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::HITTypeIdHasBeenSet
bool HITTypeIdHasBeenSet() const
Definition: UpdateHITTypeOfHITRequest.h:86
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::SetHITId
void SetHITId(const char *value)
Definition: UpdateHITTypeOfHITRequest.h:60
AWSString.h
Aws::MTurk::Model::UpdateHITTypeOfHITRequest
Definition: UpdateHITTypeOfHITRequest.h:22
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::SetHITTypeId
void SetHITTypeId(const Aws::String &value)
Definition: UpdateHITTypeOfHITRequest.h:91
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateHITTypeOfHITRequest.h:30
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::WithHITTypeId
UpdateHITTypeOfHITRequest & WithHITTypeId(const char *value)
Definition: UpdateHITTypeOfHITRequest.h:116
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::SetHITId
void SetHITId(Aws::String &&value)
Definition: UpdateHITTypeOfHITRequest.h:55
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::WithHITTypeId
UpdateHITTypeOfHITRequest & WithHITTypeId(Aws::String &&value)
Definition: UpdateHITTypeOfHITRequest.h:111
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::WithHITId
UpdateHITTypeOfHITRequest & WithHITId(const char *value)
Definition: UpdateHITTypeOfHITRequest.h:75
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::UpdateHITTypeOfHITRequest
UpdateHITTypeOfHITRequest()
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::MTurk::Model::UpdateHITTypeOfHITRequest::WithHITTypeId
UpdateHITTypeOfHITRequest & WithHITTypeId(const Aws::String &value)
Definition: UpdateHITTypeOfHITRequest.h:106