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.

QueryStringCacheKeys

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

type QueryStringCacheKeys struct { Items []*string `locationNameList:"Name" type:"list"` Quantity *int64 `type:"integer" required:"true"` }

Items

Type: []*string

(Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for caching for this cache behavior. If Quantity is 0, you can omit Items.

Quantity

Type: *int64

The number of whitelisted query string parameters for this cache behavior.

Quantity is a required field

Method

GoString

func (s QueryStringCacheKeys) GoString() string

GoString returns the string representation

SetItems

func (s *QueryStringCacheKeys) SetItems(v []*string) *QueryStringCacheKeys

SetItems sets the Items field's value.

SetQuantity

func (s *QueryStringCacheKeys) SetQuantity(v int64) *QueryStringCacheKeys

SetQuantity sets the Quantity field's value.

String

func (s QueryStringCacheKeys) String() string

String returns the string representation

Validate

func (s *QueryStringCacheKeys) Validate() error

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

On this page: