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.

ComplianceStringFilter

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

type ComplianceStringFilter struct { Key *string `min:"1" type:"string"` Type *string `type:"string" enum:"ComplianceQueryOperatorType"` Values []*string `min:"1" type:"list"` }

One or more filters. Use a filter to return a more specific list of results.

Key

Type: *string

The name of the filter.

Type

Type: *string

The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, LessThan, or GreaterThan.

Values

Type: []*string

The value for which to search.

Method

GoString

func (s ComplianceStringFilter) GoString() string

GoString returns the string representation

SetKey

func (s *ComplianceStringFilter) SetKey(v string) *ComplianceStringFilter

SetKey sets the Key field's value.

SetType

func (s *ComplianceStringFilter) SetType(v string) *ComplianceStringFilter

SetType sets the Type field's value.

SetValues

func (s *ComplianceStringFilter) SetValues(v []*string) *ComplianceStringFilter

SetValues sets the Values field's value.

String

func (s ComplianceStringFilter) String() string

String returns the string representation

Validate

func (s *ComplianceStringFilter) Validate() error

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

On this page: