7#include <aws/mturk-requester/MTurk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mturk-requester/model/AssignmentStatus.h>
10#include <aws/core/utils/DateTime.h>
52 inline void SetAssignmentId(
const char* value) { m_assignmentIdHasBeenSet =
true; m_assignmentId.assign(value); }
66 inline void SetWorkerId(
const char* value) { m_workerIdHasBeenSet =
true; m_workerId.assign(value); }
80 inline void SetHITId(
const char* value) { m_hITIdHasBeenSet =
true; m_hITId.assign(value); }
195 inline void SetAnswer(
const char* value) { m_answerHasBeenSet =
true; m_answer.assign(value); }
211 inline void SetRequesterFeedback(
const char* value) { m_requesterFeedbackHasBeenSet =
true; m_requesterFeedback.assign(value); }
219 bool m_assignmentIdHasBeenSet =
false;
222 bool m_workerIdHasBeenSet =
false;
225 bool m_hITIdHasBeenSet =
false;
228 bool m_assignmentStatusHasBeenSet =
false;
231 bool m_autoApprovalTimeHasBeenSet =
false;
234 bool m_acceptTimeHasBeenSet =
false;
237 bool m_submitTimeHasBeenSet =
false;
240 bool m_approvalTimeHasBeenSet =
false;
243 bool m_rejectionTimeHasBeenSet =
false;
246 bool m_deadlineHasBeenSet =
false;
249 bool m_answerHasBeenSet =
false;
252 bool m_requesterFeedbackHasBeenSet =
false;
Assignment & WithAnswer(Aws::String &&value)
Assignment & WithApprovalTime(Aws::Utils::DateTime &&value)
void SetRejectionTime(const Aws::Utils::DateTime &value)
Assignment & WithRequesterFeedback(const Aws::String &value)
bool SubmitTimeHasBeenSet() const
const AssignmentStatus & GetAssignmentStatus() const
void SetAnswer(Aws::String &&value)
const Aws::String & GetRequesterFeedback() const
Assignment & WithAcceptTime(const Aws::Utils::DateTime &value)
Assignment & WithRequesterFeedback(Aws::String &&value)
const Aws::String & GetWorkerId() const
Assignment & WithAnswer(const Aws::String &value)
Assignment & WithAutoApprovalTime(const Aws::Utils::DateTime &value)
const Aws::String & GetAnswer() const
const Aws::Utils::DateTime & GetAutoApprovalTime() const
Assignment & WithAssignmentStatus(AssignmentStatus &&value)
void SetAnswer(const char *value)
Assignment & WithWorkerId(Aws::String &&value)
Assignment & WithAutoApprovalTime(Aws::Utils::DateTime &&value)
Assignment & WithApprovalTime(const Aws::Utils::DateTime &value)
Assignment & WithDeadline(Aws::Utils::DateTime &&value)
bool RejectionTimeHasBeenSet() const
void SetDeadline(Aws::Utils::DateTime &&value)
Assignment & WithHITId(Aws::String &&value)
void SetAssignmentId(const Aws::String &value)
void SetHITId(Aws::String &&value)
Assignment & WithRejectionTime(Aws::Utils::DateTime &&value)
void SetHITId(const Aws::String &value)
void SetSubmitTime(const Aws::Utils::DateTime &value)
void SetApprovalTime(Aws::Utils::DateTime &&value)
void SetAutoApprovalTime(Aws::Utils::DateTime &&value)
void SetRequesterFeedback(const Aws::String &value)
const Aws::Utils::DateTime & GetApprovalTime() const
bool AutoApprovalTimeHasBeenSet() const
void SetAssignmentId(const char *value)
bool WorkerIdHasBeenSet() const
void SetAssignmentStatus(AssignmentStatus &&value)
const Aws::Utils::DateTime & GetRejectionTime() const
bool DeadlineHasBeenSet() const
const Aws::Utils::DateTime & GetSubmitTime() const
void SetWorkerId(Aws::String &&value)
const Aws::Utils::DateTime & GetAcceptTime() const
void SetAnswer(const Aws::String &value)
Assignment & WithRejectionTime(const Aws::Utils::DateTime &value)
void SetRequesterFeedback(Aws::String &&value)
const Aws::String & GetAssignmentId() const
Assignment & WithAssignmentId(const char *value)
AWS_MTURK_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAcceptTime(Aws::Utils::DateTime &&value)
Assignment & WithAcceptTime(Aws::Utils::DateTime &&value)
Assignment & WithAssignmentStatus(const AssignmentStatus &value)
bool RequesterFeedbackHasBeenSet() const
const Aws::String & GetHITId() const
Assignment & WithAssignmentId(const Aws::String &value)
void SetApprovalTime(const Aws::Utils::DateTime &value)
void SetWorkerId(const char *value)
bool ApprovalTimeHasBeenSet() const
bool HITIdHasBeenSet() const
const Aws::Utils::DateTime & GetDeadline() const
Assignment & WithDeadline(const Aws::Utils::DateTime &value)
void SetSubmitTime(Aws::Utils::DateTime &&value)
void SetHITId(const char *value)
Assignment & WithSubmitTime(const Aws::Utils::DateTime &value)
Assignment & WithHITId(const Aws::String &value)
Assignment & WithHITId(const char *value)
AWS_MTURK_API Assignment(Aws::Utils::Json::JsonView jsonValue)
Assignment & WithRequesterFeedback(const char *value)
Assignment & WithAssignmentId(Aws::String &&value)
void SetWorkerId(const Aws::String &value)
void SetAutoApprovalTime(const Aws::Utils::DateTime &value)
AWS_MTURK_API Assignment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MTURK_API Assignment()
bool AcceptTimeHasBeenSet() const
void SetRejectionTime(Aws::Utils::DateTime &&value)
Assignment & WithSubmitTime(Aws::Utils::DateTime &&value)
bool AnswerHasBeenSet() const
void SetRequesterFeedback(const char *value)
void SetAssignmentStatus(const AssignmentStatus &value)
Assignment & WithWorkerId(const char *value)
Assignment & WithWorkerId(const Aws::String &value)
void SetAcceptTime(const Aws::Utils::DateTime &value)
Assignment & WithAnswer(const char *value)
void SetDeadline(const Aws::Utils::DateTime &value)
bool AssignmentStatusHasBeenSet() const
void SetAssignmentId(Aws::String &&value)
bool AssignmentIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue