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.

Bucket

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

type Bucket struct { Count *int64 `locationName:"count" type:"long"` Value *string `locationName:"value" type:"string"` }

A container for facet information.

Count

Type: *int64

The number of hits that contain the facet value in the specified facet field.

Value

Type: *string

The facet value being counted.

Method

GoString

func (s Bucket) GoString() string

GoString returns the string representation

SetCount

func (s *Bucket) SetCount(v int64) *Bucket

SetCount sets the Count field's value.

SetValue

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

SetValue sets the Value field's value.

String

func (s Bucket) String() string

String returns the string representation

On this page: