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.

CreateAdditionalAssignmentsForHITInput

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

type CreateAdditionalAssignmentsForHITInput struct { HITId *string `min:"1" type:"string" required:"true"` NumberOfAdditionalAssignments *int64 `type:"integer" required:"true"` UniqueRequestToken *string `min:"1" type:"string"` }

HITId

Type: *string

The ID of the HIT to extend.

HITId is a required field

NumberOfAdditionalAssignments

Type: *int64

The number of additional assignments to request for this HIT.

NumberOfAdditionalAssignments is a required field

UniqueRequestToken

Type: *string

A unique identifier for this request, which allows you to retry the call on error without extending the HIT multiple times. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the extend HIT already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

Method

GoString

func (s CreateAdditionalAssignmentsForHITInput) GoString() string

GoString returns the string representation

SetHITId

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

SetHITId sets the HITId field's value.

SetNumberOfAdditionalAssignments

func (s *CreateAdditionalAssignmentsForHITInput) SetNumberOfAdditionalAssignments(v int64) *CreateAdditionalAssignmentsForHITInput

SetNumberOfAdditionalAssignments sets the NumberOfAdditionalAssignments field's value.

SetUniqueRequestToken

func (s *CreateAdditionalAssignmentsForHITInput) SetUniqueRequestToken(v string) *CreateAdditionalAssignmentsForHITInput

SetUniqueRequestToken sets the UniqueRequestToken field's value.

String

func (s CreateAdditionalAssignmentsForHITInput) String() string

String returns the string representation

Validate

func (s *CreateAdditionalAssignmentsForHITInput) Validate() error

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

On this page: