/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines the predicate of the trigger, which determines when it
* fires.See Also:
AWS API
* Reference
An optional field if only one condition is listed. If multiple conditions are * listed, then this field is required.
*/ inline const Logical& GetLogical() const{ return m_logical; } /** *An optional field if only one condition is listed. If multiple conditions are * listed, then this field is required.
*/ inline bool LogicalHasBeenSet() const { return m_logicalHasBeenSet; } /** *An optional field if only one condition is listed. If multiple conditions are * listed, then this field is required.
*/ inline void SetLogical(const Logical& value) { m_logicalHasBeenSet = true; m_logical = value; } /** *An optional field if only one condition is listed. If multiple conditions are * listed, then this field is required.
*/ inline void SetLogical(Logical&& value) { m_logicalHasBeenSet = true; m_logical = std::move(value); } /** *An optional field if only one condition is listed. If multiple conditions are * listed, then this field is required.
*/ inline Predicate& WithLogical(const Logical& value) { SetLogical(value); return *this;} /** *An optional field if only one condition is listed. If multiple conditions are * listed, then this field is required.
*/ inline Predicate& WithLogical(Logical&& value) { SetLogical(std::move(value)); return *this;} /** *A list of the conditions that determine when the trigger will fire.
*/ inline const Aws::VectorA list of the conditions that determine when the trigger will fire.
*/ inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; } /** *A list of the conditions that determine when the trigger will fire.
*/ inline void SetConditions(const Aws::VectorA list of the conditions that determine when the trigger will fire.
*/ inline void SetConditions(Aws::VectorA list of the conditions that determine when the trigger will fire.
*/ inline Predicate& WithConditions(const Aws::VectorA list of the conditions that determine when the trigger will fire.
*/ inline Predicate& WithConditions(Aws::VectorA list of the conditions that determine when the trigger will fire.
*/ inline Predicate& AddConditions(const Condition& value) { m_conditionsHasBeenSet = true; m_conditions.push_back(value); return *this; } /** *A list of the conditions that determine when the trigger will fire.
*/ inline Predicate& AddConditions(Condition&& value) { m_conditionsHasBeenSet = true; m_conditions.push_back(std::move(value)); return *this; } private: Logical m_logical; bool m_logicalHasBeenSet = false; Aws::Vector