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.

ListBonusPaymentsOutput

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

type ListBonusPaymentsOutput struct { BonusPayments []*BonusPayment `type:"list"` NextToken *string `min:"1" type:"string"` NumResults *int64 `type:"integer"` }

BonusPayments

An object representing a Bonus payment paid to a Worker.

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

Method

GoString

func (s ListBonusPaymentsOutput) GoString() string

GoString returns the string representation

SetBonusPayments

func (s *ListBonusPaymentsOutput) SetBonusPayments(v []*BonusPayment) *ListBonusPaymentsOutput

SetBonusPayments sets the BonusPayments field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetNumResults

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

SetNumResults sets the NumResults field's value.

String

func (s ListBonusPaymentsOutput) String() string

String returns the string representation

On this page: