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.

ListAssignmentsForHITInput

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

type ListAssignmentsForHITInput struct { AssignmentStatuses []*string `type:"list"` HITId *string `min:"1" type:"string" required:"true"` MaxResults *int64 `min:"1" type:"integer"` NextToken *string `min:"1" type:"string"` }

AssignmentStatuses

Type: []*string

The status of the assignments to return: Submitted | Approved | Rejected

HITId

Type: *string

The ID of the HIT.

HITId is a required field

MaxResults

Type: *int64

NextToken

Type: *string

Pagination token

Method

GoString

func (s ListAssignmentsForHITInput) GoString() string

GoString returns the string representation

SetAssignmentStatuses

func (s *ListAssignmentsForHITInput) SetAssignmentStatuses(v []*string) *ListAssignmentsForHITInput

SetAssignmentStatuses sets the AssignmentStatuses field's value.

SetHITId

func (s *ListAssignmentsForHITInput) SetHITId(v string) *ListAssignmentsForHITInput

SetHITId sets the HITId field's value.

SetMaxResults

func (s *ListAssignmentsForHITInput) SetMaxResults(v int64) *ListAssignmentsForHITInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListAssignmentsForHITInput) String() string

String returns the string representation

Validate

func (s *ListAssignmentsForHITInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: