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.

Sunglasses

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

type Sunglasses struct { Confidence *float64 `type:"float"` Value *bool `type:"boolean"` }

Indicates whether or not the face is wearing sunglasses, and the confidence level in the determination.

Confidence

Type: *float64

Level of confidence in the determination.

Value

Type: *bool

Boolean value that indicates whether the face is wearing sunglasses or not.

Method

GoString

func (s Sunglasses) GoString() string

GoString returns the string representation

SetConfidence

func (s *Sunglasses) SetConfidence(v float64) *Sunglasses

SetConfidence sets the Confidence field's value.

SetValue

func (s *Sunglasses) SetValue(v bool) *Sunglasses

SetValue sets the Value field's value.

String

func (s Sunglasses) String() string

String returns the string representation

On this page: