AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateQualificationFromWorkerRequest.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 "DisassociateQualificationFromWorker"; }
31
32 AWS_MTURK_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetWorkerId() const{ return m_workerId; }
42 inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; }
43 inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; }
44 inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); }
45 inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); }
47 inline DisassociateQualificationFromWorkerRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;}
48 inline DisassociateQualificationFromWorkerRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;}
50
52
55 inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
56 inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
57 inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
58 inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
59 inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
64
66
70 inline const Aws::String& GetReason() const{ return m_reason; }
71 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
72 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
73 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
74 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
75 inline DisassociateQualificationFromWorkerRequest& WithReason(const Aws::String& value) { SetReason(value); return *this;}
76 inline DisassociateQualificationFromWorkerRequest& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
77 inline DisassociateQualificationFromWorkerRequest& WithReason(const char* value) { SetReason(value); return *this;}
79 private:
80
81 Aws::String m_workerId;
82 bool m_workerIdHasBeenSet = false;
83
84 Aws::String m_qualificationTypeId;
85 bool m_qualificationTypeIdHasBeenSet = false;
86
87 Aws::String m_reason;
88 bool m_reasonHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace MTurk
93} // namespace Aws
AWS_MTURK_API Aws::String SerializePayload() const override
DisassociateQualificationFromWorkerRequest & WithWorkerId(const Aws::String &value)
AWS_MTURK_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisassociateQualificationFromWorkerRequest & WithWorkerId(const char *value)
DisassociateQualificationFromWorkerRequest & WithReason(const char *value)
DisassociateQualificationFromWorkerRequest & WithReason(Aws::String &&value)
DisassociateQualificationFromWorkerRequest & WithReason(const Aws::String &value)
DisassociateQualificationFromWorkerRequest & WithWorkerId(Aws::String &&value)
DisassociateQualificationFromWorkerRequest & WithQualificationTypeId(const Aws::String &value)
DisassociateQualificationFromWorkerRequest & WithQualificationTypeId(const char *value)
DisassociateQualificationFromWorkerRequest & WithQualificationTypeId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String