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.

GetModelTemplateOutput

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

type GetModelTemplateOutput struct { Value *string `locationName:"value" type:"string"` }

Represents a mapping template used to transform a payload.

Mapping Templates (https://docs.aws.amazon.com/apigateway/latest/developerguide/models-mappings.html#models-mappings-mappings)

Value

Type: *string

The Apache Velocity Template Language (VTL) (https://velocity.apache.org/engine/devel/vtl-reference-guide.html) template content used for the template resource.

Method

GoString

func (s GetModelTemplateOutput) GoString() string

GoString returns the string representation

SetValue

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

SetValue sets the Value field's value.

String

func (s GetModelTemplateOutput) String() string

String returns the string representation

On this page: