7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connectcases/model/BooleanCondition.h>
52 template<
typename ConditionsT = Aws::Vector<BooleanCondition>>
53 void SetConditions(ConditionsT&& value) { m_conditionsHasBeenSet =
true; m_conditions = std::forward<ConditionsT>(value); }
54 template<
typename ConditionsT = Aws::Vector<BooleanCondition>>
56 template<
typename ConditionsT = BooleanCondition>
57 RequiredCaseRule&
AddConditions(ConditionsT&& value) { m_conditionsHasBeenSet =
true; m_conditions.emplace_back(std::forward<ConditionsT>(value));
return *
this; }
67 inline void SetDefaultValue(
bool value) { m_defaultValueHasBeenSet =
true; m_defaultValue = value; }
73 bool m_conditionsHasBeenSet =
false;
75 bool m_defaultValue{
false};
76 bool m_defaultValueHasBeenSet =
false;
bool GetDefaultValue() const
bool ConditionsHasBeenSet() const
void SetDefaultValue(bool value)
bool DefaultValueHasBeenSet() const
AWS_CONNECTCASES_API RequiredCaseRule(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCASES_API RequiredCaseRule()=default
RequiredCaseRule & WithDefaultValue(bool value)
const Aws::Vector< BooleanCondition > & GetConditions() const
RequiredCaseRule & AddConditions(ConditionsT &&value)
void SetConditions(ConditionsT &&value)
AWS_CONNECTCASES_API RequiredCaseRule & operator=(Aws::Utils::Json::JsonView jsonValue)
RequiredCaseRule & WithConditions(ConditionsT &&value)
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue