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.

ListWorkerBlocksInput

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

type ListWorkerBlocksInput struct { MaxResults *int64 `min:"1" type:"integer"` NextToken *string `min:"1" type:"string"` }

MaxResults

Type: *int64

NextToken

Type: *string

Pagination token

Method

GoString

func (s ListWorkerBlocksInput) GoString() string

GoString returns the string representation

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListWorkerBlocksInput) String() string

String returns the string representation

Validate

func (s *ListWorkerBlocksInput) Validate() error

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

On this page: