AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
24 AWS_MTURK_API AssociateQualificationWithWorkerRequest() = default;
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 template<typename QualificationTypeIdT = Aws::String>
44 void SetQualificationTypeId(QualificationTypeIdT&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::forward<QualificationTypeIdT>(value); }
45 template<typename QualificationTypeIdT = Aws::String>
46 AssociateQualificationWithWorkerRequest& WithQualificationTypeId(QualificationTypeIdT&& value) { SetQualificationTypeId(std::forward<QualificationTypeIdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetWorkerId() const { return m_workerId; }
55 inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; }
56 template<typename WorkerIdT = Aws::String>
57 void SetWorkerId(WorkerIdT&& value) { m_workerIdHasBeenSet = true; m_workerId = std::forward<WorkerIdT>(value); }
58 template<typename WorkerIdT = Aws::String>
59 AssociateQualificationWithWorkerRequest& WithWorkerId(WorkerIdT&& value) { SetWorkerId(std::forward<WorkerIdT>(value)); return *this;}
61
63
66 inline int GetIntegerValue() const { return m_integerValue; }
67 inline bool IntegerValueHasBeenSet() const { return m_integerValueHasBeenSet; }
68 inline void SetIntegerValue(int value) { m_integerValueHasBeenSet = true; m_integerValue = value; }
71
73
78 inline bool GetSendNotification() const { return m_sendNotification; }
79 inline bool SendNotificationHasBeenSet() const { return m_sendNotificationHasBeenSet; }
80 inline void SetSendNotification(bool value) { m_sendNotificationHasBeenSet = true; m_sendNotification = value; }
83 private:
84
85 Aws::String m_qualificationTypeId;
86 bool m_qualificationTypeIdHasBeenSet = false;
87
88 Aws::String m_workerId;
89 bool m_workerIdHasBeenSet = false;
90
91 int m_integerValue{0};
92 bool m_integerValueHasBeenSet = false;
93
94 bool m_sendNotification{false};
95 bool m_sendNotificationHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace MTurk
100} // namespace Aws
AWS_MTURK_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_MTURK_API Aws::String SerializePayload() const override
AssociateQualificationWithWorkerRequest & WithIntegerValue(int value)
AssociateQualificationWithWorkerRequest & WithWorkerId(WorkerIdT &&value)
AssociateQualificationWithWorkerRequest & WithQualificationTypeId(QualificationTypeIdT &&value)
AssociateQualificationWithWorkerRequest & WithSendNotification(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String