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.

PolicyParameter

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

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

Name of the parameter from the Review policy.

Key

Type: *string

Name of the parameter from the list of Review Polices.

MapEntries

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

Values

Type: []*string

The list of values of the Parameter

Method

GoString

func (s PolicyParameter) GoString() string

GoString returns the string representation

SetKey

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

SetKey sets the Key field's value.

SetMapEntries

func (s *PolicyParameter) SetMapEntries(v []*ParameterMapEntry) *PolicyParameter

SetMapEntries sets the MapEntries field's value.

SetValues

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

SetValues sets the Values field's value.

String

func (s PolicyParameter) String() string

String returns the string representation

On this page: