AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EvaluationMetadata.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/EvaluationScore.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 EvaluationMetadata() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetContactId() const { return m_contactId; }
47 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
48 template<typename ContactIdT = Aws::String>
49 void SetContactId(ContactIdT&& value) { m_contactIdHasBeenSet = true; m_contactId = std::forward<ContactIdT>(value); }
50 template<typename ContactIdT = Aws::String>
51 EvaluationMetadata& WithContactId(ContactIdT&& value) { SetContactId(std::forward<ContactIdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetEvaluatorArn() const { return m_evaluatorArn; }
60 inline bool EvaluatorArnHasBeenSet() const { return m_evaluatorArnHasBeenSet; }
61 template<typename EvaluatorArnT = Aws::String>
62 void SetEvaluatorArn(EvaluatorArnT&& value) { m_evaluatorArnHasBeenSet = true; m_evaluatorArn = std::forward<EvaluatorArnT>(value); }
63 template<typename EvaluatorArnT = Aws::String>
64 EvaluationMetadata& WithEvaluatorArn(EvaluatorArnT&& value) { SetEvaluatorArn(std::forward<EvaluatorArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetContactAgentId() const { return m_contactAgentId; }
72 inline bool ContactAgentIdHasBeenSet() const { return m_contactAgentIdHasBeenSet; }
73 template<typename ContactAgentIdT = Aws::String>
74 void SetContactAgentId(ContactAgentIdT&& value) { m_contactAgentIdHasBeenSet = true; m_contactAgentId = std::forward<ContactAgentIdT>(value); }
75 template<typename ContactAgentIdT = Aws::String>
76 EvaluationMetadata& WithContactAgentId(ContactAgentIdT&& value) { SetContactAgentId(std::forward<ContactAgentIdT>(value)); return *this;}
78
80
83 inline const EvaluationScore& GetScore() const { return m_score; }
84 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
85 template<typename ScoreT = EvaluationScore>
86 void SetScore(ScoreT&& value) { m_scoreHasBeenSet = true; m_score = std::forward<ScoreT>(value); }
87 template<typename ScoreT = EvaluationScore>
88 EvaluationMetadata& WithScore(ScoreT&& value) { SetScore(std::forward<ScoreT>(value)); return *this;}
90 private:
91
92 Aws::String m_contactId;
93 bool m_contactIdHasBeenSet = false;
94
95 Aws::String m_evaluatorArn;
96 bool m_evaluatorArnHasBeenSet = false;
97
98 Aws::String m_contactAgentId;
99 bool m_contactAgentIdHasBeenSet = false;
100
101 EvaluationScore m_score;
102 bool m_scoreHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Connect
107} // namespace Aws
const EvaluationScore & GetScore() const
void SetEvaluatorArn(EvaluatorArnT &&value)
EvaluationMetadata & WithScore(ScoreT &&value)
AWS_CONNECT_API EvaluationMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEvaluatorArn() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetContactId() const
EvaluationMetadata & WithEvaluatorArn(EvaluatorArnT &&value)
EvaluationMetadata & WithContactAgentId(ContactAgentIdT &&value)
AWS_CONNECT_API EvaluationMetadata(Aws::Utils::Json::JsonView jsonValue)
EvaluationMetadata & WithContactId(ContactIdT &&value)
const Aws::String & GetContactAgentId() const
void SetContactAgentId(ContactAgentIdT &&value)
AWS_CONNECT_API EvaluationMetadata()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue