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.

ListReviewPolicyResultsForHITInput

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

type ListReviewPolicyResultsForHITInput struct { HITId *string `min:"1" type:"string" required:"true"` MaxResults *int64 `min:"1" type:"integer"` NextToken *string `min:"1" type:"string"` PolicyLevels []*string `type:"list"` RetrieveActions *bool `type:"boolean"` RetrieveResults *bool `type:"boolean"` }

HITId

Type: *string

The unique identifier of the HIT to retrieve review results for.

HITId is a required field

MaxResults

Type: *int64

Limit the number of results returned.

NextToken

Type: *string

Pagination token

PolicyLevels

Type: []*string

The Policy Level(s) to retrieve review results for - HIT or Assignment. If omitted, the default behavior is to retrieve all data for both policy levels. For a list of all the described policies, see Review Policies.

RetrieveActions

Type: *bool

Specify if the operation should retrieve a list of the actions taken executing the Review Policies and their outcomes.

RetrieveResults

Type: *bool

Specify if the operation should retrieve a list of the results computed by the Review Policies.

Method

GoString

func (s ListReviewPolicyResultsForHITInput) GoString() string

GoString returns the string representation

SetHITId

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

SetHITId sets the HITId field's value.

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetPolicyLevels

func (s *ListReviewPolicyResultsForHITInput) SetPolicyLevels(v []*string) *ListReviewPolicyResultsForHITInput

SetPolicyLevels sets the PolicyLevels field's value.

SetRetrieveActions

func (s *ListReviewPolicyResultsForHITInput) SetRetrieveActions(v bool) *ListReviewPolicyResultsForHITInput

SetRetrieveActions sets the RetrieveActions field's value.

SetRetrieveResults

func (s *ListReviewPolicyResultsForHITInput) SetRetrieveResults(v bool) *ListReviewPolicyResultsForHITInput

SetRetrieveResults sets the RetrieveResults field's value.

String

func (s ListReviewPolicyResultsForHITInput) String() string

String returns the string representation

Validate

func (s *ListReviewPolicyResultsForHITInput) Validate() error

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

On this page: