AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ContactFlowSearchCriteria.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ContactFlowState.h>
9#include <aws/connect/model/ContactFlowStatus.h>
10#include <aws/connect/model/ContactFlowType.h>
11#include <aws/connect/model/StringCondition.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect {
24namespace Model {
25
32 public:
33 AWS_CONNECT_API ContactFlowSearchCriteria() = default;
36 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::Vector<ContactFlowSearchCriteria>& GetOrConditions() const { return m_orConditions; }
44 inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
45 template <typename OrConditionsT = Aws::Vector<ContactFlowSearchCriteria>>
46 void SetOrConditions(OrConditionsT&& value) {
47 m_orConditionsHasBeenSet = true;
48 m_orConditions = std::forward<OrConditionsT>(value);
49 }
50 template <typename OrConditionsT = Aws::Vector<ContactFlowSearchCriteria>>
52 SetOrConditions(std::forward<OrConditionsT>(value));
53 return *this;
54 }
55 template <typename OrConditionsT = ContactFlowSearchCriteria>
57 m_orConditionsHasBeenSet = true;
58 m_orConditions.emplace_back(std::forward<OrConditionsT>(value));
59 return *this;
60 }
62
64
68 inline const Aws::Vector<ContactFlowSearchCriteria>& GetAndConditions() const { return m_andConditions; }
69 inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
70 template <typename AndConditionsT = Aws::Vector<ContactFlowSearchCriteria>>
71 void SetAndConditions(AndConditionsT&& value) {
72 m_andConditionsHasBeenSet = true;
73 m_andConditions = std::forward<AndConditionsT>(value);
74 }
75 template <typename AndConditionsT = Aws::Vector<ContactFlowSearchCriteria>>
77 SetAndConditions(std::forward<AndConditionsT>(value));
78 return *this;
79 }
80 template <typename AndConditionsT = ContactFlowSearchCriteria>
82 m_andConditionsHasBeenSet = true;
83 m_andConditions.emplace_back(std::forward<AndConditionsT>(value));
84 return *this;
85 }
87
89
90 inline const StringCondition& GetStringCondition() const { return m_stringCondition; }
91 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
92 template <typename StringConditionT = StringCondition>
93 void SetStringCondition(StringConditionT&& value) {
94 m_stringConditionHasBeenSet = true;
95 m_stringCondition = std::forward<StringConditionT>(value);
96 }
97 template <typename StringConditionT = StringCondition>
99 SetStringCondition(std::forward<StringConditionT>(value));
100 return *this;
101 }
103
105
108 inline ContactFlowType GetTypeCondition() const { return m_typeCondition; }
109 inline bool TypeConditionHasBeenSet() const { return m_typeConditionHasBeenSet; }
111 m_typeConditionHasBeenSet = true;
112 m_typeCondition = value;
113 }
115 SetTypeCondition(value);
116 return *this;
117 }
119
121
124 inline ContactFlowState GetStateCondition() const { return m_stateCondition; }
125 inline bool StateConditionHasBeenSet() const { return m_stateConditionHasBeenSet; }
127 m_stateConditionHasBeenSet = true;
128 m_stateCondition = value;
129 }
131 SetStateCondition(value);
132 return *this;
133 }
135
137
140 inline ContactFlowStatus GetStatusCondition() const { return m_statusCondition; }
141 inline bool StatusConditionHasBeenSet() const { return m_statusConditionHasBeenSet; }
143 m_statusConditionHasBeenSet = true;
144 m_statusCondition = value;
145 }
147 SetStatusCondition(value);
148 return *this;
149 }
151 private:
153
155
156 StringCondition m_stringCondition;
157
159
161
163 bool m_orConditionsHasBeenSet = false;
164 bool m_andConditionsHasBeenSet = false;
165 bool m_stringConditionHasBeenSet = false;
166 bool m_typeConditionHasBeenSet = false;
167 bool m_stateConditionHasBeenSet = false;
168 bool m_statusConditionHasBeenSet = false;
169};
170
171} // namespace Model
172} // namespace Connect
173} // namespace Aws
ContactFlowSearchCriteria & AddOrConditions(OrConditionsT &&value)
AWS_CONNECT_API ContactFlowSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactFlowSearchCriteria & WithOrConditions(OrConditionsT &&value)
AWS_CONNECT_API ContactFlowSearchCriteria()=default
AWS_CONNECT_API ContactFlowSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
ContactFlowSearchCriteria & WithStatusCondition(ContactFlowStatus value)
ContactFlowSearchCriteria & WithAndConditions(AndConditionsT &&value)
ContactFlowSearchCriteria & WithStringCondition(StringConditionT &&value)
ContactFlowSearchCriteria & WithStateCondition(ContactFlowState value)
const Aws::Vector< ContactFlowSearchCriteria > & GetAndConditions() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ContactFlowSearchCriteria > & GetOrConditions() const
ContactFlowSearchCriteria & AddAndConditions(AndConditionsT &&value)
ContactFlowSearchCriteria & WithTypeCondition(ContactFlowType value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue