Class: Aws::PinpointSMSVoiceV2::Types::FieldCondition

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpointsmsvoicev2/types.rb

Overview

A single condition on a dependency field's value. Conditions are combined into a ConditionalRule and evaluated together with logical AND.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#depends_on_field_pathString

The path of the field whose value determines this condition, for example companyInfo.businessType.

Returns:

  • (String)


4403
4404
4405
4406
4407
4408
4409
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4403

class FieldCondition < Struct.new(
  :depends_on_field_path,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#operatorString

The comparison operator to apply between the dependency field's value and Values. Valid values are EQUALS, NOT_EQUALS, IN, NOT_IN, HAS_VALUE, and NO_VALUE. Operators not in this list are treated as evaluating to false, which causes the containing rule to be skipped. This allows forward-compatible additions of new operators without breaking older SDK clients.

Returns:

  • (String)


4403
4404
4405
4406
4407
4408
4409
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4403

class FieldCondition < Struct.new(
  :depends_on_field_path,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

The values to compare the dependency field's value against. Required for the EQUALS, NOT_EQUALS, IN, and NOT_IN operators. Omitted for HAS_VALUE and NO_VALUE, which test only presence.

Returns:

  • (Array<String>)


4403
4404
4405
4406
4407
4408
4409
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4403

class FieldCondition < Struct.new(
  :depends_on_field_path,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end