AWS SDK for C++

AWS SDK for C++ Version 1.11.773

Loading...
Searching...
No Matches
ReviewResultDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mturk-requester/MTurk_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MTurk {
20namespace Model {
21
29 public:
30 AWS_MTURK_API ReviewResultDetail() = default;
33 AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetActionId() const { return m_actionId; }
40 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
41 template <typename ActionIdT = Aws::String>
42 void SetActionId(ActionIdT&& value) {
43 m_actionIdHasBeenSet = true;
44 m_actionId = std::forward<ActionIdT>(value);
45 }
46 template <typename ActionIdT = Aws::String>
47 ReviewResultDetail& WithActionId(ActionIdT&& value) {
48 SetActionId(std::forward<ActionIdT>(value));
49 return *this;
50 }
52
54
60 inline const Aws::String& GetSubjectId() const { return m_subjectId; }
61 inline bool SubjectIdHasBeenSet() const { return m_subjectIdHasBeenSet; }
62 template <typename SubjectIdT = Aws::String>
63 void SetSubjectId(SubjectIdT&& value) {
64 m_subjectIdHasBeenSet = true;
65 m_subjectId = std::forward<SubjectIdT>(value);
66 }
67 template <typename SubjectIdT = Aws::String>
68 ReviewResultDetail& WithSubjectId(SubjectIdT&& value) {
69 SetSubjectId(std::forward<SubjectIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetSubjectType() const { return m_subjectType; }
79 inline bool SubjectTypeHasBeenSet() const { return m_subjectTypeHasBeenSet; }
80 template <typename SubjectTypeT = Aws::String>
81 void SetSubjectType(SubjectTypeT&& value) {
82 m_subjectTypeHasBeenSet = true;
83 m_subjectType = std::forward<SubjectTypeT>(value);
84 }
85 template <typename SubjectTypeT = Aws::String>
86 ReviewResultDetail& WithSubjectType(SubjectTypeT&& value) {
87 SetSubjectType(std::forward<SubjectTypeT>(value));
88 return *this;
89 }
91
93
101 inline const Aws::String& GetQuestionId() const { return m_questionId; }
102 inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
103 template <typename QuestionIdT = Aws::String>
104 void SetQuestionId(QuestionIdT&& value) {
105 m_questionIdHasBeenSet = true;
106 m_questionId = std::forward<QuestionIdT>(value);
107 }
108 template <typename QuestionIdT = Aws::String>
109 ReviewResultDetail& WithQuestionId(QuestionIdT&& value) {
110 SetQuestionId(std::forward<QuestionIdT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetKey() const { return m_key; }
120 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
121 template <typename KeyT = Aws::String>
122 void SetKey(KeyT&& value) {
123 m_keyHasBeenSet = true;
124 m_key = std::forward<KeyT>(value);
125 }
126 template <typename KeyT = Aws::String>
128 SetKey(std::forward<KeyT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetValue() const { return m_value; }
138 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
139 template <typename ValueT = Aws::String>
140 void SetValue(ValueT&& value) {
141 m_valueHasBeenSet = true;
142 m_value = std::forward<ValueT>(value);
143 }
144 template <typename ValueT = Aws::String>
145 ReviewResultDetail& WithValue(ValueT&& value) {
146 SetValue(std::forward<ValueT>(value));
147 return *this;
148 }
150 private:
151 Aws::String m_actionId;
152
153 Aws::String m_subjectId;
154
155 Aws::String m_subjectType;
156
157 Aws::String m_questionId;
158
159 Aws::String m_key;
160
161 Aws::String m_value;
162 bool m_actionIdHasBeenSet = false;
163 bool m_subjectIdHasBeenSet = false;
164 bool m_subjectTypeHasBeenSet = false;
165 bool m_questionIdHasBeenSet = false;
166 bool m_keyHasBeenSet = false;
167 bool m_valueHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace MTurk
172} // namespace Aws
ReviewResultDetail & WithActionId(ActionIdT &&value)
AWS_MTURK_API ReviewResultDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ReviewResultDetail & WithValue(ValueT &&value)
ReviewResultDetail & WithKey(KeyT &&value)
AWS_MTURK_API ReviewResultDetail(Aws::Utils::Json::JsonView jsonValue)
void SetSubjectType(SubjectTypeT &&value)
const Aws::String & GetSubjectType() const
const Aws::String & GetActionId() const
ReviewResultDetail & WithSubjectId(SubjectIdT &&value)
const Aws::String & GetSubjectId() const
ReviewResultDetail & WithQuestionId(QuestionIdT &&value)
ReviewResultDetail & WithSubjectType(SubjectTypeT &&value)
const Aws::String & GetQuestionId() const
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MTURK_API ReviewResultDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue