AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAgent(const AgentQualityMetrics& value) { m_agentHasBeenSet = true; m_agent = value; }
49 inline void SetAgent(AgentQualityMetrics&& value) { m_agentHasBeenSet = true; m_agent = std::move(value); }
50 inline QualityMetrics& WithAgent(const AgentQualityMetrics& value) { SetAgent(value); return *this;}
51 inline QualityMetrics& WithAgent(AgentQualityMetrics&& value) { SetAgent(std::move(value)); return *this;}
53
55
58 inline const CustomerQualityMetrics& GetCustomer() const{ return m_customer; }
59 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
60 inline void SetCustomer(const CustomerQualityMetrics& value) { m_customerHasBeenSet = true; m_customer = value; }
61 inline void SetCustomer(CustomerQualityMetrics&& value) { m_customerHasBeenSet = true; m_customer = std::move(value); }
62 inline QualityMetrics& WithCustomer(const CustomerQualityMetrics& value) { SetCustomer(value); return *this;}
63 inline QualityMetrics& WithCustomer(CustomerQualityMetrics&& value) { SetCustomer(std::move(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(AgentQualityMetrics &&value)
void SetCustomer(const CustomerQualityMetrics &value)
const CustomerQualityMetrics & GetCustomer() const
QualityMetrics & WithCustomer(const CustomerQualityMetrics &value)
void SetCustomer(CustomerQualityMetrics &&value)
void SetAgent(AgentQualityMetrics &&value)
QualityMetrics & WithAgent(const AgentQualityMetrics &value)
void SetAgent(const AgentQualityMetrics &value)
const AgentQualityMetrics & GetAgent() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API QualityMetrics(Aws::Utils::Json::JsonView jsonValue)
QualityMetrics & WithCustomer(CustomerQualityMetrics &&value)
AWS_CONNECT_API QualityMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue