AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ListAssignmentsForHITOutput

import "github.com/aws/aws-sdk-go/service/mturk"

type ListAssignmentsForHITOutput struct { Assignments []*Assignment `type:"list"` NextToken *string `min:"1" type:"string"` NumResults *int64 `type:"integer"` }

Assignments

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.

NextToken

Type: *string

If the previous response was incomplete (because there is more data to retrieve), Amazon Mechanical Turk returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

NumResults

Type: *int64

The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.

Method

GoString

func (s ListAssignmentsForHITOutput) GoString() string

GoString returns the string representation

SetAssignments

func (s *ListAssignmentsForHITOutput) SetAssignments(v []*Assignment) *ListAssignmentsForHITOutput

SetAssignments sets the Assignments field's value.

SetNextToken

func (s *ListAssignmentsForHITOutput) SetNextToken(v string) *ListAssignmentsForHITOutput

SetNextToken sets the NextToken field's value.

SetNumResults

func (s *ListAssignmentsForHITOutput) SetNumResults(v int64) *ListAssignmentsForHITOutput

SetNumResults sets the NumResults field's value.

String

func (s ListAssignmentsForHITOutput) String() string

String returns the string representation

On this page: