AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename ActionIdT = Aws::String>
48 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet = true; m_actionId = std::forward<ActionIdT>(value); }
49 template<typename ActionIdT = Aws::String>
50 ReviewResultDetail& WithActionId(ActionIdT&& value) { SetActionId(std::forward<ActionIdT>(value)); return *this;}
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) { m_subjectIdHasBeenSet = true; m_subjectId = std::forward<SubjectIdT>(value); }
64 template<typename SubjectIdT = Aws::String>
65 ReviewResultDetail& WithSubjectId(SubjectIdT&& value) { SetSubjectId(std::forward<SubjectIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetSubjectType() const { return m_subjectType; }
73 inline bool SubjectTypeHasBeenSet() const { return m_subjectTypeHasBeenSet; }
74 template<typename SubjectTypeT = Aws::String>
75 void SetSubjectType(SubjectTypeT&& value) { m_subjectTypeHasBeenSet = true; m_subjectType = std::forward<SubjectTypeT>(value); }
76 template<typename SubjectTypeT = Aws::String>
77 ReviewResultDetail& WithSubjectType(SubjectTypeT&& value) { SetSubjectType(std::forward<SubjectTypeT>(value)); return *this;}
79
81
89 inline const Aws::String& GetQuestionId() const { return m_questionId; }
90 inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
91 template<typename QuestionIdT = Aws::String>
92 void SetQuestionId(QuestionIdT&& value) { m_questionIdHasBeenSet = true; m_questionId = std::forward<QuestionIdT>(value); }
93 template<typename QuestionIdT = Aws::String>
94 ReviewResultDetail& WithQuestionId(QuestionIdT&& value) { SetQuestionId(std::forward<QuestionIdT>(value)); return *this;}
96
98
101 inline const Aws::String& GetKey() const { return m_key; }
102 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
103 template<typename KeyT = Aws::String>
104 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
105 template<typename KeyT = Aws::String>
106 ReviewResultDetail& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
108
110
113 inline const Aws::String& GetValue() const { return m_value; }
114 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
115 template<typename ValueT = Aws::String>
116 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
117 template<typename ValueT = Aws::String>
118 ReviewResultDetail& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
120 private:
121
122 Aws::String m_actionId;
123 bool m_actionIdHasBeenSet = false;
124
125 Aws::String m_subjectId;
126 bool m_subjectIdHasBeenSet = false;
127
128 Aws::String m_subjectType;
129 bool m_subjectTypeHasBeenSet = false;
130
131 Aws::String m_questionId;
132 bool m_questionIdHasBeenSet = false;
133
134 Aws::String m_key;
135 bool m_keyHasBeenSet = false;
136
137 Aws::String m_value;
138 bool m_valueHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace MTurk
143} // 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
void SetQuestionId(QuestionIdT &&value)
AWS_MTURK_API ReviewResultDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue