AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchCriteria.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/AgentHierarchyGroups.h>
10#include <aws/connect/model/ContactAnalysis.h>
11#include <aws/connect/model/SearchableContactAttributes.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/connect/model/Channel.h>
14#include <aws/connect/model/ContactInitiationMethod.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Connect
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_CONNECT_API SearchCriteria();
42 AWS_CONNECT_API SearchCriteria(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::Vector<Aws::String>& GetAgentIds() const{ return m_agentIds; }
52 inline bool AgentIdsHasBeenSet() const { return m_agentIdsHasBeenSet; }
53 inline void SetAgentIds(const Aws::Vector<Aws::String>& value) { m_agentIdsHasBeenSet = true; m_agentIds = value; }
54 inline void SetAgentIds(Aws::Vector<Aws::String>&& value) { m_agentIdsHasBeenSet = true; m_agentIds = std::move(value); }
55 inline SearchCriteria& WithAgentIds(const Aws::Vector<Aws::String>& value) { SetAgentIds(value); return *this;}
56 inline SearchCriteria& WithAgentIds(Aws::Vector<Aws::String>&& value) { SetAgentIds(std::move(value)); return *this;}
57 inline SearchCriteria& AddAgentIds(const Aws::String& value) { m_agentIdsHasBeenSet = true; m_agentIds.push_back(value); return *this; }
58 inline SearchCriteria& AddAgentIds(Aws::String&& value) { m_agentIdsHasBeenSet = true; m_agentIds.push_back(std::move(value)); return *this; }
59 inline SearchCriteria& AddAgentIds(const char* value) { m_agentIdsHasBeenSet = true; m_agentIds.push_back(value); return *this; }
61
63
67 inline const AgentHierarchyGroups& GetAgentHierarchyGroups() const{ return m_agentHierarchyGroups; }
68 inline bool AgentHierarchyGroupsHasBeenSet() const { return m_agentHierarchyGroupsHasBeenSet; }
69 inline void SetAgentHierarchyGroups(const AgentHierarchyGroups& value) { m_agentHierarchyGroupsHasBeenSet = true; m_agentHierarchyGroups = value; }
70 inline void SetAgentHierarchyGroups(AgentHierarchyGroups&& value) { m_agentHierarchyGroupsHasBeenSet = true; m_agentHierarchyGroups = std::move(value); }
72 inline SearchCriteria& WithAgentHierarchyGroups(AgentHierarchyGroups&& value) { SetAgentHierarchyGroups(std::move(value)); return *this;}
74
76
79 inline const Aws::Vector<Channel>& GetChannels() const{ return m_channels; }
80 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
81 inline void SetChannels(const Aws::Vector<Channel>& value) { m_channelsHasBeenSet = true; m_channels = value; }
82 inline void SetChannels(Aws::Vector<Channel>&& value) { m_channelsHasBeenSet = true; m_channels = std::move(value); }
83 inline SearchCriteria& WithChannels(const Aws::Vector<Channel>& value) { SetChannels(value); return *this;}
84 inline SearchCriteria& WithChannels(Aws::Vector<Channel>&& value) { SetChannels(std::move(value)); return *this;}
85 inline SearchCriteria& AddChannels(const Channel& value) { m_channelsHasBeenSet = true; m_channels.push_back(value); return *this; }
86 inline SearchCriteria& AddChannels(Channel&& value) { m_channelsHasBeenSet = true; m_channels.push_back(std::move(value)); return *this; }
88
90
94 inline const ContactAnalysis& GetContactAnalysis() const{ return m_contactAnalysis; }
95 inline bool ContactAnalysisHasBeenSet() const { return m_contactAnalysisHasBeenSet; }
96 inline void SetContactAnalysis(const ContactAnalysis& value) { m_contactAnalysisHasBeenSet = true; m_contactAnalysis = value; }
97 inline void SetContactAnalysis(ContactAnalysis&& value) { m_contactAnalysisHasBeenSet = true; m_contactAnalysis = std::move(value); }
98 inline SearchCriteria& WithContactAnalysis(const ContactAnalysis& value) { SetContactAnalysis(value); return *this;}
99 inline SearchCriteria& WithContactAnalysis(ContactAnalysis&& value) { SetContactAnalysis(std::move(value)); return *this;}
101
103
106 inline const Aws::Vector<ContactInitiationMethod>& GetInitiationMethods() const{ return m_initiationMethods; }
107 inline bool InitiationMethodsHasBeenSet() const { return m_initiationMethodsHasBeenSet; }
108 inline void SetInitiationMethods(const Aws::Vector<ContactInitiationMethod>& value) { m_initiationMethodsHasBeenSet = true; m_initiationMethods = value; }
109 inline void SetInitiationMethods(Aws::Vector<ContactInitiationMethod>&& value) { m_initiationMethodsHasBeenSet = true; m_initiationMethods = std::move(value); }
112 inline SearchCriteria& AddInitiationMethods(const ContactInitiationMethod& value) { m_initiationMethodsHasBeenSet = true; m_initiationMethods.push_back(value); return *this; }
113 inline SearchCriteria& AddInitiationMethods(ContactInitiationMethod&& value) { m_initiationMethodsHasBeenSet = true; m_initiationMethods.push_back(std::move(value)); return *this; }
115
117
120 inline const Aws::Vector<Aws::String>& GetQueueIds() const{ return m_queueIds; }
121 inline bool QueueIdsHasBeenSet() const { return m_queueIdsHasBeenSet; }
122 inline void SetQueueIds(const Aws::Vector<Aws::String>& value) { m_queueIdsHasBeenSet = true; m_queueIds = value; }
123 inline void SetQueueIds(Aws::Vector<Aws::String>&& value) { m_queueIdsHasBeenSet = true; m_queueIds = std::move(value); }
124 inline SearchCriteria& WithQueueIds(const Aws::Vector<Aws::String>& value) { SetQueueIds(value); return *this;}
125 inline SearchCriteria& WithQueueIds(Aws::Vector<Aws::String>&& value) { SetQueueIds(std::move(value)); return *this;}
126 inline SearchCriteria& AddQueueIds(const Aws::String& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; }
127 inline SearchCriteria& AddQueueIds(Aws::String&& value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(std::move(value)); return *this; }
128 inline SearchCriteria& AddQueueIds(const char* value) { m_queueIdsHasBeenSet = true; m_queueIds.push_back(value); return *this; }
130
132
143 inline const SearchableContactAttributes& GetSearchableContactAttributes() const{ return m_searchableContactAttributes; }
144 inline bool SearchableContactAttributesHasBeenSet() const { return m_searchableContactAttributesHasBeenSet; }
145 inline void SetSearchableContactAttributes(const SearchableContactAttributes& value) { m_searchableContactAttributesHasBeenSet = true; m_searchableContactAttributes = value; }
146 inline void SetSearchableContactAttributes(SearchableContactAttributes&& value) { m_searchableContactAttributesHasBeenSet = true; m_searchableContactAttributes = std::move(value); }
150 private:
151
152 Aws::Vector<Aws::String> m_agentIds;
153 bool m_agentIdsHasBeenSet = false;
154
155 AgentHierarchyGroups m_agentHierarchyGroups;
156 bool m_agentHierarchyGroupsHasBeenSet = false;
157
158 Aws::Vector<Channel> m_channels;
159 bool m_channelsHasBeenSet = false;
160
161 ContactAnalysis m_contactAnalysis;
162 bool m_contactAnalysisHasBeenSet = false;
163
164 Aws::Vector<ContactInitiationMethod> m_initiationMethods;
165 bool m_initiationMethodsHasBeenSet = false;
166
167 Aws::Vector<Aws::String> m_queueIds;
168 bool m_queueIdsHasBeenSet = false;
169
170 SearchableContactAttributes m_searchableContactAttributes;
171 bool m_searchableContactAttributesHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace Connect
176} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetAgentIds() const
void SetSearchableContactAttributes(SearchableContactAttributes &&value)
SearchCriteria & WithInitiationMethods(Aws::Vector< ContactInitiationMethod > &&value)
void SetInitiationMethods(Aws::Vector< ContactInitiationMethod > &&value)
SearchCriteria & WithAgentHierarchyGroups(const AgentHierarchyGroups &value)
SearchCriteria & WithContactAnalysis(ContactAnalysis &&value)
void SetSearchableContactAttributes(const SearchableContactAttributes &value)
AWS_CONNECT_API SearchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContactAnalysis(ContactAnalysis &&value)
SearchCriteria & AddQueueIds(const char *value)
SearchCriteria & AddChannels(Channel &&value)
void SetChannels(const Aws::Vector< Channel > &value)
void SetAgentIds(const Aws::Vector< Aws::String > &value)
SearchCriteria & WithChannels(const Aws::Vector< Channel > &value)
SearchCriteria & AddAgentIds(const char *value)
const SearchableContactAttributes & GetSearchableContactAttributes() const
void SetContactAnalysis(const ContactAnalysis &value)
void SetAgentHierarchyGroups(AgentHierarchyGroups &&value)
SearchCriteria & WithAgentHierarchyGroups(AgentHierarchyGroups &&value)
SearchCriteria & AddQueueIds(const Aws::String &value)
SearchCriteria & WithContactAnalysis(const ContactAnalysis &value)
const Aws::Vector< Aws::String > & GetQueueIds() const
SearchCriteria & WithAgentIds(const Aws::Vector< Aws::String > &value)
SearchCriteria & WithSearchableContactAttributes(const SearchableContactAttributes &value)
SearchCriteria & WithInitiationMethods(const Aws::Vector< ContactInitiationMethod > &value)
AWS_CONNECT_API SearchCriteria(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ContactInitiationMethod > & GetInitiationMethods() const
void SetQueueIds(const Aws::Vector< Aws::String > &value)
void SetChannels(Aws::Vector< Channel > &&value)
SearchCriteria & WithQueueIds(Aws::Vector< Aws::String > &&value)
const AgentHierarchyGroups & GetAgentHierarchyGroups() const
void SetAgentHierarchyGroups(const AgentHierarchyGroups &value)
SearchCriteria & WithChannels(Aws::Vector< Channel > &&value)
SearchCriteria & AddInitiationMethods(const ContactInitiationMethod &value)
SearchCriteria & AddAgentIds(Aws::String &&value)
const Aws::Vector< Channel > & GetChannels() const
SearchCriteria & WithSearchableContactAttributes(SearchableContactAttributes &&value)
void SetInitiationMethods(const Aws::Vector< ContactInitiationMethod > &value)
SearchCriteria & AddInitiationMethods(ContactInitiationMethod &&value)
const ContactAnalysis & GetContactAnalysis() const
SearchCriteria & AddQueueIds(Aws::String &&value)
SearchCriteria & AddAgentIds(const Aws::String &value)
SearchCriteria & WithAgentIds(Aws::Vector< Aws::String > &&value)
void SetAgentIds(Aws::Vector< Aws::String > &&value)
SearchCriteria & AddChannels(const Channel &value)
void SetQueueIds(Aws::Vector< Aws::String > &&value)
SearchCriteria & WithQueueIds(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue