AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
SearchableAgentCriteriaStep.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/SearchContactsMatchType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
31 public:
32 AWS_CONNECT_API SearchableAgentCriteriaStep() = default;
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<Aws::String>& GetAgentIds() const { return m_agentIds; }
42 inline bool AgentIdsHasBeenSet() const { return m_agentIdsHasBeenSet; }
43 template <typename AgentIdsT = Aws::Vector<Aws::String>>
44 void SetAgentIds(AgentIdsT&& value) {
45 m_agentIdsHasBeenSet = true;
46 m_agentIds = std::forward<AgentIdsT>(value);
47 }
48 template <typename AgentIdsT = Aws::Vector<Aws::String>>
50 SetAgentIds(std::forward<AgentIdsT>(value));
51 return *this;
52 }
53 template <typename AgentIdsT = Aws::String>
55 m_agentIdsHasBeenSet = true;
56 m_agentIds.emplace_back(std::forward<AgentIdsT>(value));
57 return *this;
58 }
60
62
65 inline SearchContactsMatchType GetMatchType() const { return m_matchType; }
66 inline bool MatchTypeHasBeenSet() const { return m_matchTypeHasBeenSet; }
68 m_matchTypeHasBeenSet = true;
69 m_matchType = value;
70 }
72 SetMatchType(value);
73 return *this;
74 }
76 private:
77 Aws::Vector<Aws::String> m_agentIds;
78
80 bool m_agentIdsHasBeenSet = false;
81 bool m_matchTypeHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Connect
86} // namespace Aws
AWS_CONNECT_API SearchableAgentCriteriaStep & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SearchableAgentCriteriaStep & AddAgentIds(AgentIdsT &&value)
AWS_CONNECT_API SearchableAgentCriteriaStep()=default
SearchableAgentCriteriaStep & WithMatchType(SearchContactsMatchType value)
AWS_CONNECT_API SearchableAgentCriteriaStep(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAgentIds() const
SearchableAgentCriteriaStep & WithAgentIds(AgentIdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue