AWS SDK for C++  1.9.106
AWS SDK for C++
ReviewResultDetail.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MTurk
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetActionId() const{ return m_actionId; }
45 
49  inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
50 
54  inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; }
55 
59  inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); }
60 
64  inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); }
65 
69  inline ReviewResultDetail& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
70 
74  inline ReviewResultDetail& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
75 
79  inline ReviewResultDetail& WithActionId(const char* value) { SetActionId(value); return *this;}
80 
81 
88  inline const Aws::String& GetSubjectId() const{ return m_subjectId; }
89 
96  inline bool SubjectIdHasBeenSet() const { return m_subjectIdHasBeenSet; }
97 
104  inline void SetSubjectId(const Aws::String& value) { m_subjectIdHasBeenSet = true; m_subjectId = value; }
105 
112  inline void SetSubjectId(Aws::String&& value) { m_subjectIdHasBeenSet = true; m_subjectId = std::move(value); }
113 
120  inline void SetSubjectId(const char* value) { m_subjectIdHasBeenSet = true; m_subjectId.assign(value); }
121 
128  inline ReviewResultDetail& WithSubjectId(const Aws::String& value) { SetSubjectId(value); return *this;}
129 
136  inline ReviewResultDetail& WithSubjectId(Aws::String&& value) { SetSubjectId(std::move(value)); return *this;}
137 
144  inline ReviewResultDetail& WithSubjectId(const char* value) { SetSubjectId(value); return *this;}
145 
146 
150  inline const Aws::String& GetSubjectType() const{ return m_subjectType; }
151 
155  inline bool SubjectTypeHasBeenSet() const { return m_subjectTypeHasBeenSet; }
156 
160  inline void SetSubjectType(const Aws::String& value) { m_subjectTypeHasBeenSet = true; m_subjectType = value; }
161 
165  inline void SetSubjectType(Aws::String&& value) { m_subjectTypeHasBeenSet = true; m_subjectType = std::move(value); }
166 
170  inline void SetSubjectType(const char* value) { m_subjectTypeHasBeenSet = true; m_subjectType.assign(value); }
171 
175  inline ReviewResultDetail& WithSubjectType(const Aws::String& value) { SetSubjectType(value); return *this;}
176 
180  inline ReviewResultDetail& WithSubjectType(Aws::String&& value) { SetSubjectType(std::move(value)); return *this;}
181 
185  inline ReviewResultDetail& WithSubjectType(const char* value) { SetSubjectType(value); return *this;}
186 
187 
196  inline const Aws::String& GetQuestionId() const{ return m_questionId; }
197 
206  inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
207 
216  inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; }
217 
226  inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); }
227 
236  inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); }
237 
246  inline ReviewResultDetail& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;}
247 
256  inline ReviewResultDetail& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;}
257 
266  inline ReviewResultDetail& WithQuestionId(const char* value) { SetQuestionId(value); return *this;}
267 
268 
272  inline const Aws::String& GetKey() const{ return m_key; }
273 
277  inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
278 
282  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
283 
287  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
288 
292  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
293 
297  inline ReviewResultDetail& WithKey(const Aws::String& value) { SetKey(value); return *this;}
298 
302  inline ReviewResultDetail& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
303 
307  inline ReviewResultDetail& WithKey(const char* value) { SetKey(value); return *this;}
308 
309 
313  inline const Aws::String& GetValue() const{ return m_value; }
314 
318  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
319 
323  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
324 
328  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
329 
333  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
334 
338  inline ReviewResultDetail& WithValue(const Aws::String& value) { SetValue(value); return *this;}
339 
343  inline ReviewResultDetail& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
344 
348  inline ReviewResultDetail& WithValue(const char* value) { SetValue(value); return *this;}
349 
350  private:
351 
352  Aws::String m_actionId;
353  bool m_actionIdHasBeenSet;
354 
355  Aws::String m_subjectId;
356  bool m_subjectIdHasBeenSet;
357 
358  Aws::String m_subjectType;
359  bool m_subjectTypeHasBeenSet;
360 
361  Aws::String m_questionId;
362  bool m_questionIdHasBeenSet;
363 
364  Aws::String m_key;
365  bool m_keyHasBeenSet;
366 
367  Aws::String m_value;
368  bool m_valueHasBeenSet;
369  };
370 
371 } // namespace Model
372 } // namespace MTurk
373 } // namespace Aws
Aws::MTurk::Model::ReviewResultDetail::WithSubjectId
ReviewResultDetail & WithSubjectId(const Aws::String &value)
Definition: ReviewResultDetail.h:128
Aws::MTurk::Model::ReviewResultDetail::WithQuestionId
ReviewResultDetail & WithQuestionId(const Aws::String &value)
Definition: ReviewResultDetail.h:246
Aws::MTurk::Model::ReviewResultDetail::WithSubjectType
ReviewResultDetail & WithSubjectType(Aws::String &&value)
Definition: ReviewResultDetail.h:180
Aws::MTurk::Model::ReviewResultDetail::WithKey
ReviewResultDetail & WithKey(const Aws::String &value)
Definition: ReviewResultDetail.h:297
Aws::MTurk::Model::ReviewResultDetail::WithValue
ReviewResultDetail & WithValue(const Aws::String &value)
Definition: ReviewResultDetail.h:338
Aws::MTurk::Model::ReviewResultDetail::KeyHasBeenSet
bool KeyHasBeenSet() const
Definition: ReviewResultDetail.h:277
Aws::MTurk::Model::ReviewResultDetail::SetKey
void SetKey(const char *value)
Definition: ReviewResultDetail.h:292
Aws::MTurk::Model::ReviewResultDetail::GetSubjectId
const Aws::String & GetSubjectId() const
Definition: ReviewResultDetail.h:88
Aws::MTurk::Model::ReviewResultDetail::SetActionId
void SetActionId(const Aws::String &value)
Definition: ReviewResultDetail.h:54
Aws::MTurk::Model::ReviewResultDetail::ReviewResultDetail
ReviewResultDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::MTurk::Model::ReviewResultDetail::WithSubjectId
ReviewResultDetail & WithSubjectId(Aws::String &&value)
Definition: ReviewResultDetail.h:136
Aws::MTurk::Model::ReviewResultDetail::SetSubjectId
void SetSubjectId(Aws::String &&value)
Definition: ReviewResultDetail.h:112
Aws::MTurk::Model::ReviewResultDetail::SetActionId
void SetActionId(Aws::String &&value)
Definition: ReviewResultDetail.h:59
Aws::MTurk::Model::ReviewResultDetail::GetValue
const Aws::String & GetValue() const
Definition: ReviewResultDetail.h:313
Aws::MTurk::Model::ReviewResultDetail::SetSubjectId
void SetSubjectId(const Aws::String &value)
Definition: ReviewResultDetail.h:104
Aws::MTurk::Model::ReviewResultDetail::SetQuestionId
void SetQuestionId(const Aws::String &value)
Definition: ReviewResultDetail.h:216
Aws::MTurk::Model::ReviewResultDetail::WithKey
ReviewResultDetail & WithKey(Aws::String &&value)
Definition: ReviewResultDetail.h:302
Aws::MTurk::Model::ReviewResultDetail::SetValue
void SetValue(Aws::String &&value)
Definition: ReviewResultDetail.h:328
Aws::MTurk::Model::ReviewResultDetail::WithSubjectType
ReviewResultDetail & WithSubjectType(const char *value)
Definition: ReviewResultDetail.h:185
Aws::MTurk::Model::ReviewResultDetail::SetValue
void SetValue(const char *value)
Definition: ReviewResultDetail.h:333
Aws::MTurk::Model::ReviewResultDetail::WithValue
ReviewResultDetail & WithValue(Aws::String &&value)
Definition: ReviewResultDetail.h:343
Aws::MTurk::Model::ReviewResultDetail::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: ReviewResultDetail.h:318
Aws::MTurk::Model::ReviewResultDetail::SetKey
void SetKey(const Aws::String &value)
Definition: ReviewResultDetail.h:282
Aws::MTurk::Model::ReviewResultDetail::QuestionIdHasBeenSet
bool QuestionIdHasBeenSet() const
Definition: ReviewResultDetail.h:206
Aws::MTurk::Model::ReviewResultDetail
Definition: ReviewResultDetail.h:33
Aws::MTurk::Model::ReviewResultDetail::SetActionId
void SetActionId(const char *value)
Definition: ReviewResultDetail.h:64
Aws::MTurk::Model::ReviewResultDetail::WithQuestionId
ReviewResultDetail & WithQuestionId(Aws::String &&value)
Definition: ReviewResultDetail.h:256
Aws::MTurk::Model::ReviewResultDetail::WithActionId
ReviewResultDetail & WithActionId(const Aws::String &value)
Definition: ReviewResultDetail.h:69
Aws::MTurk::Model::ReviewResultDetail::SubjectIdHasBeenSet
bool SubjectIdHasBeenSet() const
Definition: ReviewResultDetail.h:96
Aws::MTurk::Model::ReviewResultDetail::SetQuestionId
void SetQuestionId(const char *value)
Definition: ReviewResultDetail.h:236
Aws::MTurk::Model::ReviewResultDetail::WithSubjectType
ReviewResultDetail & WithSubjectType(const Aws::String &value)
Definition: ReviewResultDetail.h:175
Aws::MTurk::Model::ReviewResultDetail::WithActionId
ReviewResultDetail & WithActionId(const char *value)
Definition: ReviewResultDetail.h:79
Aws::MTurk::Model::ReviewResultDetail::ActionIdHasBeenSet
bool ActionIdHasBeenSet() const
Definition: ReviewResultDetail.h:49
Aws::MTurk::Model::ReviewResultDetail::GetQuestionId
const Aws::String & GetQuestionId() const
Definition: ReviewResultDetail.h:196
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::MTurk::Model::ReviewResultDetail::ReviewResultDetail
ReviewResultDetail()
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MTurk::Model::ReviewResultDetail::GetActionId
const Aws::String & GetActionId() const
Definition: ReviewResultDetail.h:44
Aws::MTurk::Model::ReviewResultDetail::SetKey
void SetKey(Aws::String &&value)
Definition: ReviewResultDetail.h:287
Aws::MTurk::Model::ReviewResultDetail::SetValue
void SetValue(const Aws::String &value)
Definition: ReviewResultDetail.h:323
Aws::MTurk::Model::ReviewResultDetail::SetSubjectType
void SetSubjectType(const Aws::String &value)
Definition: ReviewResultDetail.h:160
Aws::MTurk::Model::ReviewResultDetail::GetKey
const Aws::String & GetKey() const
Definition: ReviewResultDetail.h:272
MTurk_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::MTurk::Model::ReviewResultDetail::SubjectTypeHasBeenSet
bool SubjectTypeHasBeenSet() const
Definition: ReviewResultDetail.h:155
AWS_MTURK_API
#define AWS_MTURK_API
Definition: MTurk_EXPORTS.h:28
Aws::MTurk::Model::ReviewResultDetail::WithQuestionId
ReviewResultDetail & WithQuestionId(const char *value)
Definition: ReviewResultDetail.h:266
Aws::MTurk::Model::ReviewResultDetail::SetSubjectType
void SetSubjectType(Aws::String &&value)
Definition: ReviewResultDetail.h:165
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MTurk::Model::ReviewResultDetail::SetSubjectType
void SetSubjectType(const char *value)
Definition: ReviewResultDetail.h:170
Aws::MTurk::Model::ReviewResultDetail::WithSubjectId
ReviewResultDetail & WithSubjectId(const char *value)
Definition: ReviewResultDetail.h:144
Aws::MTurk::Model::ReviewResultDetail::SetSubjectId
void SetSubjectId(const char *value)
Definition: ReviewResultDetail.h:120
Aws::MTurk::Model::ReviewResultDetail::WithKey
ReviewResultDetail & WithKey(const char *value)
Definition: ReviewResultDetail.h:307
Aws::MTurk::Model::ReviewResultDetail::GetSubjectType
const Aws::String & GetSubjectType() const
Definition: ReviewResultDetail.h:150
Aws::MTurk::Model::ReviewResultDetail::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MTurk::Model::ReviewResultDetail::operator=
ReviewResultDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MTurk::Model::ReviewResultDetail::WithActionId
ReviewResultDetail & WithActionId(Aws::String &&value)
Definition: ReviewResultDetail.h:74
Aws::MTurk::Model::ReviewResultDetail::WithValue
ReviewResultDetail & WithValue(const char *value)
Definition: ReviewResultDetail.h:348
Aws::MTurk::Model::ReviewResultDetail::SetQuestionId
void SetQuestionId(Aws::String &&value)
Definition: ReviewResultDetail.h:226