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.

UpdateHITReviewStatusInput

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

type UpdateHITReviewStatusInput struct { HITId *string `min:"1" type:"string" required:"true"` Revert *bool `type:"boolean"` }

HITId

Type: *string

The ID of the HIT to update.

HITId is a required field

Revert

Type: *bool

Specifies how to update the HIT status. Default is False.

  • Setting this to false will only transition a HIT from Reviewable to Reviewing

  • Setting this to true will only transition a HIT from Reviewing to Reviewable

Method

GoString

func (s UpdateHITReviewStatusInput) GoString() string

GoString returns the string representation

SetHITId

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

SetHITId sets the HITId field's value.

SetRevert

func (s *UpdateHITReviewStatusInput) SetRevert(v bool) *UpdateHITReviewStatusInput

SetRevert sets the Revert field's value.

String

func (s UpdateHITReviewStatusInput) String() string

String returns the string representation

Validate

func (s *UpdateHITReviewStatusInput) Validate() error

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

On this page: