7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mturk-requester/model/ReviewActionStatus.h>
10#include <aws/core/utils/DateTime.h>
50 template<
typename ActionIdT = Aws::String>
51 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet =
true; m_actionId = std::forward<ActionIdT>(value); }
52 template<
typename ActionIdT = Aws::String>
64 template<
typename ActionNameT = Aws::String>
65 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet =
true; m_actionName = std::forward<ActionNameT>(value); }
66 template<
typename ActionNameT = Aws::String>
76 template<
typename TargetIdT = Aws::String>
77 void SetTargetId(TargetIdT&& value) { m_targetIdHasBeenSet =
true; m_targetId = std::forward<TargetIdT>(value); }
78 template<
typename TargetIdT = Aws::String>
88 template<
typename TargetTypeT = Aws::String>
89 void SetTargetType(TargetTypeT&& value) { m_targetTypeHasBeenSet =
true; m_targetType = std::forward<TargetTypeT>(value); }
90 template<
typename TargetTypeT = Aws::String>
111 template<
typename CompleteTimeT = Aws::Utils::DateTime>
112 void SetCompleteTime(CompleteTimeT&& value) { m_completeTimeHasBeenSet =
true; m_completeTime = std::forward<CompleteTimeT>(value); }
113 template<
typename CompleteTimeT = Aws::Utils::DateTime>
123 template<
typename ResultT = Aws::String>
124 void SetResult(ResultT&& value) { m_resultHasBeenSet =
true; m_result = std::forward<ResultT>(value); }
125 template<
typename ResultT = Aws::String>
135 template<
typename ErrorCodeT = Aws::String>
136 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
137 template<
typename ErrorCodeT = Aws::String>
143 bool m_actionIdHasBeenSet =
false;
146 bool m_actionNameHasBeenSet =
false;
149 bool m_targetIdHasBeenSet =
false;
152 bool m_targetTypeHasBeenSet =
false;
155 bool m_statusHasBeenSet =
false;
158 bool m_completeTimeHasBeenSet =
false;
161 bool m_resultHasBeenSet =
false;
164 bool m_errorCodeHasBeenSet =
false;
const Aws::String & GetResult() const
bool StatusHasBeenSet() const
ReviewActionDetail & WithErrorCode(ErrorCodeT &&value)
void SetTargetId(TargetIdT &&value)
AWS_MTURK_API ReviewActionDetail()=default
bool TargetIdHasBeenSet() const
void SetErrorCode(ErrorCodeT &&value)
ReviewActionDetail & WithCompleteTime(CompleteTimeT &&value)
const Aws::String & GetTargetType() const
void SetResult(ResultT &&value)
ReviewActionDetail & WithActionName(ActionNameT &&value)
bool ActionIdHasBeenSet() const
ReviewActionDetail & WithTargetType(TargetTypeT &&value)
ReviewActionDetail & WithStatus(ReviewActionStatus value)
bool ResultHasBeenSet() const
void SetCompleteTime(CompleteTimeT &&value)
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTargetId() const
ReviewActionDetail & WithResult(ResultT &&value)
AWS_MTURK_API ReviewActionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CompleteTimeHasBeenSet() const
ReviewActionDetail & WithTargetId(TargetIdT &&value)
AWS_MTURK_API ReviewActionDetail(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ReviewActionStatus value)
bool ErrorCodeHasBeenSet() const
const Aws::String & GetErrorCode() const
ReviewActionStatus GetStatus() const
void SetTargetType(TargetTypeT &&value)
void SetActionName(ActionNameT &&value)
void SetActionId(ActionIdT &&value)
ReviewActionDetail & WithActionId(ActionIdT &&value)
bool ActionNameHasBeenSet() const
const Aws::String & GetActionName() const
bool TargetTypeHasBeenSet() const
const Aws::String & GetActionId() const
const Aws::Utils::DateTime & GetCompleteTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue