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>
52 inline void SetActionId(
const char* value) { m_actionIdHasBeenSet =
true; m_actionId.assign(value); }
68 inline void SetActionName(
const char* value) { m_actionNameHasBeenSet =
true; m_actionName.assign(value); }
82 inline void SetTargetId(
const char* value) { m_targetIdHasBeenSet =
true; m_targetId.assign(value); }
96 inline void SetTargetType(
const char* value) { m_targetTypeHasBeenSet =
true; m_targetType.assign(value); }
135 inline void SetResult(
const char* value) { m_resultHasBeenSet =
true; m_result.assign(value); }
149 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
157 bool m_actionIdHasBeenSet =
false;
160 bool m_actionNameHasBeenSet =
false;
163 bool m_targetIdHasBeenSet =
false;
166 bool m_targetTypeHasBeenSet =
false;
169 bool m_statusHasBeenSet =
false;
172 bool m_completeTimeHasBeenSet =
false;
175 bool m_resultHasBeenSet =
false;
178 bool m_errorCodeHasBeenSet =
false;
const Aws::String & GetResult() const
ReviewActionDetail & WithStatus(ReviewActionStatus &&value)
bool StatusHasBeenSet() const
void SetTargetId(const char *value)
void SetStatus(const ReviewActionStatus &value)
ReviewActionDetail & WithCompleteTime(const Aws::Utils::DateTime &value)
void SetErrorCode(const Aws::String &value)
ReviewActionDetail & WithActionName(const Aws::String &value)
ReviewActionDetail & WithResult(const char *value)
void SetActionName(const Aws::String &value)
bool TargetIdHasBeenSet() const
void SetResult(const char *value)
const Aws::String & GetTargetType() const
void SetActionId(const char *value)
ReviewActionDetail & WithActionName(Aws::String &&value)
void SetErrorCode(Aws::String &&value)
bool ActionIdHasBeenSet() const
ReviewActionDetail & WithTargetType(const Aws::String &value)
void SetActionId(const Aws::String &value)
void SetTargetId(Aws::String &&value)
ReviewActionDetail & WithActionName(const char *value)
bool ResultHasBeenSet() const
ReviewActionDetail & WithTargetType(Aws::String &&value)
ReviewActionDetail & WithTargetType(const char *value)
ReviewActionDetail & WithTargetId(const Aws::String &value)
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCompleteTime(const Aws::Utils::DateTime &value)
const Aws::String & GetTargetId() const
ReviewActionDetail & WithTargetId(Aws::String &&value)
void SetActionName(Aws::String &&value)
ReviewActionDetail & WithResult(Aws::String &&value)
void SetActionName(const char *value)
void SetTargetType(const char *value)
AWS_MTURK_API ReviewActionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CompleteTimeHasBeenSet() const
AWS_MTURK_API ReviewActionDetail()
AWS_MTURK_API ReviewActionDetail(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const char *value)
ReviewActionDetail & WithResult(const Aws::String &value)
bool ErrorCodeHasBeenSet() const
const Aws::String & GetErrorCode() const
void SetResult(const Aws::String &value)
void SetStatus(ReviewActionStatus &&value)
ReviewActionDetail & WithErrorCode(const char *value)
void SetActionId(Aws::String &&value)
void SetTargetType(Aws::String &&value)
const ReviewActionStatus & GetStatus() const
ReviewActionDetail & WithCompleteTime(Aws::Utils::DateTime &&value)
ReviewActionDetail & WithErrorCode(const Aws::String &value)
ReviewActionDetail & WithActionId(const Aws::String &value)
ReviewActionDetail & WithActionId(const char *value)
void SetCompleteTime(Aws::Utils::DateTime &&value)
void SetTargetId(const Aws::String &value)
void SetResult(Aws::String &&value)
bool ActionNameHasBeenSet() const
void SetTargetType(const Aws::String &value)
ReviewActionDetail & WithActionId(Aws::String &&value)
const Aws::String & GetActionName() const
ReviewActionDetail & WithErrorCode(Aws::String &&value)
ReviewActionDetail & WithStatus(const ReviewActionStatus &value)
ReviewActionDetail & WithTargetId(const char *value)
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