AWS SDK for C++

AWS SDK for C++ Version 1.11.611

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() = default;
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 template<typename OrConditionsT = Aws::Vector<QueueSearchCriteria>>
54 void SetOrConditions(OrConditionsT&& value) { m_orConditionsHasBeenSet = true; m_orConditions = std::forward<OrConditionsT>(value); }
55 template<typename OrConditionsT = Aws::Vector<QueueSearchCriteria>>
56 QueueSearchCriteria& WithOrConditions(OrConditionsT&& value) { SetOrConditions(std::forward<OrConditionsT>(value)); return *this;}
57 template<typename OrConditionsT = QueueSearchCriteria>
58 QueueSearchCriteria& AddOrConditions(OrConditionsT&& value) { m_orConditionsHasBeenSet = true; m_orConditions.emplace_back(std::forward<OrConditionsT>(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 template<typename AndConditionsT = Aws::Vector<QueueSearchCriteria>>
69 void SetAndConditions(AndConditionsT&& value) { m_andConditionsHasBeenSet = true; m_andConditions = std::forward<AndConditionsT>(value); }
70 template<typename AndConditionsT = Aws::Vector<QueueSearchCriteria>>
71 QueueSearchCriteria& WithAndConditions(AndConditionsT&& value) { SetAndConditions(std::forward<AndConditionsT>(value)); return *this;}
72 template<typename AndConditionsT = QueueSearchCriteria>
73 QueueSearchCriteria& AddAndConditions(AndConditionsT&& value) { m_andConditionsHasBeenSet = true; m_andConditions.emplace_back(std::forward<AndConditionsT>(value)); return *this; }
75
77
83 inline const StringCondition& GetStringCondition() const { return m_stringCondition; }
84 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
85 template<typename StringConditionT = StringCondition>
86 void SetStringCondition(StringConditionT&& value) { m_stringConditionHasBeenSet = true; m_stringCondition = std::forward<StringConditionT>(value); }
87 template<typename StringConditionT = StringCondition>
88 QueueSearchCriteria& WithStringCondition(StringConditionT&& value) { SetStringCondition(std::forward<StringConditionT>(value)); return *this;}
90
92
95 inline SearchableQueueType GetQueueTypeCondition() const { return m_queueTypeCondition; }
96 inline bool QueueTypeConditionHasBeenSet() const { return m_queueTypeConditionHasBeenSet; }
97 inline void SetQueueTypeCondition(SearchableQueueType value) { m_queueTypeConditionHasBeenSet = true; m_queueTypeCondition = value; }
100 private:
101
103 bool m_orConditionsHasBeenSet = false;
104
105 Aws::Vector<QueueSearchCriteria> m_andConditions;
106 bool m_andConditionsHasBeenSet = false;
107
108 StringCondition m_stringCondition;
109 bool m_stringConditionHasBeenSet = false;
110
112 bool m_queueTypeConditionHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Connect
117} // namespace Aws
const Aws::Vector< QueueSearchCriteria > & GetOrConditions() const
QueueSearchCriteria & WithStringCondition(StringConditionT &&value)
void SetQueueTypeCondition(SearchableQueueType value)
const Aws::Vector< QueueSearchCriteria > & GetAndConditions() const
AWS_CONNECT_API QueueSearchCriteria()=default
QueueSearchCriteria & WithOrConditions(OrConditionsT &&value)
SearchableQueueType GetQueueTypeCondition() const
AWS_CONNECT_API QueueSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const StringCondition & GetStringCondition() const
void SetOrConditions(OrConditionsT &&value)
QueueSearchCriteria & AddAndConditions(AndConditionsT &&value)
QueueSearchCriteria & WithQueueTypeCondition(SearchableQueueType value)
void SetAndConditions(AndConditionsT &&value)
AWS_CONNECT_API QueueSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStringCondition(StringConditionT &&value)
QueueSearchCriteria & WithAndConditions(AndConditionsT &&value)
QueueSearchCriteria & AddOrConditions(OrConditionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue