AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateQualificationWithWorkerRequest.h
1
6#pragma once
7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/mturk-requester/MTurkRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace MTurk
15{
16namespace 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_MTURK_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
42 inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
43 inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
44 inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
45 inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
50
52
56 inline const Aws::String& GetWorkerId() const{ return m_workerId; }
57 inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; }
58 inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; }
59 inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); }
60 inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); }
61 inline AssociateQualificationWithWorkerRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;}
62 inline AssociateQualificationWithWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;}
63 inline AssociateQualificationWithWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;}
65
67
70 inline int GetIntegerValue() const{ return m_integerValue; }
71 inline bool IntegerValueHasBeenSet() const { return m_integerValueHasBeenSet; }
72 inline void SetIntegerValue(int value) { m_integerValueHasBeenSet = true; m_integerValue = value; }
75
77
82 inline bool GetSendNotification() const{ return m_sendNotification; }
83 inline bool SendNotificationHasBeenSet() const { return m_sendNotificationHasBeenSet; }
84 inline void SetSendNotification(bool value) { m_sendNotificationHasBeenSet = true; m_sendNotification = value; }
87 private:
88
89 Aws::String m_qualificationTypeId;
90 bool m_qualificationTypeIdHasBeenSet = false;
91
92 Aws::String m_workerId;
93 bool m_workerIdHasBeenSet = false;
94
95 int m_integerValue;
96 bool m_integerValueHasBeenSet = false;
97
98 bool m_sendNotification;
99 bool m_sendNotificationHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace MTurk
104} // namespace Aws
AWS_MTURK_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateQualificationWithWorkerRequest & WithWorkerId(Aws::String &&value)
AssociateQualificationWithWorkerRequest & WithWorkerId(const char *value)
AWS_MTURK_API Aws::String SerializePayload() const override
AssociateQualificationWithWorkerRequest & WithWorkerId(const Aws::String &value)
AssociateQualificationWithWorkerRequest & WithQualificationTypeId(const Aws::String &value)
AssociateQualificationWithWorkerRequest & WithIntegerValue(int value)
AssociateQualificationWithWorkerRequest & WithQualificationTypeId(const char *value)
AssociateQualificationWithWorkerRequest & WithQualificationTypeId(Aws::String &&value)
AssociateQualificationWithWorkerRequest & WithSendNotification(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String