AWS SDK for C++  1.9.40
AWS SDK for C++
AssociateQualificationWithWorkerRequest.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 "AssociateQualificationWithWorker"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
41 
45  inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
46 
50  inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
51 
55  inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
56 
60  inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
61 
65  inline AssociateQualificationWithWorkerRequest& WithQualificationTypeId(const Aws::String& value) { SetQualificationTypeId(value); return *this;}
66 
70  inline AssociateQualificationWithWorkerRequest& WithQualificationTypeId(Aws::String&& value) { SetQualificationTypeId(std::move(value)); return *this;}
71 
75  inline AssociateQualificationWithWorkerRequest& WithQualificationTypeId(const char* value) { SetQualificationTypeId(value); return *this;}
76 
77 
82  inline const Aws::String& GetWorkerId() const{ return m_workerId; }
83 
88  inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; }
89 
94  inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; }
95 
100  inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); }
101 
106  inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); }
107 
112  inline AssociateQualificationWithWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;}
113 
118  inline AssociateQualificationWithWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;}
119 
124  inline AssociateQualificationWithWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;}
125 
126 
130  inline int GetIntegerValue() const{ return m_integerValue; }
131 
135  inline bool IntegerValueHasBeenSet() const { return m_integerValueHasBeenSet; }
136 
140  inline void SetIntegerValue(int value) { m_integerValueHasBeenSet = true; m_integerValue = value; }
141 
145  inline AssociateQualificationWithWorkerRequest& WithIntegerValue(int value) { SetIntegerValue(value); return *this;}
146 
147 
153  inline bool GetSendNotification() const{ return m_sendNotification; }
154 
160  inline bool SendNotificationHasBeenSet() const { return m_sendNotificationHasBeenSet; }
161 
167  inline void SetSendNotification(bool value) { m_sendNotificationHasBeenSet = true; m_sendNotification = value; }
168 
174  inline AssociateQualificationWithWorkerRequest& WithSendNotification(bool value) { SetSendNotification(value); return *this;}
175 
176  private:
177 
178  Aws::String m_qualificationTypeId;
179  bool m_qualificationTypeIdHasBeenSet;
180 
181  Aws::String m_workerId;
182  bool m_workerIdHasBeenSet;
183 
184  int m_integerValue;
185  bool m_integerValueHasBeenSet;
186 
187  bool m_sendNotification;
188  bool m_sendNotificationHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace MTurk
193 } // namespace Aws
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::GetSendNotification
bool GetSendNotification() const
Definition: AssociateQualificationWithWorkerRequest.h:153
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::SetQualificationTypeId
void SetQualificationTypeId(const Aws::String &value)
Definition: AssociateQualificationWithWorkerRequest.h:50
Aws::MTurk::MTurkRequest
Definition: MTurkRequest.h:17
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::SerializePayload
Aws::String SerializePayload() const override
MTurkRequest.h
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::SetWorkerId
void SetWorkerId(const Aws::String &value)
Definition: AssociateQualificationWithWorkerRequest.h:94
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::GetQualificationTypeId
const Aws::String & GetQualificationTypeId() const
Definition: AssociateQualificationWithWorkerRequest.h:40
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::WithIntegerValue
AssociateQualificationWithWorkerRequest & WithIntegerValue(int value)
Definition: AssociateQualificationWithWorkerRequest.h:145
AWSString.h
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::GetWorkerId
const Aws::String & GetWorkerId() const
Definition: AssociateQualificationWithWorkerRequest.h:82
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::SetWorkerId
void SetWorkerId(const char *value)
Definition: AssociateQualificationWithWorkerRequest.h:106
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::AssociateQualificationWithWorkerRequest
AssociateQualificationWithWorkerRequest()
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::QualificationTypeIdHasBeenSet
bool QualificationTypeIdHasBeenSet() const
Definition: AssociateQualificationWithWorkerRequest.h:45
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::WithQualificationTypeId
AssociateQualificationWithWorkerRequest & WithQualificationTypeId(const Aws::String &value)
Definition: AssociateQualificationWithWorkerRequest.h:65
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest
Definition: AssociateQualificationWithWorkerRequest.h:22
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::SetWorkerId
void SetWorkerId(Aws::String &&value)
Definition: AssociateQualificationWithWorkerRequest.h:100
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::WithWorkerId
AssociateQualificationWithWorkerRequest & WithWorkerId(const char *value)
Definition: AssociateQualificationWithWorkerRequest.h:124
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::SetIntegerValue
void SetIntegerValue(int value)
Definition: AssociateQualificationWithWorkerRequest.h:140
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::WithQualificationTypeId
AssociateQualificationWithWorkerRequest & WithQualificationTypeId(Aws::String &&value)
Definition: AssociateQualificationWithWorkerRequest.h:70
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::WithWorkerId
AssociateQualificationWithWorkerRequest & WithWorkerId(Aws::String &&value)
Definition: AssociateQualificationWithWorkerRequest.h:118
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::WorkerIdHasBeenSet
bool WorkerIdHasBeenSet() const
Definition: AssociateQualificationWithWorkerRequest.h:88
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::SetQualificationTypeId
void SetQualificationTypeId(Aws::String &&value)
Definition: AssociateQualificationWithWorkerRequest.h:55
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::WithSendNotification
AssociateQualificationWithWorkerRequest & WithSendNotification(bool value)
Definition: AssociateQualificationWithWorkerRequest.h:174
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::WithWorkerId
AssociateQualificationWithWorkerRequest & WithWorkerId(const Aws::String &value)
Definition: AssociateQualificationWithWorkerRequest.h:112
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AssociateQualificationWithWorkerRequest.h:30
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::IntegerValueHasBeenSet
bool IntegerValueHasBeenSet() const
Definition: AssociateQualificationWithWorkerRequest.h:135
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::SetQualificationTypeId
void SetQualificationTypeId(const char *value)
Definition: AssociateQualificationWithWorkerRequest.h:60
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::SetSendNotification
void SetSendNotification(bool value)
Definition: AssociateQualificationWithWorkerRequest.h:167
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::GetIntegerValue
int GetIntegerValue() const
Definition: AssociateQualificationWithWorkerRequest.h:130
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::SendNotificationHasBeenSet
bool SendNotificationHasBeenSet() const
Definition: AssociateQualificationWithWorkerRequest.h:160
Aws::MTurk::Model::AssociateQualificationWithWorkerRequest::WithQualificationTypeId
AssociateQualificationWithWorkerRequest & WithQualificationTypeId(const char *value)
Definition: AssociateQualificationWithWorkerRequest.h:75