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.

PutSlotTypeOutput

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

type PutSlotTypeOutput struct { Checksum *string `locationName:"checksum" type:"string"` CreateVersion *bool `locationName:"createVersion" type:"boolean"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"` Description *string `locationName:"description" type:"string"` EnumerationValues []*EnumerationValue `locationName:"enumerationValues" min:"1" type:"list"` LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"` Name *string `locationName:"name" min:"1" type:"string"` ValueSelectionStrategy *string `locationName:"valueSelectionStrategy" type:"string" enum:"SlotValueSelectionStrategy"` Version *string `locationName:"version" min:"1" type:"string"` }

Checksum

Type: *string

Checksum of the $LATEST version of the slot type.

CreateVersion

Type: *bool

CreatedDate

Type: *time.Time

The date that the slot type was created.

Description

Type: *string

A description of the slot type.

EnumerationValues

Each slot type can have a set of values. Each enumeration value represents a value the slot type can take.

For example, a pizza ordering bot could have a slot type that specifies the type of crust that the pizza should have. The slot type could include the values

  • thick

  • thin

  • stuffed

LastUpdatedDate

Type: *time.Time

The date that the slot type was updated. When you create a slot type, the creation date and last update date are the same.

Name

Type: *string

The name of the slot type.

ValueSelectionStrategy

Type: *string

The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.

Version

Type: *string

The version of the slot type. For a new slot type, the version is always $LATEST.

Method

GoString

func (s PutSlotTypeOutput) GoString() string

GoString returns the string representation

SetChecksum

func (s *PutSlotTypeOutput) SetChecksum(v string) *PutSlotTypeOutput

SetChecksum sets the Checksum field's value.

SetCreateVersion

func (s *PutSlotTypeOutput) SetCreateVersion(v bool) *PutSlotTypeOutput

SetCreateVersion sets the CreateVersion field's value.

SetCreatedDate

func (s *PutSlotTypeOutput) SetCreatedDate(v time.Time) *PutSlotTypeOutput

SetCreatedDate sets the CreatedDate field's value.

SetDescription

func (s *PutSlotTypeOutput) SetDescription(v string) *PutSlotTypeOutput

SetDescription sets the Description field's value.

SetEnumerationValues

func (s *PutSlotTypeOutput) SetEnumerationValues(v []*EnumerationValue) *PutSlotTypeOutput

SetEnumerationValues sets the EnumerationValues field's value.

SetLastUpdatedDate

func (s *PutSlotTypeOutput) SetLastUpdatedDate(v time.Time) *PutSlotTypeOutput

SetLastUpdatedDate sets the LastUpdatedDate field's value.

SetName

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

SetName sets the Name field's value.

SetValueSelectionStrategy

func (s *PutSlotTypeOutput) SetValueSelectionStrategy(v string) *PutSlotTypeOutput

SetValueSelectionStrategy sets the ValueSelectionStrategy field's value.

SetVersion

func (s *PutSlotTypeOutput) SetVersion(v string) *PutSlotTypeOutput

SetVersion sets the Version field's value.

String

func (s PutSlotTypeOutput) String() string

String returns the string representation

On this page: