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.

ApproveAssignmentInput

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

type ApproveAssignmentInput struct { AssignmentId *string `min:"1" type:"string" required:"true"` OverrideRejection *bool `type:"boolean"` RequesterFeedback *string `type:"string"` }

AssignmentId

Type: *string

The ID of the assignment. The assignment must correspond to a HIT created by the Requester.

AssignmentId is a required field

OverrideRejection

Type: *bool

A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to False.

RequesterFeedback

Type: *string

A message for the Worker, which the Worker can see in the Status section of the web site.

Method

GoString

func (s ApproveAssignmentInput) GoString() string

GoString returns the string representation

SetAssignmentId

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

SetAssignmentId sets the AssignmentId field's value.

SetOverrideRejection

func (s *ApproveAssignmentInput) SetOverrideRejection(v bool) *ApproveAssignmentInput

SetOverrideRejection sets the OverrideRejection field's value.

SetRequesterFeedback

func (s *ApproveAssignmentInput) SetRequesterFeedback(v string) *ApproveAssignmentInput

SetRequesterFeedback sets the RequesterFeedback field's value.

String

func (s ApproveAssignmentInput) String() string

String returns the string representation

Validate

func (s *ApproveAssignmentInput) Validate() error

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

On this page: