AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
QualityMetrics.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/AgentQualityMetrics.h>
9#include <aws/connect/model/CustomerQualityMetrics.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 QualityMetrics() = default;
37 AWS_CONNECT_API QualityMetrics(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AgentQualityMetrics& GetAgent() const { return m_agent; }
47 inline bool AgentHasBeenSet() const { return m_agentHasBeenSet; }
48 template<typename AgentT = AgentQualityMetrics>
49 void SetAgent(AgentT&& value) { m_agentHasBeenSet = true; m_agent = std::forward<AgentT>(value); }
50 template<typename AgentT = AgentQualityMetrics>
51 QualityMetrics& WithAgent(AgentT&& value) { SetAgent(std::forward<AgentT>(value)); return *this;}
53
55
58 inline const CustomerQualityMetrics& GetCustomer() const { return m_customer; }
59 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
60 template<typename CustomerT = CustomerQualityMetrics>
61 void SetCustomer(CustomerT&& value) { m_customerHasBeenSet = true; m_customer = std::forward<CustomerT>(value); }
62 template<typename CustomerT = CustomerQualityMetrics>
63 QualityMetrics& WithCustomer(CustomerT&& value) { SetCustomer(std::forward<CustomerT>(value)); return *this;}
65 private:
66
67 AgentQualityMetrics m_agent;
68 bool m_agentHasBeenSet = false;
69
70 CustomerQualityMetrics m_customer;
71 bool m_customerHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Connect
76} // namespace Aws
QualityMetrics & WithAgent(AgentT &&value)
const CustomerQualityMetrics & GetCustomer() const
const AgentQualityMetrics & GetAgent() const
void SetCustomer(CustomerT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API QualityMetrics()=default
QualityMetrics & WithCustomer(CustomerT &&value)
AWS_CONNECT_API QualityMetrics(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API QualityMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue