amazonka-connectcases-2.0: Amazon Connect Cases SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ConnectCases.Types.FieldValueUnion

Description

 
Synopsis

Documentation

data FieldValueUnion Source #

Object to store union of Field values.

See: newFieldValueUnion smart constructor.

Constructors

FieldValueUnion' 

Fields

Instances

Instances details
FromJSON FieldValueUnion Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldValueUnion

ToJSON FieldValueUnion Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldValueUnion

Generic FieldValueUnion Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldValueUnion

Associated Types

type Rep FieldValueUnion :: Type -> Type #

Read FieldValueUnion Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldValueUnion

Show FieldValueUnion Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldValueUnion

NFData FieldValueUnion Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldValueUnion

Methods

rnf :: FieldValueUnion -> () #

Eq FieldValueUnion Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldValueUnion

Hashable FieldValueUnion Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldValueUnion

type Rep FieldValueUnion Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldValueUnion

type Rep FieldValueUnion = D1 ('MetaData "FieldValueUnion" "Amazonka.ConnectCases.Types.FieldValueUnion" "amazonka-connectcases-2.0-9RA5jvVYRVL9KmD8hfMfHn" 'False) (C1 ('MetaCons "FieldValueUnion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "booleanValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "doubleValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newFieldValueUnion :: FieldValueUnion Source #

Create a value of FieldValueUnion with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:booleanValue:FieldValueUnion', fieldValueUnion_booleanValue - Can be either null, or have a Boolean value type. Only one value can be provided.

$sel:doubleValue:FieldValueUnion', fieldValueUnion_doubleValue - Can be either null, or have a Double number value type. Only one value can be provided.

$sel:stringValue:FieldValueUnion', fieldValueUnion_stringValue - String value type.

fieldValueUnion_booleanValue :: Lens' FieldValueUnion (Maybe Bool) Source #

Can be either null, or have a Boolean value type. Only one value can be provided.

fieldValueUnion_doubleValue :: Lens' FieldValueUnion (Maybe Double) Source #

Can be either null, or have a Double number value type. Only one value can be provided.