AWS SDK for C++

AWS SDK for C++ Version 1.11.691

Loading...
Searching...
No Matches
UserHierarchyGroupSearchCriteria.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/StringCondition.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API UserHierarchyGroupSearchCriteria() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<UserHierarchyGroupSearchCriteria>& GetOrConditions() const { return m_orConditions; }
42 inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
43 template <typename OrConditionsT = Aws::Vector<UserHierarchyGroupSearchCriteria>>
44 void SetOrConditions(OrConditionsT&& value) {
45 m_orConditionsHasBeenSet = true;
46 m_orConditions = std::forward<OrConditionsT>(value);
47 }
48 template <typename OrConditionsT = Aws::Vector<UserHierarchyGroupSearchCriteria>>
50 SetOrConditions(std::forward<OrConditionsT>(value));
51 return *this;
52 }
53 template <typename OrConditionsT = UserHierarchyGroupSearchCriteria>
55 m_orConditionsHasBeenSet = true;
56 m_orConditions.emplace_back(std::forward<OrConditionsT>(value));
57 return *this;
58 }
60
62
66 inline const Aws::Vector<UserHierarchyGroupSearchCriteria>& GetAndConditions() const { return m_andConditions; }
67 inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
68 template <typename AndConditionsT = Aws::Vector<UserHierarchyGroupSearchCriteria>>
69 void SetAndConditions(AndConditionsT&& value) {
70 m_andConditionsHasBeenSet = true;
71 m_andConditions = std::forward<AndConditionsT>(value);
72 }
73 template <typename AndConditionsT = Aws::Vector<UserHierarchyGroupSearchCriteria>>
75 SetAndConditions(std::forward<AndConditionsT>(value));
76 return *this;
77 }
78 template <typename AndConditionsT = UserHierarchyGroupSearchCriteria>
80 m_andConditionsHasBeenSet = true;
81 m_andConditions.emplace_back(std::forward<AndConditionsT>(value));
82 return *this;
83 }
85
87
93 inline const StringCondition& GetStringCondition() const { return m_stringCondition; }
94 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
95 template <typename StringConditionT = StringCondition>
96 void SetStringCondition(StringConditionT&& value) {
97 m_stringConditionHasBeenSet = true;
98 m_stringCondition = std::forward<StringConditionT>(value);
99 }
100 template <typename StringConditionT = StringCondition>
102 SetStringCondition(std::forward<StringConditionT>(value));
103 return *this;
104 }
106 private:
108 bool m_orConditionsHasBeenSet = false;
109
111 bool m_andConditionsHasBeenSet = false;
112
113 StringCondition m_stringCondition;
114 bool m_stringConditionHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace Connect
119} // namespace Aws
AWS_CONNECT_API UserHierarchyGroupSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
UserHierarchyGroupSearchCriteria & AddAndConditions(AndConditionsT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
UserHierarchyGroupSearchCriteria & WithOrConditions(OrConditionsT &&value)
AWS_CONNECT_API UserHierarchyGroupSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< UserHierarchyGroupSearchCriteria > & GetAndConditions() const
UserHierarchyGroupSearchCriteria & AddOrConditions(OrConditionsT &&value)
UserHierarchyGroupSearchCriteria & WithStringCondition(StringConditionT &&value)
const Aws::Vector< UserHierarchyGroupSearchCriteria > & GetOrConditions() const
UserHierarchyGroupSearchCriteria & WithAndConditions(AndConditionsT &&value)
AWS_CONNECT_API UserHierarchyGroupSearchCriteria()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue