AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContactFlowSearchCriteria.h
1
6#pragma once
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/ContactFlowType.h>
11#include <aws/connect/model/ContactFlowState.h>
12#include <aws/connect/model/ContactFlowStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Connect
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CONNECT_API ContactFlowSearchCriteria();
42 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<ContactFlowSearchCriteria>& GetOrConditions() const{ return m_orConditions; }
51 inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
52 inline void SetOrConditions(const Aws::Vector<ContactFlowSearchCriteria>& value) { m_orConditionsHasBeenSet = true; m_orConditions = value; }
53 inline void SetOrConditions(Aws::Vector<ContactFlowSearchCriteria>&& value) { m_orConditionsHasBeenSet = true; m_orConditions = std::move(value); }
56 inline ContactFlowSearchCriteria& AddOrConditions(const ContactFlowSearchCriteria& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(value); return *this; }
57 inline ContactFlowSearchCriteria& AddOrConditions(ContactFlowSearchCriteria&& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(std::move(value)); return *this; }
59
61
65 inline const Aws::Vector<ContactFlowSearchCriteria>& GetAndConditions() const{ return m_andConditions; }
66 inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
67 inline void SetAndConditions(const Aws::Vector<ContactFlowSearchCriteria>& value) { m_andConditionsHasBeenSet = true; m_andConditions = value; }
68 inline void SetAndConditions(Aws::Vector<ContactFlowSearchCriteria>&& value) { m_andConditionsHasBeenSet = true; m_andConditions = std::move(value); }
71 inline ContactFlowSearchCriteria& AddAndConditions(const ContactFlowSearchCriteria& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(value); return *this; }
72 inline ContactFlowSearchCriteria& AddAndConditions(ContactFlowSearchCriteria&& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(std::move(value)); return *this; }
74
76
77 inline const StringCondition& GetStringCondition() const{ return m_stringCondition; }
78 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
79 inline void SetStringCondition(const StringCondition& value) { m_stringConditionHasBeenSet = true; m_stringCondition = value; }
80 inline void SetStringCondition(StringCondition&& value) { m_stringConditionHasBeenSet = true; m_stringCondition = std::move(value); }
82 inline ContactFlowSearchCriteria& WithStringCondition(StringCondition&& value) { SetStringCondition(std::move(value)); return *this;}
84
86
89 inline const ContactFlowType& GetTypeCondition() const{ return m_typeCondition; }
90 inline bool TypeConditionHasBeenSet() const { return m_typeConditionHasBeenSet; }
91 inline void SetTypeCondition(const ContactFlowType& value) { m_typeConditionHasBeenSet = true; m_typeCondition = value; }
92 inline void SetTypeCondition(ContactFlowType&& value) { m_typeConditionHasBeenSet = true; m_typeCondition = std::move(value); }
93 inline ContactFlowSearchCriteria& WithTypeCondition(const ContactFlowType& value) { SetTypeCondition(value); return *this;}
94 inline ContactFlowSearchCriteria& WithTypeCondition(ContactFlowType&& value) { SetTypeCondition(std::move(value)); return *this;}
96
98
101 inline const ContactFlowState& GetStateCondition() const{ return m_stateCondition; }
102 inline bool StateConditionHasBeenSet() const { return m_stateConditionHasBeenSet; }
103 inline void SetStateCondition(const ContactFlowState& value) { m_stateConditionHasBeenSet = true; m_stateCondition = value; }
104 inline void SetStateCondition(ContactFlowState&& value) { m_stateConditionHasBeenSet = true; m_stateCondition = std::move(value); }
106 inline ContactFlowSearchCriteria& WithStateCondition(ContactFlowState&& value) { SetStateCondition(std::move(value)); return *this;}
108
110
113 inline const ContactFlowStatus& GetStatusCondition() const{ return m_statusCondition; }
114 inline bool StatusConditionHasBeenSet() const { return m_statusConditionHasBeenSet; }
115 inline void SetStatusCondition(const ContactFlowStatus& value) { m_statusConditionHasBeenSet = true; m_statusCondition = value; }
116 inline void SetStatusCondition(ContactFlowStatus&& value) { m_statusConditionHasBeenSet = true; m_statusCondition = std::move(value); }
118 inline ContactFlowSearchCriteria& WithStatusCondition(ContactFlowStatus&& value) { SetStatusCondition(std::move(value)); return *this;}
120 private:
121
123 bool m_orConditionsHasBeenSet = false;
124
126 bool m_andConditionsHasBeenSet = false;
127
128 StringCondition m_stringCondition;
129 bool m_stringConditionHasBeenSet = false;
130
131 ContactFlowType m_typeCondition;
132 bool m_typeConditionHasBeenSet = false;
133
134 ContactFlowState m_stateCondition;
135 bool m_stateConditionHasBeenSet = false;
136
137 ContactFlowStatus m_statusCondition;
138 bool m_statusConditionHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Connect
143} // namespace Aws
ContactFlowSearchCriteria & WithStateCondition(const ContactFlowState &value)
void SetStatusCondition(const ContactFlowStatus &value)
ContactFlowSearchCriteria & WithOrConditions(Aws::Vector< ContactFlowSearchCriteria > &&value)
void SetOrConditions(const Aws::Vector< ContactFlowSearchCriteria > &value)
void SetAndConditions(const Aws::Vector< ContactFlowSearchCriteria > &value)
ContactFlowSearchCriteria & WithStatusCondition(ContactFlowStatus &&value)
AWS_CONNECT_API ContactFlowSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactFlowSearchCriteria & WithAndConditions(Aws::Vector< ContactFlowSearchCriteria > &&value)
ContactFlowSearchCriteria & AddOrConditions(ContactFlowSearchCriteria &&value)
ContactFlowSearchCriteria & AddAndConditions(ContactFlowSearchCriteria &&value)
ContactFlowSearchCriteria & WithStatusCondition(const ContactFlowStatus &value)
AWS_CONNECT_API ContactFlowSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
ContactFlowSearchCriteria & WithOrConditions(const Aws::Vector< ContactFlowSearchCriteria > &value)
void SetStateCondition(const ContactFlowState &value)
void SetStringCondition(const StringCondition &value)
ContactFlowSearchCriteria & WithStringCondition(StringCondition &&value)
ContactFlowSearchCriteria & WithTypeCondition(ContactFlowType &&value)
void SetAndConditions(Aws::Vector< ContactFlowSearchCriteria > &&value)
void SetOrConditions(Aws::Vector< ContactFlowSearchCriteria > &&value)
const Aws::Vector< ContactFlowSearchCriteria > & GetAndConditions() const
ContactFlowSearchCriteria & AddAndConditions(const ContactFlowSearchCriteria &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ContactFlowSearchCriteria > & GetOrConditions() const
ContactFlowSearchCriteria & WithAndConditions(const Aws::Vector< ContactFlowSearchCriteria > &value)
ContactFlowSearchCriteria & WithTypeCondition(const ContactFlowType &value)
ContactFlowSearchCriteria & AddOrConditions(const ContactFlowSearchCriteria &value)
ContactFlowSearchCriteria & WithStringCondition(const StringCondition &value)
ContactFlowSearchCriteria & WithStateCondition(ContactFlowState &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue