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.

ParameterMapEntry

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

type ParameterMapEntry struct { Key *string `type:"string"` Values []*string `type:"list"` }

This data structure is the data type for the AnswerKey parameter of the ScoreMyKnownAnswers/2011-09-01 Review Policy.

Key

Type: *string

The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.

Values

Type: []*string

The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly.

Method

GoString

func (s ParameterMapEntry) GoString() string

GoString returns the string representation

SetKey

func (s *ParameterMapEntry) SetKey(v string) *ParameterMapEntry

SetKey sets the Key field's value.

SetValues

func (s *ParameterMapEntry) SetValues(v []*string) *ParameterMapEntry

SetValues sets the Values field's value.

String

func (s ParameterMapEntry) String() string

String returns the string representation

On this page: