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.

ListBonusPaymentsInput

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

type ListBonusPaymentsInput struct { AssignmentId *string `min:"1" type:"string"` HITId *string `min:"1" type:"string"` MaxResults *int64 `min:"1" type:"integer"` NextToken *string `min:"1" type:"string"` }

AssignmentId

Type: *string

The ID of the assignment associated with the bonus payments to retrieve. If specified, only bonus payments for the given assignment are returned. Either the HITId parameter or the AssignmentId parameter must be specified

HITId

Type: *string

The ID of the HIT associated with the bonus payments to retrieve. If not specified, all bonus payments for all assignments for the given HIT are returned. Either the HITId parameter or the AssignmentId parameter must be specified

MaxResults

Type: *int64

NextToken

Type: *string

Pagination token

Method

GoString

func (s ListBonusPaymentsInput) GoString() string

GoString returns the string representation

SetAssignmentId

func (s *ListBonusPaymentsInput) SetAssignmentId(v string) *ListBonusPaymentsInput

SetAssignmentId sets the AssignmentId field's value.

SetHITId

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

SetHITId sets the HITId field's value.

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListBonusPaymentsInput) String() string

String returns the string representation

Validate

func (s *ListBonusPaymentsInput) Validate() error

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

On this page: