AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
QuickConnectSearchCriteria.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API QuickConnectSearchCriteria() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<QuickConnectSearchCriteria>& GetOrConditions() const { return m_orConditions; }
48 inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
49 template<typename OrConditionsT = Aws::Vector<QuickConnectSearchCriteria>>
50 void SetOrConditions(OrConditionsT&& value) { m_orConditionsHasBeenSet = true; m_orConditions = std::forward<OrConditionsT>(value); }
51 template<typename OrConditionsT = Aws::Vector<QuickConnectSearchCriteria>>
52 QuickConnectSearchCriteria& WithOrConditions(OrConditionsT&& value) { SetOrConditions(std::forward<OrConditionsT>(value)); return *this;}
53 template<typename OrConditionsT = QuickConnectSearchCriteria>
54 QuickConnectSearchCriteria& AddOrConditions(OrConditionsT&& value) { m_orConditionsHasBeenSet = true; m_orConditions.emplace_back(std::forward<OrConditionsT>(value)); return *this; }
56
58
62 inline const Aws::Vector<QuickConnectSearchCriteria>& GetAndConditions() const { return m_andConditions; }
63 inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
64 template<typename AndConditionsT = Aws::Vector<QuickConnectSearchCriteria>>
65 void SetAndConditions(AndConditionsT&& value) { m_andConditionsHasBeenSet = true; m_andConditions = std::forward<AndConditionsT>(value); }
66 template<typename AndConditionsT = Aws::Vector<QuickConnectSearchCriteria>>
67 QuickConnectSearchCriteria& WithAndConditions(AndConditionsT&& value) { SetAndConditions(std::forward<AndConditionsT>(value)); return *this;}
68 template<typename AndConditionsT = QuickConnectSearchCriteria>
69 QuickConnectSearchCriteria& AddAndConditions(AndConditionsT&& value) { m_andConditionsHasBeenSet = true; m_andConditions.emplace_back(std::forward<AndConditionsT>(value)); return *this; }
71
73
79 inline const StringCondition& GetStringCondition() const { return m_stringCondition; }
80 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
81 template<typename StringConditionT = StringCondition>
82 void SetStringCondition(StringConditionT&& value) { m_stringConditionHasBeenSet = true; m_stringCondition = std::forward<StringConditionT>(value); }
83 template<typename StringConditionT = StringCondition>
84 QuickConnectSearchCriteria& WithStringCondition(StringConditionT&& value) { SetStringCondition(std::forward<StringConditionT>(value)); return *this;}
86 private:
87
89 bool m_orConditionsHasBeenSet = false;
90
92 bool m_andConditionsHasBeenSet = false;
93
94 StringCondition m_stringCondition;
95 bool m_stringConditionHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Connect
100} // namespace Aws
QuickConnectSearchCriteria & AddAndConditions(AndConditionsT &&value)
const Aws::Vector< QuickConnectSearchCriteria > & GetAndConditions() const
const Aws::Vector< QuickConnectSearchCriteria > & GetOrConditions() const
QuickConnectSearchCriteria & WithAndConditions(AndConditionsT &&value)
AWS_CONNECT_API QuickConnectSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API QuickConnectSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
QuickConnectSearchCriteria & WithOrConditions(OrConditionsT &&value)
QuickConnectSearchCriteria & AddOrConditions(OrConditionsT &&value)
QuickConnectSearchCriteria & WithStringCondition(StringConditionT &&value)
AWS_CONNECT_API QuickConnectSearchCriteria()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue