AWS SDK for C++  1.9.105
AWS SDK for C++
DisassociateQualificationFromWorkerRequest.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 "DisassociateQualificationFromWorker"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetWorkerId() const{ return m_workerId; }
41 
45  inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; }
46 
50  inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; }
51 
55  inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); }
56 
60  inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); }
61 
65  inline DisassociateQualificationFromWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;}
66 
70  inline DisassociateQualificationFromWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;}
71 
75  inline DisassociateQualificationFromWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;}
76 
77 
81  inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
82 
86  inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
87 
91  inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
92 
96  inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
97 
101  inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
102 
106  inline DisassociateQualificationFromWorkerRequest& WithQualificationTypeId(const Aws::String& value) { SetQualificationTypeId(value); return *this;}
107 
111  inline DisassociateQualificationFromWorkerRequest& WithQualificationTypeId(Aws::String&& value) { SetQualificationTypeId(std::move(value)); return *this;}
112 
116  inline DisassociateQualificationFromWorkerRequest& WithQualificationTypeId(const char* value) { SetQualificationTypeId(value); return *this;}
117 
118 
123  inline const Aws::String& GetReason() const{ return m_reason; }
124 
129  inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
130 
135  inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
136 
141  inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
142 
147  inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
148 
153  inline DisassociateQualificationFromWorkerRequest& WithReason(const Aws::String& value) { SetReason(value); return *this;}
154 
159  inline DisassociateQualificationFromWorkerRequest& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
160 
165  inline DisassociateQualificationFromWorkerRequest& WithReason(const char* value) { SetReason(value); return *this;}
166 
167  private:
168 
169  Aws::String m_workerId;
170  bool m_workerIdHasBeenSet;
171 
172  Aws::String m_qualificationTypeId;
173  bool m_qualificationTypeIdHasBeenSet;
174 
175  Aws::String m_reason;
176  bool m_reasonHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace MTurk
181 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::WithReason
DisassociateQualificationFromWorkerRequest & WithReason(Aws::String &&value)
Definition: DisassociateQualificationFromWorkerRequest.h:159
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::SetReason
void SetReason(Aws::String &&value)
Definition: DisassociateQualificationFromWorkerRequest.h:141
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::SetQualificationTypeId
void SetQualificationTypeId(Aws::String &&value)
Definition: DisassociateQualificationFromWorkerRequest.h:96
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::WithReason
DisassociateQualificationFromWorkerRequest & WithReason(const char *value)
Definition: DisassociateQualificationFromWorkerRequest.h:165
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::WithWorkerId
DisassociateQualificationFromWorkerRequest & WithWorkerId(Aws::String &&value)
Definition: DisassociateQualificationFromWorkerRequest.h:70
Aws::MTurk::MTurkRequest
Definition: MTurkRequest.h:17
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::WithWorkerId
DisassociateQualificationFromWorkerRequest & WithWorkerId(const char *value)
Definition: DisassociateQualificationFromWorkerRequest.h:75
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::SetWorkerId
void SetWorkerId(const Aws::String &value)
Definition: DisassociateQualificationFromWorkerRequest.h:50
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::WithQualificationTypeId
DisassociateQualificationFromWorkerRequest & WithQualificationTypeId(Aws::String &&value)
Definition: DisassociateQualificationFromWorkerRequest.h:111
MTurkRequest.h
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::WithReason
DisassociateQualificationFromWorkerRequest & WithReason(const Aws::String &value)
Definition: DisassociateQualificationFromWorkerRequest.h:153
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateQualificationFromWorkerRequest.h:30
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::SetReason
void SetReason(const char *value)
Definition: DisassociateQualificationFromWorkerRequest.h:147
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::GetReason
const Aws::String & GetReason() const
Definition: DisassociateQualificationFromWorkerRequest.h:123
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::WithQualificationTypeId
DisassociateQualificationFromWorkerRequest & WithQualificationTypeId(const char *value)
Definition: DisassociateQualificationFromWorkerRequest.h:116
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::SetWorkerId
void SetWorkerId(const char *value)
Definition: DisassociateQualificationFromWorkerRequest.h:60
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::WorkerIdHasBeenSet
bool WorkerIdHasBeenSet() const
Definition: DisassociateQualificationFromWorkerRequest.h:45
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest
Definition: DisassociateQualificationFromWorkerRequest.h:22
AWSString.h
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::ReasonHasBeenSet
bool ReasonHasBeenSet() const
Definition: DisassociateQualificationFromWorkerRequest.h:129
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::WithWorkerId
DisassociateQualificationFromWorkerRequest & WithWorkerId(const Aws::String &value)
Definition: DisassociateQualificationFromWorkerRequest.h:65
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::QualificationTypeIdHasBeenSet
bool QualificationTypeIdHasBeenSet() const
Definition: DisassociateQualificationFromWorkerRequest.h:86
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::SetQualificationTypeId
void SetQualificationTypeId(const char *value)
Definition: DisassociateQualificationFromWorkerRequest.h:101
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::SetQualificationTypeId
void SetQualificationTypeId(const Aws::String &value)
Definition: DisassociateQualificationFromWorkerRequest.h:91
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::WithQualificationTypeId
DisassociateQualificationFromWorkerRequest & WithQualificationTypeId(const Aws::String &value)
Definition: DisassociateQualificationFromWorkerRequest.h:106
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::GetWorkerId
const Aws::String & GetWorkerId() const
Definition: DisassociateQualificationFromWorkerRequest.h:40
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::DisassociateQualificationFromWorkerRequest
DisassociateQualificationFromWorkerRequest()
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::SetWorkerId
void SetWorkerId(Aws::String &&value)
Definition: DisassociateQualificationFromWorkerRequest.h:55
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::SetReason
void SetReason(const Aws::String &value)
Definition: DisassociateQualificationFromWorkerRequest.h:135
Aws::MTurk::Model::DisassociateQualificationFromWorkerRequest::GetQualificationTypeId
const Aws::String & GetQualificationTypeId() const
Definition: DisassociateQualificationFromWorkerRequest.h:81