7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/BooleanCondition.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace ConnectCases {
47 m_defaultValueHasBeenSet =
true;
48 m_defaultValue = value;
63 template <
typename ConditionsT = Aws::Vector<BooleanCondition>>
65 m_conditionsHasBeenSet =
true;
66 m_conditions = std::forward<ConditionsT>(value);
68 template <
typename ConditionsT = Aws::Vector<BooleanCondition>>
73 template <
typename ConditionsT = BooleanCondition>
75 m_conditionsHasBeenSet =
true;
76 m_conditions.emplace_back(std::forward<ConditionsT>(value));
81 bool m_defaultValue{
false};
84 bool m_defaultValueHasBeenSet =
false;
85 bool m_conditionsHasBeenSet =
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