amazonka-connect-2.0: Amazon Connect Service 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.Connect.Types.StringCondition

Description

 
Synopsis

Documentation

data StringCondition Source #

A leaf node condition which can be used to specify a string condition.

The currently supported value for FieldName: name

See: newStringCondition smart constructor.

Constructors

StringCondition' 

Fields

Instances

Instances details
ToJSON StringCondition Source # 
Instance details

Defined in Amazonka.Connect.Types.StringCondition

Generic StringCondition Source # 
Instance details

Defined in Amazonka.Connect.Types.StringCondition

Associated Types

type Rep StringCondition :: Type -> Type #

Read StringCondition Source # 
Instance details

Defined in Amazonka.Connect.Types.StringCondition

Show StringCondition Source # 
Instance details

Defined in Amazonka.Connect.Types.StringCondition

NFData StringCondition Source # 
Instance details

Defined in Amazonka.Connect.Types.StringCondition

Methods

rnf :: StringCondition -> () #

Eq StringCondition Source # 
Instance details

Defined in Amazonka.Connect.Types.StringCondition

Hashable StringCondition Source # 
Instance details

Defined in Amazonka.Connect.Types.StringCondition

type Rep StringCondition Source # 
Instance details

Defined in Amazonka.Connect.Types.StringCondition

type Rep StringCondition = D1 ('MetaData "StringCondition" "Amazonka.Connect.Types.StringCondition" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "StringCondition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comparisonType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StringComparisonType)) :*: (S1 ('MetaSel ('Just "fieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newStringCondition :: StringCondition Source #

Create a value of StringCondition 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:comparisonType:StringCondition', stringCondition_comparisonType - The type of comparison to be made when evaluating the string condition.

$sel:fieldName:StringCondition', stringCondition_fieldName - The name of the field in the string condition.

$sel:value:StringCondition', stringCondition_value - The value of the string.

stringCondition_comparisonType :: Lens' StringCondition (Maybe StringComparisonType) Source #

The type of comparison to be made when evaluating the string condition.

stringCondition_fieldName :: Lens' StringCondition (Maybe Text) Source #

The name of the field in the string condition.