AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API QualityMetrics() = default;
32 AWS_CONNECT_API QualityMetrics(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const AgentQualityMetrics& GetAgent() const { return m_agent; }
41 inline bool AgentHasBeenSet() const { return m_agentHasBeenSet; }
42 template <typename AgentT = AgentQualityMetrics>
43 void SetAgent(AgentT&& value) {
44 m_agentHasBeenSet = true;
45 m_agent = std::forward<AgentT>(value);
46 }
47 template <typename AgentT = AgentQualityMetrics>
48 QualityMetrics& WithAgent(AgentT&& value) {
49 SetAgent(std::forward<AgentT>(value));
50 return *this;
51 }
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) {
62 m_customerHasBeenSet = true;
63 m_customer = std::forward<CustomerT>(value);
64 }
65 template <typename CustomerT = CustomerQualityMetrics>
66 QualityMetrics& WithCustomer(CustomerT&& value) {
67 SetCustomer(std::forward<CustomerT>(value));
68 return *this;
69 }
71 private:
72 AgentQualityMetrics m_agent;
73
74 CustomerQualityMetrics m_customer;
75 bool m_agentHasBeenSet = false;
76 bool m_customerHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Connect
81} // 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