Struct: aws.Ternary

import "../ibm-cos-sdk-go-v2/aws"

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Method Summary collapse

Method Details

func (t Ternary) Bool() bool

Bool returns true if the value is TrueTernary, false otherwise.



24
25
26
// File 'aws/types.go', line 24

func (t Ternary) Bool() bool { return t == TrueTernary }

func (t Ternary) String() string



10
11
12
13
14
15
16
17
18
19
20
21
// File 'aws/types.go', line 10

func (t Ternary) String() string { switch t { case UnknownTernary: return "unknown" case FalseTernary: return "false" case TrueTernary: return "true" default: return fmt.Sprintf("unknown value, %d", int(t)) } }