7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/TargetListType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/connect/model/Condition.h>
61 template<
typename ConditionsT = Aws::Vector<Condition>>
62 void SetConditions(ConditionsT&& value) { m_conditionsHasBeenSet =
true; m_conditions = std::forward<ConditionsT>(value); }
63 template<
typename ConditionsT = Aws::Vector<Condition>>
65 template<
typename ConditionsT = Condition>
66 ListCondition&
AddConditions(ConditionsT&& value) { m_conditionsHasBeenSet =
true; m_conditions.emplace_back(std::forward<ConditionsT>(value));
return *
this; }
71 bool m_targetListTypeHasBeenSet =
false;
74 bool m_conditionsHasBeenSet =
false;
bool TargetListTypeHasBeenSet() const
bool ConditionsHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
TargetListType GetTargetListType() const
const Aws::Vector< Condition > & GetConditions() const
void SetTargetListType(TargetListType value)
void SetConditions(ConditionsT &&value)
AWS_CONNECT_API ListCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
ListCondition & WithConditions(ConditionsT &&value)
AWS_CONNECT_API ListCondition(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ListCondition()=default
ListCondition & AddConditions(ConditionsT &&value)
ListCondition & WithTargetListType(TargetListType value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue