AWS SDK for C++

AWS SDK for C++ Version 1.11.611

Loading...
Searching...
No Matches
RoutingProfileSearchCriteria.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
37 {
38 public:
39 AWS_CONNECT_API RoutingProfileSearchCriteria() = default;
42 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<RoutingProfileSearchCriteria>& GetOrConditions() const { return m_orConditions; }
51 inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
52 template<typename OrConditionsT = Aws::Vector<RoutingProfileSearchCriteria>>
53 void SetOrConditions(OrConditionsT&& value) { m_orConditionsHasBeenSet = true; m_orConditions = std::forward<OrConditionsT>(value); }
54 template<typename OrConditionsT = Aws::Vector<RoutingProfileSearchCriteria>>
55 RoutingProfileSearchCriteria& WithOrConditions(OrConditionsT&& value) { SetOrConditions(std::forward<OrConditionsT>(value)); return *this;}
56 template<typename OrConditionsT = RoutingProfileSearchCriteria>
57 RoutingProfileSearchCriteria& AddOrConditions(OrConditionsT&& value) { m_orConditionsHasBeenSet = true; m_orConditions.emplace_back(std::forward<OrConditionsT>(value)); return *this; }
59
61
65 inline const Aws::Vector<RoutingProfileSearchCriteria>& GetAndConditions() const { return m_andConditions; }
66 inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
67 template<typename AndConditionsT = Aws::Vector<RoutingProfileSearchCriteria>>
68 void SetAndConditions(AndConditionsT&& value) { m_andConditionsHasBeenSet = true; m_andConditions = std::forward<AndConditionsT>(value); }
69 template<typename AndConditionsT = Aws::Vector<RoutingProfileSearchCriteria>>
70 RoutingProfileSearchCriteria& WithAndConditions(AndConditionsT&& value) { SetAndConditions(std::forward<AndConditionsT>(value)); return *this;}
71 template<typename AndConditionsT = RoutingProfileSearchCriteria>
72 RoutingProfileSearchCriteria& AddAndConditions(AndConditionsT&& value) { m_andConditionsHasBeenSet = true; m_andConditions.emplace_back(std::forward<AndConditionsT>(value)); return *this; }
74
76
82 inline const StringCondition& GetStringCondition() const { return m_stringCondition; }
83 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
84 template<typename StringConditionT = StringCondition>
85 void SetStringCondition(StringConditionT&& value) { m_stringConditionHasBeenSet = true; m_stringCondition = std::forward<StringConditionT>(value); }
86 template<typename StringConditionT = StringCondition>
87 RoutingProfileSearchCriteria& WithStringCondition(StringConditionT&& value) { SetStringCondition(std::forward<StringConditionT>(value)); return *this;}
89 private:
90
92 bool m_orConditionsHasBeenSet = false;
93
95 bool m_andConditionsHasBeenSet = false;
96
97 StringCondition m_stringCondition;
98 bool m_stringConditionHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Connect
103} // namespace Aws
const Aws::Vector< RoutingProfileSearchCriteria > & GetAndConditions() const
AWS_CONNECT_API RoutingProfileSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutingProfileSearchCriteria & WithAndConditions(AndConditionsT &&value)
RoutingProfileSearchCriteria & AddOrConditions(OrConditionsT &&value)
AWS_CONNECT_API RoutingProfileSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API RoutingProfileSearchCriteria()=default
const Aws::Vector< RoutingProfileSearchCriteria > & GetOrConditions() const
RoutingProfileSearchCriteria & AddAndConditions(AndConditionsT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingProfileSearchCriteria & WithStringCondition(StringConditionT &&value)
RoutingProfileSearchCriteria & WithOrConditions(OrConditionsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue