AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QualificationRequest.h
1
6#pragma once
7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MTurk
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MTURK_API QualificationRequest();
39 AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetQualificationRequestId() const{ return m_qualificationRequestId; }
48 inline bool QualificationRequestIdHasBeenSet() const { return m_qualificationRequestIdHasBeenSet; }
49 inline void SetQualificationRequestId(const Aws::String& value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId = value; }
50 inline void SetQualificationRequestId(Aws::String&& value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId = std::move(value); }
51 inline void SetQualificationRequestId(const char* value) { m_qualificationRequestIdHasBeenSet = true; m_qualificationRequestId.assign(value); }
53 inline QualificationRequest& WithQualificationRequestId(Aws::String&& value) { SetQualificationRequestId(std::move(value)); return *this;}
54 inline QualificationRequest& WithQualificationRequestId(const char* value) { SetQualificationRequestId(value); return *this;}
56
58
62 inline const Aws::String& GetQualificationTypeId() const{ return m_qualificationTypeId; }
63 inline bool QualificationTypeIdHasBeenSet() const { return m_qualificationTypeIdHasBeenSet; }
64 inline void SetQualificationTypeId(const Aws::String& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = value; }
65 inline void SetQualificationTypeId(Aws::String&& value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId = std::move(value); }
66 inline void SetQualificationTypeId(const char* value) { m_qualificationTypeIdHasBeenSet = true; m_qualificationTypeId.assign(value); }
68 inline QualificationRequest& WithQualificationTypeId(Aws::String&& value) { SetQualificationTypeId(std::move(value)); return *this;}
69 inline QualificationRequest& WithQualificationTypeId(const char* value) { SetQualificationTypeId(value); return *this;}
71
73
76 inline const Aws::String& GetWorkerId() const{ return m_workerId; }
77 inline bool WorkerIdHasBeenSet() const { return m_workerIdHasBeenSet; }
78 inline void SetWorkerId(const Aws::String& value) { m_workerIdHasBeenSet = true; m_workerId = value; }
79 inline void SetWorkerId(Aws::String&& value) { m_workerIdHasBeenSet = true; m_workerId = std::move(value); }
80 inline void SetWorkerId(const char* value) { m_workerIdHasBeenSet = true; m_workerId.assign(value); }
81 inline QualificationRequest& WithWorkerId(const Aws::String& value) { SetWorkerId(value); return *this;}
82 inline QualificationRequest& WithWorkerId(Aws::String&& value) { SetWorkerId(std::move(value)); return *this;}
83 inline QualificationRequest& WithWorkerId(const char* value) { SetWorkerId(value); return *this;}
85
87
93 inline const Aws::String& GetTest() const{ return m_test; }
94 inline bool TestHasBeenSet() const { return m_testHasBeenSet; }
95 inline void SetTest(const Aws::String& value) { m_testHasBeenSet = true; m_test = value; }
96 inline void SetTest(Aws::String&& value) { m_testHasBeenSet = true; m_test = std::move(value); }
97 inline void SetTest(const char* value) { m_testHasBeenSet = true; m_test.assign(value); }
98 inline QualificationRequest& WithTest(const Aws::String& value) { SetTest(value); return *this;}
99 inline QualificationRequest& WithTest(Aws::String&& value) { SetTest(std::move(value)); return *this;}
100 inline QualificationRequest& WithTest(const char* value) { SetTest(value); return *this;}
102
104
110 inline const Aws::String& GetAnswer() const{ return m_answer; }
111 inline bool AnswerHasBeenSet() const { return m_answerHasBeenSet; }
112 inline void SetAnswer(const Aws::String& value) { m_answerHasBeenSet = true; m_answer = value; }
113 inline void SetAnswer(Aws::String&& value) { m_answerHasBeenSet = true; m_answer = std::move(value); }
114 inline void SetAnswer(const char* value) { m_answerHasBeenSet = true; m_answer.assign(value); }
115 inline QualificationRequest& WithAnswer(const Aws::String& value) { SetAnswer(value); return *this;}
116 inline QualificationRequest& WithAnswer(Aws::String&& value) { SetAnswer(std::move(value)); return *this;}
117 inline QualificationRequest& WithAnswer(const char* value) { SetAnswer(value); return *this;}
119
121
127 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
128 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
129 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
130 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
131 inline QualificationRequest& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;}
132 inline QualificationRequest& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
134 private:
135
136 Aws::String m_qualificationRequestId;
137 bool m_qualificationRequestIdHasBeenSet = false;
138
139 Aws::String m_qualificationTypeId;
140 bool m_qualificationTypeIdHasBeenSet = false;
141
142 Aws::String m_workerId;
143 bool m_workerIdHasBeenSet = false;
144
145 Aws::String m_test;
146 bool m_testHasBeenSet = false;
147
148 Aws::String m_answer;
149 bool m_answerHasBeenSet = false;
150
151 Aws::Utils::DateTime m_submitTime;
152 bool m_submitTimeHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace MTurk
157} // namespace Aws
QualificationRequest & WithWorkerId(const Aws::String &value)
QualificationRequest & WithWorkerId(Aws::String &&value)
const Aws::String & GetQualificationRequestId() const
const Aws::Utils::DateTime & GetSubmitTime() const
QualificationRequest & WithQualificationRequestId(Aws::String &&value)
QualificationRequest & WithQualificationTypeId(const Aws::String &value)
QualificationRequest & WithSubmitTime(Aws::Utils::DateTime &&value)
QualificationRequest & WithQualificationTypeId(Aws::String &&value)
AWS_MTURK_API QualificationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAnswer(const Aws::String &value)
QualificationRequest & WithTest(Aws::String &&value)
QualificationRequest & WithAnswer(const Aws::String &value)
void SetQualificationRequestId(Aws::String &&value)
void SetTest(const Aws::String &value)
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQualificationTypeId(Aws::String &&value)
void SetSubmitTime(Aws::Utils::DateTime &&value)
QualificationRequest & WithWorkerId(const char *value)
void SetQualificationRequestId(const Aws::String &value)
void SetWorkerId(const Aws::String &value)
const Aws::String & GetQualificationTypeId() const
QualificationRequest & WithAnswer(const char *value)
AWS_MTURK_API QualificationRequest(Aws::Utils::Json::JsonView jsonValue)
QualificationRequest & WithTest(const Aws::String &value)
QualificationRequest & WithTest(const char *value)
QualificationRequest & WithSubmitTime(const Aws::Utils::DateTime &value)
QualificationRequest & WithQualificationRequestId(const Aws::String &value)
QualificationRequest & WithAnswer(Aws::String &&value)
QualificationRequest & WithQualificationRequestId(const char *value)
void SetSubmitTime(const Aws::Utils::DateTime &value)
QualificationRequest & WithQualificationTypeId(const char *value)
void SetQualificationTypeId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue