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.

ListHITsOutput

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

type ListHITsOutput struct { HITs []*HIT `type:"list"` NextToken *string `min:"1" type:"string"` NumResults *int64 `type:"integer"` }

HITs

The HIT data structure represents a single HIT, including all the information necessary for a Worker to accept and complete the HIT.

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 HITs on this page in the filtered results list, equivalent to the number of HITs being returned by this call.

Method

GoString

func (s ListHITsOutput) GoString() string

GoString returns the string representation

SetHITs

func (s *ListHITsOutput) SetHITs(v []*HIT) *ListHITsOutput

SetHITs sets the HITs field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetNumResults

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

SetNumResults sets the NumResults field's value.

String

func (s ListHITsOutput) String() string

String returns the string representation

On this page: