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.

SearchIndexInput

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

type SearchIndexInput struct { IndexName *string `locationName:"indexName" min:"1" type:"string"` MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` QueryString *string `locationName:"queryString" min:"1" type:"string" required:"true"` QueryVersion *string `locationName:"queryVersion" type:"string"` }

IndexName

Type: *string

The search index name.

MaxResults

Type: *int64

The maximum number of results to return at one time.

NextToken

Type: *string

The token used to get the next set of results, or null if there are no additional results.

QueryString

Type: *string

The search query string.

QueryString is a required field

QueryVersion

Type: *string

The query version.

Method

GoString

func (s SearchIndexInput) GoString() string

GoString returns the string representation

SetIndexName

func (s *SearchIndexInput) SetIndexName(v string) *SearchIndexInput

SetIndexName sets the IndexName field's value.

SetMaxResults

func (s *SearchIndexInput) SetMaxResults(v int64) *SearchIndexInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *SearchIndexInput) SetNextToken(v string) *SearchIndexInput

SetNextToken sets the NextToken field's value.

SetQueryString

func (s *SearchIndexInput) SetQueryString(v string) *SearchIndexInput

SetQueryString sets the QueryString field's value.

SetQueryVersion

func (s *SearchIndexInput) SetQueryVersion(v string) *SearchIndexInput

SetQueryVersion sets the QueryVersion field's value.

String

func (s SearchIndexInput) String() string

String returns the string representation

Validate

func (s *SearchIndexInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: