7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect/model/StringCondition.h>
10#include <aws/connect/model/ListCondition.h>
11#include <aws/connect/model/HierarchyGroupCondition.h>
54 template<
typename OrConditionsT = Aws::Vector<UserSearchCriteria>>
55 void SetOrConditions(OrConditionsT&& value) { m_orConditionsHasBeenSet =
true; m_orConditions = std::forward<OrConditionsT>(value); }
56 template<
typename OrConditionsT = Aws::Vector<UserSearchCriteria>>
58 template<
typename OrConditionsT = UserSearchCriteria>
59 UserSearchCriteria&
AddOrConditions(OrConditionsT&& value) { m_orConditionsHasBeenSet =
true; m_orConditions.emplace_back(std::forward<OrConditionsT>(value));
return *
this; }
69 template<
typename AndConditionsT = Aws::Vector<UserSearchCriteria>>
70 void SetAndConditions(AndConditionsT&& value) { m_andConditionsHasBeenSet =
true; m_andConditions = std::forward<AndConditionsT>(value); }
71 template<
typename AndConditionsT = Aws::Vector<UserSearchCriteria>>
73 template<
typename AndConditionsT = UserSearchCriteria>
74 UserSearchCriteria&
AddAndConditions(AndConditionsT&& value) { m_andConditionsHasBeenSet =
true; m_andConditions.emplace_back(std::forward<AndConditionsT>(value));
return *
this; }
87 template<
typename StringConditionT = StringCondition>
88 void SetStringCondition(StringConditionT&& value) { m_stringConditionHasBeenSet =
true; m_stringCondition = std::forward<StringConditionT>(value); }
89 template<
typename StringConditionT = StringCondition>
100 template<
typename ListConditionT = ListCondition>
101 void SetListCondition(ListConditionT&& value) { m_listConditionHasBeenSet =
true; m_listCondition = std::forward<ListConditionT>(value); }
102 template<
typename ListConditionT = ListCondition>
113 template<
typename HierarchyGroupConditionT = HierarchyGroupCondition>
114 void SetHierarchyGroupCondition(HierarchyGroupConditionT&& value) { m_hierarchyGroupConditionHasBeenSet =
true; m_hierarchyGroupCondition = std::forward<HierarchyGroupConditionT>(value); }
115 template<
typename HierarchyGroupConditionT = HierarchyGroupCondition>
121 bool m_orConditionsHasBeenSet =
false;
124 bool m_andConditionsHasBeenSet =
false;
127 bool m_stringConditionHasBeenSet =
false;
130 bool m_listConditionHasBeenSet =
false;
133 bool m_hierarchyGroupConditionHasBeenSet =
false;
UserSearchCriteria & WithHierarchyGroupCondition(HierarchyGroupConditionT &&value)
void SetListCondition(ListConditionT &&value)
const Aws::Vector< UserSearchCriteria > & GetOrConditions() const
void SetHierarchyGroupCondition(HierarchyGroupConditionT &&value)
const Aws::Vector< UserSearchCriteria > & GetAndConditions() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API UserSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
const ListCondition & GetListCondition() const
bool OrConditionsHasBeenSet() const
const HierarchyGroupCondition & GetHierarchyGroupCondition() const
void SetAndConditions(AndConditionsT &&value)
UserSearchCriteria & WithStringCondition(StringConditionT &&value)
UserSearchCriteria & WithOrConditions(OrConditionsT &&value)
UserSearchCriteria & WithAndConditions(AndConditionsT &&value)
bool AndConditionsHasBeenSet() const
UserSearchCriteria & AddAndConditions(AndConditionsT &&value)
UserSearchCriteria & AddOrConditions(OrConditionsT &&value)
bool ListConditionHasBeenSet() const
UserSearchCriteria & WithListCondition(ListConditionT &&value)
void SetStringCondition(StringConditionT &&value)
bool HierarchyGroupConditionHasBeenSet() const
bool StringConditionHasBeenSet() const
AWS_CONNECT_API UserSearchCriteria()=default
AWS_CONNECT_API UserSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
void SetOrConditions(OrConditionsT &&value)
const StringCondition & GetStringCondition() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue