

# BooleanCondition
<a name="API_connect-cases_BooleanCondition"></a>

Boolean condition for a rule. In the Amazon Connect admin website, case rules are known as *case field conditions*. For more information about case field conditions, see [Add case field conditions to a case template](https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html).

## Contents
<a name="API_connect-cases_BooleanCondition_Contents"></a>

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** andAll **   <a name="connect-Type-connect-cases_BooleanCondition-andAll"></a>
Combines multiple conditions with AND operator. All conditions must be true for the compound condition to be true.  
Type: [CompoundCondition](API_connect-cases_CompoundCondition.md) object  
Required: No

 ** equalTo **   <a name="connect-Type-connect-cases_BooleanCondition-equalTo"></a>
Tests that operandOne is equal to operandTwo.  
Type: [BooleanOperands](API_connect-cases_BooleanOperands.md) object  
Required: No

 ** notEqualTo **   <a name="connect-Type-connect-cases_BooleanCondition-notEqualTo"></a>
Tests that operandOne is not equal to operandTwo.  
Type: [BooleanOperands](API_connect-cases_BooleanOperands.md) object  
Required: No

 ** orAll **   <a name="connect-Type-connect-cases_BooleanCondition-orAll"></a>
Combines multiple conditions with OR operator. At least one condition must be true for the compound condition to be true.  
Type: [CompoundCondition](API_connect-cases_CompoundCondition.md) object  
Required: No

## See Also
<a name="API_connect-cases_BooleanCondition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/connectcases-2022-10-03/BooleanCondition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/connectcases-2022-10-03/BooleanCondition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/connectcases-2022-10-03/BooleanCondition) 