AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueueSearchCriteria.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/SearchableQueueType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_CONNECT_API QueueSearchCriteria();
43 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::Vector<QueueSearchCriteria>& GetOrConditions() const{ return m_orConditions; }
52 inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
53 inline void SetOrConditions(const Aws::Vector<QueueSearchCriteria>& value) { m_orConditionsHasBeenSet = true; m_orConditions = value; }
54 inline void SetOrConditions(Aws::Vector<QueueSearchCriteria>&& value) { m_orConditionsHasBeenSet = true; m_orConditions = std::move(value); }
56 inline QueueSearchCriteria& WithOrConditions(Aws::Vector<QueueSearchCriteria>&& value) { SetOrConditions(std::move(value)); return *this;}
57 inline QueueSearchCriteria& AddOrConditions(const QueueSearchCriteria& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(value); return *this; }
58 inline QueueSearchCriteria& AddOrConditions(QueueSearchCriteria&& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(std::move(value)); return *this; }
60
62
66 inline const Aws::Vector<QueueSearchCriteria>& GetAndConditions() const{ return m_andConditions; }
67 inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
68 inline void SetAndConditions(const Aws::Vector<QueueSearchCriteria>& value) { m_andConditionsHasBeenSet = true; m_andConditions = value; }
69 inline void SetAndConditions(Aws::Vector<QueueSearchCriteria>&& value) { m_andConditionsHasBeenSet = true; m_andConditions = std::move(value); }
72 inline QueueSearchCriteria& AddAndConditions(const QueueSearchCriteria& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(value); return *this; }
73 inline QueueSearchCriteria& AddAndConditions(QueueSearchCriteria&& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(std::move(value)); return *this; }
75
77
83 inline const StringCondition& GetStringCondition() const{ return m_stringCondition; }
84 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
85 inline void SetStringCondition(const StringCondition& value) { m_stringConditionHasBeenSet = true; m_stringCondition = value; }
86 inline void SetStringCondition(StringCondition&& value) { m_stringConditionHasBeenSet = true; m_stringCondition = std::move(value); }
87 inline QueueSearchCriteria& WithStringCondition(const StringCondition& value) { SetStringCondition(value); return *this;}
88 inline QueueSearchCriteria& WithStringCondition(StringCondition&& value) { SetStringCondition(std::move(value)); return *this;}
90
92
95 inline const SearchableQueueType& GetQueueTypeCondition() const{ return m_queueTypeCondition; }
96 inline bool QueueTypeConditionHasBeenSet() const { return m_queueTypeConditionHasBeenSet; }
97 inline void SetQueueTypeCondition(const SearchableQueueType& value) { m_queueTypeConditionHasBeenSet = true; m_queueTypeCondition = value; }
98 inline void SetQueueTypeCondition(SearchableQueueType&& value) { m_queueTypeConditionHasBeenSet = true; m_queueTypeCondition = std::move(value); }
100 inline QueueSearchCriteria& WithQueueTypeCondition(SearchableQueueType&& value) { SetQueueTypeCondition(std::move(value)); return *this;}
102 private:
103
105 bool m_orConditionsHasBeenSet = false;
106
107 Aws::Vector<QueueSearchCriteria> m_andConditions;
108 bool m_andConditionsHasBeenSet = false;
109
110 StringCondition m_stringCondition;
111 bool m_stringConditionHasBeenSet = false;
112
113 SearchableQueueType m_queueTypeCondition;
114 bool m_queueTypeConditionHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Connect
119} // namespace Aws
QueueSearchCriteria & WithQueueTypeCondition(const SearchableQueueType &value)
QueueSearchCriteria & AddOrConditions(const QueueSearchCriteria &value)
QueueSearchCriteria & WithOrConditions(Aws::Vector< QueueSearchCriteria > &&value)
void SetStringCondition(StringCondition &&value)
const Aws::Vector< QueueSearchCriteria > & GetOrConditions() const
const Aws::Vector< QueueSearchCriteria > & GetAndConditions() const
void SetQueueTypeCondition(SearchableQueueType &&value)
QueueSearchCriteria & AddAndConditions(const QueueSearchCriteria &value)
void SetOrConditions(const Aws::Vector< QueueSearchCriteria > &value)
void SetStringCondition(const StringCondition &value)
QueueSearchCriteria & AddAndConditions(QueueSearchCriteria &&value)
QueueSearchCriteria & WithQueueTypeCondition(SearchableQueueType &&value)
QueueSearchCriteria & WithStringCondition(StringCondition &&value)
AWS_CONNECT_API QueueSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
QueueSearchCriteria & AddOrConditions(QueueSearchCriteria &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const StringCondition & GetStringCondition() const
void SetAndConditions(Aws::Vector< QueueSearchCriteria > &&value)
QueueSearchCriteria & WithStringCondition(const StringCondition &value)
void SetQueueTypeCondition(const SearchableQueueType &value)
QueueSearchCriteria & WithOrConditions(const Aws::Vector< QueueSearchCriteria > &value)
void SetAndConditions(const Aws::Vector< QueueSearchCriteria > &value)
AWS_CONNECT_API QueueSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
const SearchableQueueType & GetQueueTypeCondition() const
void SetOrConditions(Aws::Vector< QueueSearchCriteria > &&value)
QueueSearchCriteria & WithAndConditions(const Aws::Vector< QueueSearchCriteria > &value)
QueueSearchCriteria & WithAndConditions(Aws::Vector< QueueSearchCriteria > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue