AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
RoutingProfileSearchCriteria.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/StringCondition.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
33 public:
34 AWS_CONNECT_API RoutingProfileSearchCriteria() = default;
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::Vector<RoutingProfileSearchCriteria>& GetOrConditions() const { return m_orConditions; }
45 inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; }
46 template <typename OrConditionsT = Aws::Vector<RoutingProfileSearchCriteria>>
47 void SetOrConditions(OrConditionsT&& value) {
48 m_orConditionsHasBeenSet = true;
49 m_orConditions = std::forward<OrConditionsT>(value);
50 }
51 template <typename OrConditionsT = Aws::Vector<RoutingProfileSearchCriteria>>
53 SetOrConditions(std::forward<OrConditionsT>(value));
54 return *this;
55 }
56 template <typename OrConditionsT = RoutingProfileSearchCriteria>
58 m_orConditionsHasBeenSet = true;
59 m_orConditions.emplace_back(std::forward<OrConditionsT>(value));
60 return *this;
61 }
63
65
69 inline const Aws::Vector<RoutingProfileSearchCriteria>& GetAndConditions() const { return m_andConditions; }
70 inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; }
71 template <typename AndConditionsT = Aws::Vector<RoutingProfileSearchCriteria>>
72 void SetAndConditions(AndConditionsT&& value) {
73 m_andConditionsHasBeenSet = true;
74 m_andConditions = std::forward<AndConditionsT>(value);
75 }
76 template <typename AndConditionsT = Aws::Vector<RoutingProfileSearchCriteria>>
78 SetAndConditions(std::forward<AndConditionsT>(value));
79 return *this;
80 }
81 template <typename AndConditionsT = RoutingProfileSearchCriteria>
83 m_andConditionsHasBeenSet = true;
84 m_andConditions.emplace_back(std::forward<AndConditionsT>(value));
85 return *this;
86 }
88
90
96 inline const StringCondition& GetStringCondition() const { return m_stringCondition; }
97 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
98 template <typename StringConditionT = StringCondition>
99 void SetStringCondition(StringConditionT&& value) {
100 m_stringConditionHasBeenSet = true;
101 m_stringCondition = std::forward<StringConditionT>(value);
102 }
103 template <typename StringConditionT = StringCondition>
105 SetStringCondition(std::forward<StringConditionT>(value));
106 return *this;
107 }
109 private:
111
113
114 StringCondition m_stringCondition;
115 bool m_orConditionsHasBeenSet = false;
116 bool m_andConditionsHasBeenSet = false;
117 bool m_stringConditionHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Connect
122} // 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