/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the conditions to evaluate for an activity in a journey, and how to
* evaluate those conditions.See Also:
AWS
* API Reference
The conditions to evaluate for the activity.
*/ inline const Aws::VectorThe conditions to evaluate for the activity.
*/ inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; } /** *The conditions to evaluate for the activity.
*/ inline void SetConditions(const Aws::VectorThe conditions to evaluate for the activity.
*/ inline void SetConditions(Aws::VectorThe conditions to evaluate for the activity.
*/ inline Condition& WithConditions(const Aws::VectorThe conditions to evaluate for the activity.
*/ inline Condition& WithConditions(Aws::VectorThe conditions to evaluate for the activity.
*/ inline Condition& AddConditions(const SimpleCondition& value) { m_conditionsHasBeenSet = true; m_conditions.push_back(value); return *this; } /** *The conditions to evaluate for the activity.
*/ inline Condition& AddConditions(SimpleCondition&& value) { m_conditionsHasBeenSet = true; m_conditions.push_back(std::move(value)); return *this; } /** *Specifies how to handle multiple conditions for the activity. For example, if * you specify two conditions for an activity, whether both or only one of the * conditions must be met for the activity to be performed.
*/ inline const Operator& GetOperator() const{ return m_operator; } /** *Specifies how to handle multiple conditions for the activity. For example, if * you specify two conditions for an activity, whether both or only one of the * conditions must be met for the activity to be performed.
*/ inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; } /** *Specifies how to handle multiple conditions for the activity. For example, if * you specify two conditions for an activity, whether both or only one of the * conditions must be met for the activity to be performed.
*/ inline void SetOperator(const Operator& value) { m_operatorHasBeenSet = true; m_operator = value; } /** *Specifies how to handle multiple conditions for the activity. For example, if * you specify two conditions for an activity, whether both or only one of the * conditions must be met for the activity to be performed.
*/ inline void SetOperator(Operator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); } /** *Specifies how to handle multiple conditions for the activity. For example, if * you specify two conditions for an activity, whether both or only one of the * conditions must be met for the activity to be performed.
*/ inline Condition& WithOperator(const Operator& value) { SetOperator(value); return *this;} /** *Specifies how to handle multiple conditions for the activity. For example, if * you specify two conditions for an activity, whether both or only one of the * conditions must be met for the activity to be performed.
*/ inline Condition& WithOperator(Operator&& value) { SetOperator(std::move(value)); return *this;} private: Aws::Vector