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.

HITLayoutParameter

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

type HITLayoutParameter struct { Name *string `type:"string" required:"true"` Value *string `type:"string" required:"true"` }

The HITLayoutParameter data structure defines parameter values used with a HITLayout. A HITLayout is a reusable Amazon Mechanical Turk project template used to provide Human Intelligence Task (HIT) question data for CreateHIT.

Name

Type: *string

The name of the parameter in the HITLayout.

Name is a required field

Value

Type: *string

The value substituted for the parameter referenced in the HITLayout.

Value is a required field

Method

GoString

func (s HITLayoutParameter) GoString() string

GoString returns the string representation

SetName

func (s *HITLayoutParameter) SetName(v string) *HITLayoutParameter

SetName sets the Name field's value.

SetValue

func (s *HITLayoutParameter) SetValue(v string) *HITLayoutParameter

SetValue sets the Value field's value.

String

func (s HITLayoutParameter) String() string

String returns the string representation

Validate

func (s *HITLayoutParameter) Validate() error

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

On this page: