AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetOrConditions(const Aws::Vector<RoutingProfileSearchCriteria>& value) { m_orConditionsHasBeenSet = true; m_orConditions = value; }
53 inline void SetOrConditions(Aws::Vector<RoutingProfileSearchCriteria>&& value) { m_orConditionsHasBeenSet = true; m_orConditions = std::move(value); }
56 inline RoutingProfileSearchCriteria& AddOrConditions(const RoutingProfileSearchCriteria& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(value); return *this; }
57 inline RoutingProfileSearchCriteria& AddOrConditions(RoutingProfileSearchCriteria&& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(std::move(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 inline void SetAndConditions(const Aws::Vector<RoutingProfileSearchCriteria>& value) { m_andConditionsHasBeenSet = true; m_andConditions = value; }
68 inline void SetAndConditions(Aws::Vector<RoutingProfileSearchCriteria>&& value) { m_andConditionsHasBeenSet = true; m_andConditions = std::move(value); }
71 inline RoutingProfileSearchCriteria& AddAndConditions(const RoutingProfileSearchCriteria& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(value); return *this; }
72 inline RoutingProfileSearchCriteria& AddAndConditions(RoutingProfileSearchCriteria&& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(std::move(value)); return *this; }
74
76
82 inline const StringCondition& GetStringCondition() const{ return m_stringCondition; }
83 inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; }
84 inline void SetStringCondition(const StringCondition& value) { m_stringConditionHasBeenSet = true; m_stringCondition = value; }
85 inline void SetStringCondition(StringCondition&& value) { m_stringConditionHasBeenSet = true; m_stringCondition = std::move(value); }
87 inline RoutingProfileSearchCriteria& WithStringCondition(StringCondition&& value) { SetStringCondition(std::move(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
RoutingProfileSearchCriteria & WithStringCondition(StringCondition &&value)
const Aws::Vector< RoutingProfileSearchCriteria > & GetAndConditions() const
AWS_CONNECT_API RoutingProfileSearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
RoutingProfileSearchCriteria & WithOrConditions(Aws::Vector< RoutingProfileSearchCriteria > &&value)
RoutingProfileSearchCriteria & AddAndConditions(const RoutingProfileSearchCriteria &value)
void SetAndConditions(const Aws::Vector< RoutingProfileSearchCriteria > &value)
void SetAndConditions(Aws::Vector< RoutingProfileSearchCriteria > &&value)
RoutingProfileSearchCriteria & AddOrConditions(RoutingProfileSearchCriteria &&value)
AWS_CONNECT_API RoutingProfileSearchCriteria(Aws::Utils::Json::JsonView jsonValue)
RoutingProfileSearchCriteria & WithAndConditions(Aws::Vector< RoutingProfileSearchCriteria > &&value)
RoutingProfileSearchCriteria & WithStringCondition(const StringCondition &value)
const Aws::Vector< RoutingProfileSearchCriteria > & GetOrConditions() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingProfileSearchCriteria & WithOrConditions(const Aws::Vector< RoutingProfileSearchCriteria > &value)
RoutingProfileSearchCriteria & AddOrConditions(const RoutingProfileSearchCriteria &value)
void SetOrConditions(Aws::Vector< RoutingProfileSearchCriteria > &&value)
void SetOrConditions(const Aws::Vector< RoutingProfileSearchCriteria > &value)
RoutingProfileSearchCriteria & AddAndConditions(RoutingProfileSearchCriteria &&value)
RoutingProfileSearchCriteria & WithAndConditions(const Aws::Vector< RoutingProfileSearchCriteria > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue