AWS SDK for C++  1.9.123
AWS SDK for C++
Public Member Functions | List of all members
Aws::MTurk::Model::Assignment Class Reference

#include <Assignment.h>

Public Member Functions

 Assignment ()
 
 Assignment (Aws::Utils::Json::JsonView jsonValue)
 
Assignmentoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetAssignmentId () const
 
bool AssignmentIdHasBeenSet () const
 
void SetAssignmentId (const Aws::String &value)
 
void SetAssignmentId (Aws::String &&value)
 
void SetAssignmentId (const char *value)
 
AssignmentWithAssignmentId (const Aws::String &value)
 
AssignmentWithAssignmentId (Aws::String &&value)
 
AssignmentWithAssignmentId (const char *value)
 
const Aws::StringGetWorkerId () const
 
bool WorkerIdHasBeenSet () const
 
void SetWorkerId (const Aws::String &value)
 
void SetWorkerId (Aws::String &&value)
 
void SetWorkerId (const char *value)
 
AssignmentWithWorkerId (const Aws::String &value)
 
AssignmentWithWorkerId (Aws::String &&value)
 
AssignmentWithWorkerId (const char *value)
 
const Aws::StringGetHITId () const
 
bool HITIdHasBeenSet () const
 
void SetHITId (const Aws::String &value)
 
void SetHITId (Aws::String &&value)
 
void SetHITId (const char *value)
 
AssignmentWithHITId (const Aws::String &value)
 
AssignmentWithHITId (Aws::String &&value)
 
AssignmentWithHITId (const char *value)
 
const AssignmentStatusGetAssignmentStatus () const
 
bool AssignmentStatusHasBeenSet () const
 
void SetAssignmentStatus (const AssignmentStatus &value)
 
void SetAssignmentStatus (AssignmentStatus &&value)
 
AssignmentWithAssignmentStatus (const AssignmentStatus &value)
 
AssignmentWithAssignmentStatus (AssignmentStatus &&value)
 
const Aws::Utils::DateTimeGetAutoApprovalTime () const
 
bool AutoApprovalTimeHasBeenSet () const
 
void SetAutoApprovalTime (const Aws::Utils::DateTime &value)
 
void SetAutoApprovalTime (Aws::Utils::DateTime &&value)
 
AssignmentWithAutoApprovalTime (const Aws::Utils::DateTime &value)
 
AssignmentWithAutoApprovalTime (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetAcceptTime () const
 
bool AcceptTimeHasBeenSet () const
 
void SetAcceptTime (const Aws::Utils::DateTime &value)
 
void SetAcceptTime (Aws::Utils::DateTime &&value)
 
AssignmentWithAcceptTime (const Aws::Utils::DateTime &value)
 
AssignmentWithAcceptTime (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetSubmitTime () const
 
bool SubmitTimeHasBeenSet () const
 
void SetSubmitTime (const Aws::Utils::DateTime &value)
 
void SetSubmitTime (Aws::Utils::DateTime &&value)
 
AssignmentWithSubmitTime (const Aws::Utils::DateTime &value)
 
AssignmentWithSubmitTime (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetApprovalTime () const
 
bool ApprovalTimeHasBeenSet () const
 
void SetApprovalTime (const Aws::Utils::DateTime &value)
 
void SetApprovalTime (Aws::Utils::DateTime &&value)
 
AssignmentWithApprovalTime (const Aws::Utils::DateTime &value)
 
AssignmentWithApprovalTime (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetRejectionTime () const
 
bool RejectionTimeHasBeenSet () const
 
void SetRejectionTime (const Aws::Utils::DateTime &value)
 
void SetRejectionTime (Aws::Utils::DateTime &&value)
 
AssignmentWithRejectionTime (const Aws::Utils::DateTime &value)
 
AssignmentWithRejectionTime (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetDeadline () const
 
bool DeadlineHasBeenSet () const
 
void SetDeadline (const Aws::Utils::DateTime &value)
 
void SetDeadline (Aws::Utils::DateTime &&value)
 
AssignmentWithDeadline (const Aws::Utils::DateTime &value)
 
AssignmentWithDeadline (Aws::Utils::DateTime &&value)
 
const Aws::StringGetAnswer () const
 
bool AnswerHasBeenSet () const
 
void SetAnswer (const Aws::String &value)
 
void SetAnswer (Aws::String &&value)
 
void SetAnswer (const char *value)
 
AssignmentWithAnswer (const Aws::String &value)
 
AssignmentWithAnswer (Aws::String &&value)
 
AssignmentWithAnswer (const char *value)
 
const Aws::StringGetRequesterFeedback () const
 
bool RequesterFeedbackHasBeenSet () const
 
void SetRequesterFeedback (const Aws::String &value)
 
void SetRequesterFeedback (Aws::String &&value)
 
void SetRequesterFeedback (const char *value)
 
AssignmentWithRequesterFeedback (const Aws::String &value)
 
AssignmentWithRequesterFeedback (Aws::String &&value)
 
AssignmentWithRequesterFeedback (const char *value)
 

Detailed Description

The Assignment data structure represents a single assignment of a HIT to a Worker. The assignment tracks the Worker's efforts to complete the HIT, and contains the results for later retrieval.

See Also:

AWS API Reference

Definition at line 35 of file Assignment.h.

Constructor & Destructor Documentation

◆ Assignment() [1/2]

Aws::MTurk::Model::Assignment::Assignment ( )

◆ Assignment() [2/2]

Aws::MTurk::Model::Assignment::Assignment ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AcceptTimeHasBeenSet()

bool Aws::MTurk::Model::Assignment::AcceptTimeHasBeenSet ( ) const
inline

The date and time the Worker accepted the assignment.

Definition at line 267 of file Assignment.h.

◆ AnswerHasBeenSet()

bool Aws::MTurk::Model::Assignment::AnswerHasBeenSet ( ) const
inline

The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

Definition at line 482 of file Assignment.h.

◆ ApprovalTimeHasBeenSet()

bool Aws::MTurk::Model::Assignment::ApprovalTimeHasBeenSet ( ) const
inline

If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.

Definition at line 347 of file Assignment.h.

◆ AssignmentIdHasBeenSet()

bool Aws::MTurk::Model::Assignment::AssignmentIdHasBeenSet ( ) const
inline

A unique identifier for the assignment.

Definition at line 52 of file Assignment.h.

◆ AssignmentStatusHasBeenSet()

bool Aws::MTurk::Model::Assignment::AssignmentStatusHasBeenSet ( ) const
inline

The status of the assignment.

Definition at line 175 of file Assignment.h.

◆ AutoApprovalTimeHasBeenSet()

bool Aws::MTurk::Model::Assignment::AutoApprovalTimeHasBeenSet ( ) const
inline

If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.

Definition at line 216 of file Assignment.h.

◆ DeadlineHasBeenSet()

bool Aws::MTurk::Model::Assignment::DeadlineHasBeenSet ( ) const
inline

The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.

Definition at line 437 of file Assignment.h.

◆ GetAcceptTime()

const Aws::Utils::DateTime& Aws::MTurk::Model::Assignment::GetAcceptTime ( ) const
inline

The date and time the Worker accepted the assignment.

Definition at line 262 of file Assignment.h.

◆ GetAnswer()

const Aws::String& Aws::MTurk::Model::Assignment::GetAnswer ( ) const
inline

The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

Definition at line 474 of file Assignment.h.

◆ GetApprovalTime()

const Aws::Utils::DateTime& Aws::MTurk::Model::Assignment::GetApprovalTime ( ) const
inline

If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.

Definition at line 339 of file Assignment.h.

◆ GetAssignmentId()

const Aws::String& Aws::MTurk::Model::Assignment::GetAssignmentId ( ) const
inline

A unique identifier for the assignment.

Definition at line 47 of file Assignment.h.

◆ GetAssignmentStatus()

const AssignmentStatus& Aws::MTurk::Model::Assignment::GetAssignmentStatus ( ) const
inline

The status of the assignment.

Definition at line 170 of file Assignment.h.

◆ GetAutoApprovalTime()

const Aws::Utils::DateTime& Aws::MTurk::Model::Assignment::GetAutoApprovalTime ( ) const
inline

If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.

Definition at line 206 of file Assignment.h.

◆ GetDeadline()

const Aws::Utils::DateTime& Aws::MTurk::Model::Assignment::GetDeadline ( ) const
inline

The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.

Definition at line 430 of file Assignment.h.

◆ GetHITId()

const Aws::String& Aws::MTurk::Model::Assignment::GetHITId ( ) const
inline

The ID of the HIT.

Definition at line 129 of file Assignment.h.

◆ GetRejectionTime()

const Aws::Utils::DateTime& Aws::MTurk::Model::Assignment::GetRejectionTime ( ) const
inline

If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

Definition at line 387 of file Assignment.h.

◆ GetRequesterFeedback()

const Aws::String& Aws::MTurk::Model::Assignment::GetRequesterFeedback ( ) const
inline

The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

Definition at line 538 of file Assignment.h.

◆ GetSubmitTime()

const Aws::Utils::DateTime& Aws::MTurk::Model::Assignment::GetSubmitTime ( ) const
inline

If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.

Definition at line 295 of file Assignment.h.

◆ GetWorkerId()

const Aws::String& Aws::MTurk::Model::Assignment::GetWorkerId ( ) const
inline

The ID of the Worker who accepted the HIT.

Definition at line 88 of file Assignment.h.

◆ HITIdHasBeenSet()

bool Aws::MTurk::Model::Assignment::HITIdHasBeenSet ( ) const
inline

The ID of the HIT.

Definition at line 134 of file Assignment.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::MTurk::Model::Assignment::Jsonize ( ) const

◆ operator=()

Assignment& Aws::MTurk::Model::Assignment::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ RejectionTimeHasBeenSet()

bool Aws::MTurk::Model::Assignment::RejectionTimeHasBeenSet ( ) const
inline

If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

Definition at line 394 of file Assignment.h.

◆ RequesterFeedbackHasBeenSet()

bool Aws::MTurk::Model::Assignment::RequesterFeedbackHasBeenSet ( ) const
inline

The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

Definition at line 545 of file Assignment.h.

◆ SetAcceptTime() [1/2]

void Aws::MTurk::Model::Assignment::SetAcceptTime ( Aws::Utils::DateTime &&  value)
inline

The date and time the Worker accepted the assignment.

Definition at line 277 of file Assignment.h.

◆ SetAcceptTime() [2/2]

void Aws::MTurk::Model::Assignment::SetAcceptTime ( const Aws::Utils::DateTime value)
inline

The date and time the Worker accepted the assignment.

Definition at line 272 of file Assignment.h.

◆ SetAnswer() [1/3]

void Aws::MTurk::Model::Assignment::SetAnswer ( Aws::String &&  value)
inline

The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

Definition at line 498 of file Assignment.h.

◆ SetAnswer() [2/3]

void Aws::MTurk::Model::Assignment::SetAnswer ( const Aws::String value)
inline

The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

Definition at line 490 of file Assignment.h.

◆ SetAnswer() [3/3]

void Aws::MTurk::Model::Assignment::SetAnswer ( const char *  value)
inline

The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

Definition at line 506 of file Assignment.h.

◆ SetApprovalTime() [1/2]

void Aws::MTurk::Model::Assignment::SetApprovalTime ( Aws::Utils::DateTime &&  value)
inline

If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.

Definition at line 363 of file Assignment.h.

◆ SetApprovalTime() [2/2]

void Aws::MTurk::Model::Assignment::SetApprovalTime ( const Aws::Utils::DateTime value)
inline

If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.

Definition at line 355 of file Assignment.h.

◆ SetAssignmentId() [1/3]

void Aws::MTurk::Model::Assignment::SetAssignmentId ( Aws::String &&  value)
inline

A unique identifier for the assignment.

Definition at line 62 of file Assignment.h.

◆ SetAssignmentId() [2/3]

void Aws::MTurk::Model::Assignment::SetAssignmentId ( const Aws::String value)
inline

A unique identifier for the assignment.

Definition at line 57 of file Assignment.h.

◆ SetAssignmentId() [3/3]

void Aws::MTurk::Model::Assignment::SetAssignmentId ( const char *  value)
inline

A unique identifier for the assignment.

Definition at line 67 of file Assignment.h.

◆ SetAssignmentStatus() [1/2]

void Aws::MTurk::Model::Assignment::SetAssignmentStatus ( AssignmentStatus &&  value)
inline

The status of the assignment.

Definition at line 185 of file Assignment.h.

◆ SetAssignmentStatus() [2/2]

void Aws::MTurk::Model::Assignment::SetAssignmentStatus ( const AssignmentStatus value)
inline

The status of the assignment.

Definition at line 180 of file Assignment.h.

◆ SetAutoApprovalTime() [1/2]

void Aws::MTurk::Model::Assignment::SetAutoApprovalTime ( Aws::Utils::DateTime &&  value)
inline

If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.

Definition at line 236 of file Assignment.h.

◆ SetAutoApprovalTime() [2/2]

void Aws::MTurk::Model::Assignment::SetAutoApprovalTime ( const Aws::Utils::DateTime value)
inline

If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.

Definition at line 226 of file Assignment.h.

◆ SetDeadline() [1/2]

void Aws::MTurk::Model::Assignment::SetDeadline ( Aws::Utils::DateTime &&  value)
inline

The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.

Definition at line 451 of file Assignment.h.

◆ SetDeadline() [2/2]

void Aws::MTurk::Model::Assignment::SetDeadline ( const Aws::Utils::DateTime value)
inline

The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.

Definition at line 444 of file Assignment.h.

◆ SetHITId() [1/3]

void Aws::MTurk::Model::Assignment::SetHITId ( Aws::String &&  value)
inline

The ID of the HIT.

Definition at line 144 of file Assignment.h.

◆ SetHITId() [2/3]

void Aws::MTurk::Model::Assignment::SetHITId ( const Aws::String value)
inline

The ID of the HIT.

Definition at line 139 of file Assignment.h.

◆ SetHITId() [3/3]

void Aws::MTurk::Model::Assignment::SetHITId ( const char *  value)
inline

The ID of the HIT.

Definition at line 149 of file Assignment.h.

◆ SetRejectionTime() [1/2]

void Aws::MTurk::Model::Assignment::SetRejectionTime ( Aws::Utils::DateTime &&  value)
inline

If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

Definition at line 408 of file Assignment.h.

◆ SetRejectionTime() [2/2]

void Aws::MTurk::Model::Assignment::SetRejectionTime ( const Aws::Utils::DateTime value)
inline

If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

Definition at line 401 of file Assignment.h.

◆ SetRequesterFeedback() [1/3]

void Aws::MTurk::Model::Assignment::SetRequesterFeedback ( Aws::String &&  value)
inline

The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

Definition at line 559 of file Assignment.h.

◆ SetRequesterFeedback() [2/3]

void Aws::MTurk::Model::Assignment::SetRequesterFeedback ( const Aws::String value)
inline

The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

Definition at line 552 of file Assignment.h.

◆ SetRequesterFeedback() [3/3]

void Aws::MTurk::Model::Assignment::SetRequesterFeedback ( const char *  value)
inline

The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

Definition at line 566 of file Assignment.h.

◆ SetSubmitTime() [1/2]

void Aws::MTurk::Model::Assignment::SetSubmitTime ( Aws::Utils::DateTime &&  value)
inline

If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.

Definition at line 316 of file Assignment.h.

◆ SetSubmitTime() [2/2]

void Aws::MTurk::Model::Assignment::SetSubmitTime ( const Aws::Utils::DateTime value)
inline

If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.

Definition at line 309 of file Assignment.h.

◆ SetWorkerId() [1/3]

void Aws::MTurk::Model::Assignment::SetWorkerId ( Aws::String &&  value)
inline

The ID of the Worker who accepted the HIT.

Definition at line 103 of file Assignment.h.

◆ SetWorkerId() [2/3]

void Aws::MTurk::Model::Assignment::SetWorkerId ( const Aws::String value)
inline

The ID of the Worker who accepted the HIT.

Definition at line 98 of file Assignment.h.

◆ SetWorkerId() [3/3]

void Aws::MTurk::Model::Assignment::SetWorkerId ( const char *  value)
inline

The ID of the Worker who accepted the HIT.

Definition at line 108 of file Assignment.h.

◆ SubmitTimeHasBeenSet()

bool Aws::MTurk::Model::Assignment::SubmitTimeHasBeenSet ( ) const
inline

If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.

Definition at line 302 of file Assignment.h.

◆ WithAcceptTime() [1/2]

Assignment& Aws::MTurk::Model::Assignment::WithAcceptTime ( Aws::Utils::DateTime &&  value)
inline

The date and time the Worker accepted the assignment.

Definition at line 287 of file Assignment.h.

◆ WithAcceptTime() [2/2]

Assignment& Aws::MTurk::Model::Assignment::WithAcceptTime ( const Aws::Utils::DateTime value)
inline

The date and time the Worker accepted the assignment.

Definition at line 282 of file Assignment.h.

◆ WithAnswer() [1/3]

Assignment& Aws::MTurk::Model::Assignment::WithAnswer ( Aws::String &&  value)
inline

The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

Definition at line 522 of file Assignment.h.

◆ WithAnswer() [2/3]

Assignment& Aws::MTurk::Model::Assignment::WithAnswer ( const Aws::String value)
inline

The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

Definition at line 514 of file Assignment.h.

◆ WithAnswer() [3/3]

Assignment& Aws::MTurk::Model::Assignment::WithAnswer ( const char *  value)
inline

The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

Definition at line 530 of file Assignment.h.

◆ WithApprovalTime() [1/2]

Assignment& Aws::MTurk::Model::Assignment::WithApprovalTime ( Aws::Utils::DateTime &&  value)
inline

If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.

Definition at line 379 of file Assignment.h.

◆ WithApprovalTime() [2/2]

Assignment& Aws::MTurk::Model::Assignment::WithApprovalTime ( const Aws::Utils::DateTime value)
inline

If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.

Definition at line 371 of file Assignment.h.

◆ WithAssignmentId() [1/3]

Assignment& Aws::MTurk::Model::Assignment::WithAssignmentId ( Aws::String &&  value)
inline

A unique identifier for the assignment.

Definition at line 77 of file Assignment.h.

◆ WithAssignmentId() [2/3]

Assignment& Aws::MTurk::Model::Assignment::WithAssignmentId ( const Aws::String value)
inline

A unique identifier for the assignment.

Definition at line 72 of file Assignment.h.

◆ WithAssignmentId() [3/3]

Assignment& Aws::MTurk::Model::Assignment::WithAssignmentId ( const char *  value)
inline

A unique identifier for the assignment.

Definition at line 82 of file Assignment.h.

◆ WithAssignmentStatus() [1/2]

Assignment& Aws::MTurk::Model::Assignment::WithAssignmentStatus ( AssignmentStatus &&  value)
inline

The status of the assignment.

Definition at line 195 of file Assignment.h.

◆ WithAssignmentStatus() [2/2]

Assignment& Aws::MTurk::Model::Assignment::WithAssignmentStatus ( const AssignmentStatus value)
inline

The status of the assignment.

Definition at line 190 of file Assignment.h.

◆ WithAutoApprovalTime() [1/2]

Assignment& Aws::MTurk::Model::Assignment::WithAutoApprovalTime ( Aws::Utils::DateTime &&  value)
inline

If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.

Definition at line 256 of file Assignment.h.

◆ WithAutoApprovalTime() [2/2]

Assignment& Aws::MTurk::Model::Assignment::WithAutoApprovalTime ( const Aws::Utils::DateTime value)
inline

If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.

Definition at line 246 of file Assignment.h.

◆ WithDeadline() [1/2]

Assignment& Aws::MTurk::Model::Assignment::WithDeadline ( Aws::Utils::DateTime &&  value)
inline

The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.

Definition at line 465 of file Assignment.h.

◆ WithDeadline() [2/2]

Assignment& Aws::MTurk::Model::Assignment::WithDeadline ( const Aws::Utils::DateTime value)
inline

The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.

Definition at line 458 of file Assignment.h.

◆ WithHITId() [1/3]

Assignment& Aws::MTurk::Model::Assignment::WithHITId ( Aws::String &&  value)
inline

The ID of the HIT.

Definition at line 159 of file Assignment.h.

◆ WithHITId() [2/3]

Assignment& Aws::MTurk::Model::Assignment::WithHITId ( const Aws::String value)
inline

The ID of the HIT.

Definition at line 154 of file Assignment.h.

◆ WithHITId() [3/3]

Assignment& Aws::MTurk::Model::Assignment::WithHITId ( const char *  value)
inline

The ID of the HIT.

Definition at line 164 of file Assignment.h.

◆ WithRejectionTime() [1/2]

Assignment& Aws::MTurk::Model::Assignment::WithRejectionTime ( Aws::Utils::DateTime &&  value)
inline

If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

Definition at line 422 of file Assignment.h.

◆ WithRejectionTime() [2/2]

Assignment& Aws::MTurk::Model::Assignment::WithRejectionTime ( const Aws::Utils::DateTime value)
inline

If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

Definition at line 415 of file Assignment.h.

◆ WithRequesterFeedback() [1/3]

Assignment& Aws::MTurk::Model::Assignment::WithRequesterFeedback ( Aws::String &&  value)
inline

The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

Definition at line 580 of file Assignment.h.

◆ WithRequesterFeedback() [2/3]

Assignment& Aws::MTurk::Model::Assignment::WithRequesterFeedback ( const Aws::String value)
inline

The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

Definition at line 573 of file Assignment.h.

◆ WithRequesterFeedback() [3/3]

Assignment& Aws::MTurk::Model::Assignment::WithRequesterFeedback ( const char *  value)
inline

The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

Definition at line 587 of file Assignment.h.

◆ WithSubmitTime() [1/2]

Assignment& Aws::MTurk::Model::Assignment::WithSubmitTime ( Aws::Utils::DateTime &&  value)
inline

If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.

Definition at line 330 of file Assignment.h.

◆ WithSubmitTime() [2/2]

Assignment& Aws::MTurk::Model::Assignment::WithSubmitTime ( const Aws::Utils::DateTime value)
inline

If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.

Definition at line 323 of file Assignment.h.

◆ WithWorkerId() [1/3]

Assignment& Aws::MTurk::Model::Assignment::WithWorkerId ( Aws::String &&  value)
inline

The ID of the Worker who accepted the HIT.

Definition at line 118 of file Assignment.h.

◆ WithWorkerId() [2/3]

Assignment& Aws::MTurk::Model::Assignment::WithWorkerId ( const Aws::String value)
inline

The ID of the Worker who accepted the HIT.

Definition at line 113 of file Assignment.h.

◆ WithWorkerId() [3/3]

Assignment& Aws::MTurk::Model::Assignment::WithWorkerId ( const char *  value)
inline

The ID of the Worker who accepted the HIT.

Definition at line 123 of file Assignment.h.

◆ WorkerIdHasBeenSet()

bool Aws::MTurk::Model::Assignment::WorkerIdHasBeenSet ( ) const
inline

The ID of the Worker who accepted the HIT.

Definition at line 93 of file Assignment.h.


The documentation for this class was generated from the following file: