AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ChatMetrics.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ChatContactMetrics.h>
9#include <aws/connect/model/ParticipantMetrics.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
34 {
35 public:
36 AWS_CONNECT_API ChatMetrics() = default;
37 AWS_CONNECT_API ChatMetrics(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const ChatContactMetrics& GetChatContactMetrics() const { return m_chatContactMetrics; }
48 inline bool ChatContactMetricsHasBeenSet() const { return m_chatContactMetricsHasBeenSet; }
49 template<typename ChatContactMetricsT = ChatContactMetrics>
50 void SetChatContactMetrics(ChatContactMetricsT&& value) { m_chatContactMetricsHasBeenSet = true; m_chatContactMetrics = std::forward<ChatContactMetricsT>(value); }
51 template<typename ChatContactMetricsT = ChatContactMetrics>
52 ChatMetrics& WithChatContactMetrics(ChatContactMetricsT&& value) { SetChatContactMetrics(std::forward<ChatContactMetricsT>(value)); return *this;}
54
56
59 inline const ParticipantMetrics& GetAgentMetrics() const { return m_agentMetrics; }
60 inline bool AgentMetricsHasBeenSet() const { return m_agentMetricsHasBeenSet; }
61 template<typename AgentMetricsT = ParticipantMetrics>
62 void SetAgentMetrics(AgentMetricsT&& value) { m_agentMetricsHasBeenSet = true; m_agentMetrics = std::forward<AgentMetricsT>(value); }
63 template<typename AgentMetricsT = ParticipantMetrics>
64 ChatMetrics& WithAgentMetrics(AgentMetricsT&& value) { SetAgentMetrics(std::forward<AgentMetricsT>(value)); return *this;}
66
68
71 inline const ParticipantMetrics& GetCustomerMetrics() const { return m_customerMetrics; }
72 inline bool CustomerMetricsHasBeenSet() const { return m_customerMetricsHasBeenSet; }
73 template<typename CustomerMetricsT = ParticipantMetrics>
74 void SetCustomerMetrics(CustomerMetricsT&& value) { m_customerMetricsHasBeenSet = true; m_customerMetrics = std::forward<CustomerMetricsT>(value); }
75 template<typename CustomerMetricsT = ParticipantMetrics>
76 ChatMetrics& WithCustomerMetrics(CustomerMetricsT&& value) { SetCustomerMetrics(std::forward<CustomerMetricsT>(value)); return *this;}
78 private:
79
80 ChatContactMetrics m_chatContactMetrics;
81 bool m_chatContactMetricsHasBeenSet = false;
82
83 ParticipantMetrics m_agentMetrics;
84 bool m_agentMetricsHasBeenSet = false;
85
86 ParticipantMetrics m_customerMetrics;
87 bool m_customerMetricsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Connect
92} // namespace Aws
bool ChatContactMetricsHasBeenSet() const
Definition ChatMetrics.h:48
void SetCustomerMetrics(CustomerMetricsT &&value)
Definition ChatMetrics.h:74
void SetChatContactMetrics(ChatContactMetricsT &&value)
Definition ChatMetrics.h:50
AWS_CONNECT_API ChatMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
const ChatContactMetrics & GetChatContactMetrics() const
Definition ChatMetrics.h:47
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ChatMetrics()=default
AWS_CONNECT_API ChatMetrics(Aws::Utils::Json::JsonView jsonValue)
void SetAgentMetrics(AgentMetricsT &&value)
Definition ChatMetrics.h:62
const ParticipantMetrics & GetAgentMetrics() const
Definition ChatMetrics.h:59
ChatMetrics & WithCustomerMetrics(CustomerMetricsT &&value)
Definition ChatMetrics.h:76
ChatMetrics & WithAgentMetrics(AgentMetricsT &&value)
Definition ChatMetrics.h:64
ChatMetrics & WithChatContactMetrics(ChatContactMetricsT &&value)
Definition ChatMetrics.h:52
const ParticipantMetrics & GetCustomerMetrics() const
Definition ChatMetrics.h:71
Aws::Utils::Json::JsonValue JsonValue