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.

GetFileUploadURLInput

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

type GetFileUploadURLInput struct { AssignmentId *string `min:"1" type:"string" required:"true"` QuestionIdentifier *string `type:"string" required:"true"` }

AssignmentId

Type: *string

The ID of the assignment that contains the question with a FileUploadAnswer.

AssignmentId is a required field

QuestionIdentifier

Type: *string

The identifier of the question with a FileUploadAnswer, as specified in the QuestionForm of the HIT.

QuestionIdentifier is a required field

Method

GoString

func (s GetFileUploadURLInput) GoString() string

GoString returns the string representation

SetAssignmentId

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

SetAssignmentId sets the AssignmentId field's value.

SetQuestionIdentifier

func (s *GetFileUploadURLInput) SetQuestionIdentifier(v string) *GetFileUploadURLInput

SetQuestionIdentifier sets the QuestionIdentifier field's value.

String

func (s GetFileUploadURLInput) String() string

String returns the string representation

Validate

func (s *GetFileUploadURLInput) Validate() error

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

On this page: