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.

IntentMetadata

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

type IntentMetadata struct { CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"` Description *string `locationName:"description" type:"string"` LastUpdatedDate *time.Time `locationName:"lastUpdatedDate" type:"timestamp"` Name *string `locationName:"name" min:"1" type:"string"` Version *string `locationName:"version" min:"1" type:"string"` }

Provides information about an intent.

CreatedDate

Type: *time.Time

The date that the intent was created.

Description

Type: *string

A description of the intent.

LastUpdatedDate

Type: *time.Time

The date that the intent was updated. When you create an intent, the creation date and last updated date are the same.

Name

Type: *string

The name of the intent.

Version

Type: *string

The version of the intent.

Method

GoString

func (s IntentMetadata) GoString() string

GoString returns the string representation

SetCreatedDate

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

SetCreatedDate sets the CreatedDate field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetLastUpdatedDate

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

SetLastUpdatedDate sets the LastUpdatedDate field's value.

SetName

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

SetName sets the Name field's value.

SetVersion

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

SetVersion sets the Version field's value.

String

func (s IntentMetadata) String() string

String returns the string representation

On this page: