AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReviewResultDetail.h
1
6#pragma once
7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MTurk
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MTURK_API ReviewResultDetail();
38 AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetActionId() const{ return m_actionId; }
46 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
47 inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; }
48 inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); }
49 inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); }
50 inline ReviewResultDetail& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
51 inline ReviewResultDetail& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
52 inline ReviewResultDetail& WithActionId(const char* value) { SetActionId(value); return *this;}
54
56
62 inline const Aws::String& GetSubjectId() const{ return m_subjectId; }
63 inline bool SubjectIdHasBeenSet() const { return m_subjectIdHasBeenSet; }
64 inline void SetSubjectId(const Aws::String& value) { m_subjectIdHasBeenSet = true; m_subjectId = value; }
65 inline void SetSubjectId(Aws::String&& value) { m_subjectIdHasBeenSet = true; m_subjectId = std::move(value); }
66 inline void SetSubjectId(const char* value) { m_subjectIdHasBeenSet = true; m_subjectId.assign(value); }
67 inline ReviewResultDetail& WithSubjectId(const Aws::String& value) { SetSubjectId(value); return *this;}
68 inline ReviewResultDetail& WithSubjectId(Aws::String&& value) { SetSubjectId(std::move(value)); return *this;}
69 inline ReviewResultDetail& WithSubjectId(const char* value) { SetSubjectId(value); return *this;}
71
73
76 inline const Aws::String& GetSubjectType() const{ return m_subjectType; }
77 inline bool SubjectTypeHasBeenSet() const { return m_subjectTypeHasBeenSet; }
78 inline void SetSubjectType(const Aws::String& value) { m_subjectTypeHasBeenSet = true; m_subjectType = value; }
79 inline void SetSubjectType(Aws::String&& value) { m_subjectTypeHasBeenSet = true; m_subjectType = std::move(value); }
80 inline void SetSubjectType(const char* value) { m_subjectTypeHasBeenSet = true; m_subjectType.assign(value); }
81 inline ReviewResultDetail& WithSubjectType(const Aws::String& value) { SetSubjectType(value); return *this;}
82 inline ReviewResultDetail& WithSubjectType(Aws::String&& value) { SetSubjectType(std::move(value)); return *this;}
83 inline ReviewResultDetail& WithSubjectType(const char* value) { SetSubjectType(value); return *this;}
85
87
95 inline const Aws::String& GetQuestionId() const{ return m_questionId; }
96 inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
97 inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; }
98 inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); }
99 inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); }
100 inline ReviewResultDetail& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;}
101 inline ReviewResultDetail& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;}
102 inline ReviewResultDetail& WithQuestionId(const char* value) { SetQuestionId(value); return *this;}
104
106
109 inline const Aws::String& GetKey() const{ return m_key; }
110 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
111 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
112 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
113 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
114 inline ReviewResultDetail& WithKey(const Aws::String& value) { SetKey(value); return *this;}
115 inline ReviewResultDetail& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
116 inline ReviewResultDetail& WithKey(const char* value) { SetKey(value); return *this;}
118
120
123 inline const Aws::String& GetValue() const{ return m_value; }
124 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
125 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
126 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
127 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
128 inline ReviewResultDetail& WithValue(const Aws::String& value) { SetValue(value); return *this;}
129 inline ReviewResultDetail& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
130 inline ReviewResultDetail& WithValue(const char* value) { SetValue(value); return *this;}
132 private:
133
134 Aws::String m_actionId;
135 bool m_actionIdHasBeenSet = false;
136
137 Aws::String m_subjectId;
138 bool m_subjectIdHasBeenSet = false;
139
140 Aws::String m_subjectType;
141 bool m_subjectTypeHasBeenSet = false;
142
143 Aws::String m_questionId;
144 bool m_questionIdHasBeenSet = false;
145
146 Aws::String m_key;
147 bool m_keyHasBeenSet = false;
148
149 Aws::String m_value;
150 bool m_valueHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace MTurk
155} // namespace Aws
ReviewResultDetail & WithValue(const char *value)
ReviewResultDetail & WithKey(const char *value)
ReviewResultDetail & WithValue(Aws::String &&value)
void SetKey(const Aws::String &value)
ReviewResultDetail & WithQuestionId(Aws::String &&value)
void SetValue(const Aws::String &value)
AWS_MTURK_API ReviewResultDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubjectId(const Aws::String &value)
void SetSubjectType(Aws::String &&value)
ReviewResultDetail & WithKey(const Aws::String &value)
void SetSubjectType(const Aws::String &value)
ReviewResultDetail & WithValue(const Aws::String &value)
AWS_MTURK_API ReviewResultDetail(Aws::Utils::Json::JsonView jsonValue)
ReviewResultDetail & WithActionId(const Aws::String &value)
ReviewResultDetail & WithSubjectType(const char *value)
ReviewResultDetail & WithSubjectId(const char *value)
void SetQuestionId(const Aws::String &value)
const Aws::String & GetSubjectType() const
void SetQuestionId(Aws::String &&value)
const Aws::String & GetActionId() const
const Aws::String & GetSubjectId() const
ReviewResultDetail & WithQuestionId(const char *value)
ReviewResultDetail & WithSubjectId(Aws::String &&value)
ReviewResultDetail & WithSubjectType(Aws::String &&value)
ReviewResultDetail & WithQuestionId(const Aws::String &value)
ReviewResultDetail & WithSubjectId(const Aws::String &value)
const Aws::String & GetQuestionId() const
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
ReviewResultDetail & WithActionId(const char *value)
void SetActionId(const Aws::String &value)
ReviewResultDetail & WithActionId(Aws::String &&value)
ReviewResultDetail & WithSubjectType(const Aws::String &value)
ReviewResultDetail & WithKey(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue