AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
MatchCriteria.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/AgentsCriteria.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
28 public:
29 AWS_CONNECT_API MatchCriteria() = default;
30 AWS_CONNECT_API MatchCriteria(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const AgentsCriteria& GetAgentsCriteria() const { return m_agentsCriteria; }
39 inline bool AgentsCriteriaHasBeenSet() const { return m_agentsCriteriaHasBeenSet; }
40 template <typename AgentsCriteriaT = AgentsCriteria>
41 void SetAgentsCriteria(AgentsCriteriaT&& value) {
42 m_agentsCriteriaHasBeenSet = true;
43 m_agentsCriteria = std::forward<AgentsCriteriaT>(value);
44 }
45 template <typename AgentsCriteriaT = AgentsCriteria>
46 MatchCriteria& WithAgentsCriteria(AgentsCriteriaT&& value) {
47 SetAgentsCriteria(std::forward<AgentsCriteriaT>(value));
48 return *this;
49 }
51 private:
52 AgentsCriteria m_agentsCriteria;
53 bool m_agentsCriteriaHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Connect
58} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API MatchCriteria()=default
const AgentsCriteria & GetAgentsCriteria() const
MatchCriteria & WithAgentsCriteria(AgentsCriteriaT &&value)
AWS_CONNECT_API MatchCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAgentsCriteria(AgentsCriteriaT &&value)
AWS_CONNECT_API MatchCriteria(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue