AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContactId(const Aws::String& value) { m_contactIdHasBeenSet = true; m_contactId = value; }
49 inline void SetContactId(Aws::String&& value) { m_contactIdHasBeenSet = true; m_contactId = std::move(value); }
50 inline void SetContactId(const char* value) { m_contactIdHasBeenSet = true; m_contactId.assign(value); }
51 inline EvaluationMetadata& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
52 inline EvaluationMetadata& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
53 inline EvaluationMetadata& WithContactId(const char* value) { SetContactId(value); return *this;}
55
57
61 inline const Aws::String& GetEvaluatorArn() const{ return m_evaluatorArn; }
62 inline bool EvaluatorArnHasBeenSet() const { return m_evaluatorArnHasBeenSet; }
63 inline void SetEvaluatorArn(const Aws::String& value) { m_evaluatorArnHasBeenSet = true; m_evaluatorArn = value; }
64 inline void SetEvaluatorArn(Aws::String&& value) { m_evaluatorArnHasBeenSet = true; m_evaluatorArn = std::move(value); }
65 inline void SetEvaluatorArn(const char* value) { m_evaluatorArnHasBeenSet = true; m_evaluatorArn.assign(value); }
66 inline EvaluationMetadata& WithEvaluatorArn(const Aws::String& value) { SetEvaluatorArn(value); return *this;}
67 inline EvaluationMetadata& WithEvaluatorArn(Aws::String&& value) { SetEvaluatorArn(std::move(value)); return *this;}
68 inline EvaluationMetadata& WithEvaluatorArn(const char* value) { SetEvaluatorArn(value); return *this;}
70
72
75 inline const Aws::String& GetContactAgentId() const{ return m_contactAgentId; }
76 inline bool ContactAgentIdHasBeenSet() const { return m_contactAgentIdHasBeenSet; }
77 inline void SetContactAgentId(const Aws::String& value) { m_contactAgentIdHasBeenSet = true; m_contactAgentId = value; }
78 inline void SetContactAgentId(Aws::String&& value) { m_contactAgentIdHasBeenSet = true; m_contactAgentId = std::move(value); }
79 inline void SetContactAgentId(const char* value) { m_contactAgentIdHasBeenSet = true; m_contactAgentId.assign(value); }
80 inline EvaluationMetadata& WithContactAgentId(const Aws::String& value) { SetContactAgentId(value); return *this;}
81 inline EvaluationMetadata& WithContactAgentId(Aws::String&& value) { SetContactAgentId(std::move(value)); return *this;}
82 inline EvaluationMetadata& WithContactAgentId(const char* value) { SetContactAgentId(value); return *this;}
84
86
89 inline const EvaluationScore& GetScore() const{ return m_score; }
90 inline bool ScoreHasBeenSet() const { return m_scoreHasBeenSet; }
91 inline void SetScore(const EvaluationScore& value) { m_scoreHasBeenSet = true; m_score = value; }
92 inline void SetScore(EvaluationScore&& value) { m_scoreHasBeenSet = true; m_score = std::move(value); }
93 inline EvaluationMetadata& WithScore(const EvaluationScore& value) { SetScore(value); return *this;}
94 inline EvaluationMetadata& WithScore(EvaluationScore&& value) { SetScore(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_contactId;
99 bool m_contactIdHasBeenSet = false;
100
101 Aws::String m_evaluatorArn;
102 bool m_evaluatorArnHasBeenSet = false;
103
104 Aws::String m_contactAgentId;
105 bool m_contactAgentIdHasBeenSet = false;
106
107 EvaluationScore m_score;
108 bool m_scoreHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Connect
113} // namespace Aws
void SetScore(const EvaluationScore &value)
const EvaluationScore & GetScore() const
void SetContactAgentId(const Aws::String &value)
EvaluationMetadata & WithContactAgentId(Aws::String &&value)
AWS_CONNECT_API EvaluationMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContactAgentId(Aws::String &&value)
const Aws::String & GetEvaluatorArn() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetContactId() const
EvaluationMetadata & WithContactAgentId(const Aws::String &value)
EvaluationMetadata & WithContactAgentId(const char *value)
EvaluationMetadata & WithScore(const EvaluationScore &value)
void SetScore(EvaluationScore &&value)
AWS_CONNECT_API EvaluationMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluatorArn(const Aws::String &value)
EvaluationMetadata & WithContactId(const Aws::String &value)
EvaluationMetadata & WithEvaluatorArn(Aws::String &&value)
void SetContactId(const Aws::String &value)
EvaluationMetadata & WithContactId(Aws::String &&value)
const Aws::String & GetContactAgentId() const
EvaluationMetadata & WithEvaluatorArn(const char *value)
EvaluationMetadata & WithContactId(const char *value)
EvaluationMetadata & WithScore(EvaluationScore &&value)
EvaluationMetadata & WithEvaluatorArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue