AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Evaluation.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/EvaluationMetadata.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/connect/model/EvaluationStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/connect/model/EvaluationAnswerOutput.h>
14#include <aws/connect/model/EvaluationNote.h>
15#include <aws/connect/model/EvaluationScore.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Connect
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_CONNECT_API Evaluation();
42 AWS_CONNECT_API Evaluation(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CONNECT_API Evaluation& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetEvaluationId() const{ return m_evaluationId; }
52 inline bool EvaluationIdHasBeenSet() const { return m_evaluationIdHasBeenSet; }
53 inline void SetEvaluationId(const Aws::String& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = value; }
54 inline void SetEvaluationId(Aws::String&& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = std::move(value); }
55 inline void SetEvaluationId(const char* value) { m_evaluationIdHasBeenSet = true; m_evaluationId.assign(value); }
56 inline Evaluation& WithEvaluationId(const Aws::String& value) { SetEvaluationId(value); return *this;}
57 inline Evaluation& WithEvaluationId(Aws::String&& value) { SetEvaluationId(std::move(value)); return *this;}
58 inline Evaluation& WithEvaluationId(const char* value) { SetEvaluationId(value); return *this;}
60
62
65 inline const Aws::String& GetEvaluationArn() const{ return m_evaluationArn; }
66 inline bool EvaluationArnHasBeenSet() const { return m_evaluationArnHasBeenSet; }
67 inline void SetEvaluationArn(const Aws::String& value) { m_evaluationArnHasBeenSet = true; m_evaluationArn = value; }
68 inline void SetEvaluationArn(Aws::String&& value) { m_evaluationArnHasBeenSet = true; m_evaluationArn = std::move(value); }
69 inline void SetEvaluationArn(const char* value) { m_evaluationArnHasBeenSet = true; m_evaluationArn.assign(value); }
70 inline Evaluation& WithEvaluationArn(const Aws::String& value) { SetEvaluationArn(value); return *this;}
71 inline Evaluation& WithEvaluationArn(Aws::String&& value) { SetEvaluationArn(std::move(value)); return *this;}
72 inline Evaluation& WithEvaluationArn(const char* value) { SetEvaluationArn(value); return *this;}
74
76
79 inline const EvaluationMetadata& GetMetadata() const{ return m_metadata; }
80 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
81 inline void SetMetadata(const EvaluationMetadata& value) { m_metadataHasBeenSet = true; m_metadata = value; }
82 inline void SetMetadata(EvaluationMetadata&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
83 inline Evaluation& WithMetadata(const EvaluationMetadata& value) { SetMetadata(value); return *this;}
84 inline Evaluation& WithMetadata(EvaluationMetadata&& value) { SetMetadata(std::move(value)); return *this;}
86
88
91 inline const Aws::Map<Aws::String, EvaluationAnswerOutput>& GetAnswers() const{ return m_answers; }
92 inline bool AnswersHasBeenSet() const { return m_answersHasBeenSet; }
93 inline void SetAnswers(const Aws::Map<Aws::String, EvaluationAnswerOutput>& value) { m_answersHasBeenSet = true; m_answers = value; }
94 inline void SetAnswers(Aws::Map<Aws::String, EvaluationAnswerOutput>&& value) { m_answersHasBeenSet = true; m_answers = std::move(value); }
96 inline Evaluation& WithAnswers(Aws::Map<Aws::String, EvaluationAnswerOutput>&& value) { SetAnswers(std::move(value)); return *this;}
97 inline Evaluation& AddAnswers(const Aws::String& key, const EvaluationAnswerOutput& value) { m_answersHasBeenSet = true; m_answers.emplace(key, value); return *this; }
98 inline Evaluation& AddAnswers(Aws::String&& key, const EvaluationAnswerOutput& value) { m_answersHasBeenSet = true; m_answers.emplace(std::move(key), value); return *this; }
99 inline Evaluation& AddAnswers(const Aws::String& key, EvaluationAnswerOutput&& value) { m_answersHasBeenSet = true; m_answers.emplace(key, std::move(value)); return *this; }
100 inline Evaluation& AddAnswers(Aws::String&& key, EvaluationAnswerOutput&& value) { m_answersHasBeenSet = true; m_answers.emplace(std::move(key), std::move(value)); return *this; }
101 inline Evaluation& AddAnswers(const char* key, EvaluationAnswerOutput&& value) { m_answersHasBeenSet = true; m_answers.emplace(key, std::move(value)); return *this; }
102 inline Evaluation& AddAnswers(const char* key, const EvaluationAnswerOutput& value) { m_answersHasBeenSet = true; m_answers.emplace(key, value); return *this; }
104
106
109 inline const Aws::Map<Aws::String, EvaluationNote>& GetNotes() const{ return m_notes; }
110 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
111 inline void SetNotes(const Aws::Map<Aws::String, EvaluationNote>& value) { m_notesHasBeenSet = true; m_notes = value; }
112 inline void SetNotes(Aws::Map<Aws::String, EvaluationNote>&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); }
113 inline Evaluation& WithNotes(const Aws::Map<Aws::String, EvaluationNote>& value) { SetNotes(value); return *this;}
114 inline Evaluation& WithNotes(Aws::Map<Aws::String, EvaluationNote>&& value) { SetNotes(std::move(value)); return *this;}
115 inline Evaluation& AddNotes(const Aws::String& key, const EvaluationNote& value) { m_notesHasBeenSet = true; m_notes.emplace(key, value); return *this; }
116 inline Evaluation& AddNotes(Aws::String&& key, const EvaluationNote& value) { m_notesHasBeenSet = true; m_notes.emplace(std::move(key), value); return *this; }
117 inline Evaluation& AddNotes(const Aws::String& key, EvaluationNote&& value) { m_notesHasBeenSet = true; m_notes.emplace(key, std::move(value)); return *this; }
118 inline Evaluation& AddNotes(Aws::String&& key, EvaluationNote&& value) { m_notesHasBeenSet = true; m_notes.emplace(std::move(key), std::move(value)); return *this; }
119 inline Evaluation& AddNotes(const char* key, EvaluationNote&& value) { m_notesHasBeenSet = true; m_notes.emplace(key, std::move(value)); return *this; }
120 inline Evaluation& AddNotes(const char* key, const EvaluationNote& value) { m_notesHasBeenSet = true; m_notes.emplace(key, value); return *this; }
122
124
127 inline const EvaluationStatus& GetStatus() const{ return m_status; }
128 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
129 inline void SetStatus(const EvaluationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
130 inline void SetStatus(EvaluationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
131 inline Evaluation& WithStatus(const EvaluationStatus& value) { SetStatus(value); return *this;}
132 inline Evaluation& WithStatus(EvaluationStatus&& value) { SetStatus(std::move(value)); return *this;}
134
136
139 inline const Aws::Map<Aws::String, EvaluationScore>& GetScores() const{ return m_scores; }
140 inline bool ScoresHasBeenSet() const { return m_scoresHasBeenSet; }
141 inline void SetScores(const Aws::Map<Aws::String, EvaluationScore>& value) { m_scoresHasBeenSet = true; m_scores = value; }
142 inline void SetScores(Aws::Map<Aws::String, EvaluationScore>&& value) { m_scoresHasBeenSet = true; m_scores = std::move(value); }
143 inline Evaluation& WithScores(const Aws::Map<Aws::String, EvaluationScore>& value) { SetScores(value); return *this;}
144 inline Evaluation& WithScores(Aws::Map<Aws::String, EvaluationScore>&& value) { SetScores(std::move(value)); return *this;}
145 inline Evaluation& AddScores(const Aws::String& key, const EvaluationScore& value) { m_scoresHasBeenSet = true; m_scores.emplace(key, value); return *this; }
146 inline Evaluation& AddScores(Aws::String&& key, const EvaluationScore& value) { m_scoresHasBeenSet = true; m_scores.emplace(std::move(key), value); return *this; }
147 inline Evaluation& AddScores(const Aws::String& key, EvaluationScore&& value) { m_scoresHasBeenSet = true; m_scores.emplace(key, std::move(value)); return *this; }
148 inline Evaluation& AddScores(Aws::String&& key, EvaluationScore&& value) { m_scoresHasBeenSet = true; m_scores.emplace(std::move(key), std::move(value)); return *this; }
149 inline Evaluation& AddScores(const char* key, EvaluationScore&& value) { m_scoresHasBeenSet = true; m_scores.emplace(key, std::move(value)); return *this; }
150 inline Evaluation& AddScores(const char* key, const EvaluationScore& value) { m_scoresHasBeenSet = true; m_scores.emplace(key, value); return *this; }
152
154
157 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
158 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
159 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
160 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
161 inline Evaluation& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
162 inline Evaluation& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
164
166
169 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
170 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
171 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
172 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
173 inline Evaluation& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
174 inline Evaluation& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
176
178
182 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
183 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
184 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
185 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
186 inline Evaluation& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
187 inline Evaluation& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
188 inline Evaluation& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
189 inline Evaluation& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
190 inline Evaluation& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
191 inline Evaluation& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
192 inline Evaluation& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
193 inline Evaluation& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
194 inline Evaluation& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
196 private:
197
198 Aws::String m_evaluationId;
199 bool m_evaluationIdHasBeenSet = false;
200
201 Aws::String m_evaluationArn;
202 bool m_evaluationArnHasBeenSet = false;
203
204 EvaluationMetadata m_metadata;
205 bool m_metadataHasBeenSet = false;
206
208 bool m_answersHasBeenSet = false;
209
211 bool m_notesHasBeenSet = false;
212
213 EvaluationStatus m_status;
214 bool m_statusHasBeenSet = false;
215
217 bool m_scoresHasBeenSet = false;
218
219 Aws::Utils::DateTime m_createdTime;
220 bool m_createdTimeHasBeenSet = false;
221
222 Aws::Utils::DateTime m_lastModifiedTime;
223 bool m_lastModifiedTimeHasBeenSet = false;
224
226 bool m_tagsHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace Connect
231} // namespace Aws
Evaluation & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Evaluation.h:174
void SetNotes(Aws::Map< Aws::String, EvaluationNote > &&value)
Definition Evaluation.h:112
Evaluation & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Evaluation.h:173
Evaluation & WithEvaluationArn(const Aws::String &value)
Definition Evaluation.h:70
const Aws::Map< Aws::String, EvaluationNote > & GetNotes() const
Definition Evaluation.h:109
Evaluation & AddTags(Aws::String &&key, Aws::String &&value)
Definition Evaluation.h:191
Evaluation & AddNotes(const Aws::String &key, const EvaluationNote &value)
Definition Evaluation.h:115
bool LastModifiedTimeHasBeenSet() const
Definition Evaluation.h:170
Evaluation & AddAnswers(Aws::String &&key, const EvaluationAnswerOutput &value)
Definition Evaluation.h:98
Evaluation & AddScores(const Aws::String &key, const EvaluationScore &value)
Definition Evaluation.h:145
Evaluation & WithStatus(const EvaluationStatus &value)
Definition Evaluation.h:131
Evaluation & AddAnswers(const Aws::String &key, const EvaluationAnswerOutput &value)
Definition Evaluation.h:97
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition Evaluation.h:172
Evaluation & AddNotes(const char *key, EvaluationNote &&value)
Definition Evaluation.h:119
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Evaluation.h:185
Evaluation & AddScores(const char *key, EvaluationScore &&value)
Definition Evaluation.h:149
void SetEvaluationId(const Aws::String &value)
Definition Evaluation.h:53
Evaluation & AddNotes(Aws::String &&key, const EvaluationNote &value)
Definition Evaluation.h:116
Evaluation & WithMetadata(EvaluationMetadata &&value)
Definition Evaluation.h:84
Evaluation & AddAnswers(const Aws::String &key, EvaluationAnswerOutput &&value)
Definition Evaluation.h:99
Evaluation & AddTags(const Aws::String &key, const Aws::String &value)
Definition Evaluation.h:188
void SetStatus(EvaluationStatus &&value)
Definition Evaluation.h:130
Evaluation & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition Evaluation.h:161
Evaluation & AddTags(const Aws::String &key, Aws::String &&value)
Definition Evaluation.h:190
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Evaluation.h:184
void SetEvaluationId(Aws::String &&value)
Definition Evaluation.h:54
void SetEvaluationArn(Aws::String &&value)
Definition Evaluation.h:68
Evaluation & AddTags(Aws::String &&key, const char *value)
Definition Evaluation.h:193
const EvaluationStatus & GetStatus() const
Definition Evaluation.h:127
void SetAnswers(Aws::Map< Aws::String, EvaluationAnswerOutput > &&value)
Definition Evaluation.h:94
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Evaluation.h:182
Evaluation & AddTags(Aws::String &&key, const Aws::String &value)
Definition Evaluation.h:189
Evaluation & AddNotes(const Aws::String &key, EvaluationNote &&value)
Definition Evaluation.h:117
Evaluation & AddAnswers(const char *key, const EvaluationAnswerOutput &value)
Definition Evaluation.h:102
Evaluation & WithAnswers(const Aws::Map< Aws::String, EvaluationAnswerOutput > &value)
Definition Evaluation.h:95
void SetEvaluationId(const char *value)
Definition Evaluation.h:55
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition Evaluation.h:171
void SetScores(Aws::Map< Aws::String, EvaluationScore > &&value)
Definition Evaluation.h:142
Evaluation & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Evaluation.h:186
void SetAnswers(const Aws::Map< Aws::String, EvaluationAnswerOutput > &value)
Definition Evaluation.h:93
Evaluation & AddTags(const char *key, Aws::String &&value)
Definition Evaluation.h:192
AWS_CONNECT_API Evaluation(Aws::Utils::Json::JsonView jsonValue)
void SetMetadata(const EvaluationMetadata &value)
Definition Evaluation.h:81
Evaluation & WithEvaluationArn(const char *value)
Definition Evaluation.h:72
Evaluation & WithStatus(EvaluationStatus &&value)
Definition Evaluation.h:132
Evaluation & AddAnswers(const char *key, EvaluationAnswerOutput &&value)
Definition Evaluation.h:101
Evaluation & WithNotes(Aws::Map< Aws::String, EvaluationNote > &&value)
Definition Evaluation.h:114
const Aws::String & GetEvaluationArn() const
Definition Evaluation.h:65
Evaluation & WithNotes(const Aws::Map< Aws::String, EvaluationNote > &value)
Definition Evaluation.h:113
void SetNotes(const Aws::Map< Aws::String, EvaluationNote > &value)
Definition Evaluation.h:111
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Evaluation.h:157
Evaluation & WithEvaluationId(const Aws::String &value)
Definition Evaluation.h:56
const Aws::Map< Aws::String, EvaluationScore > & GetScores() const
Definition Evaluation.h:139
Evaluation & WithEvaluationId(const char *value)
Definition Evaluation.h:58
Evaluation & AddScores(const Aws::String &key, EvaluationScore &&value)
Definition Evaluation.h:147
Evaluation & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition Evaluation.h:162
Evaluation & AddScores(Aws::String &&key, const EvaluationScore &value)
Definition Evaluation.h:146
void SetEvaluationArn(const char *value)
Definition Evaluation.h:69
const Aws::String & GetEvaluationId() const
Definition Evaluation.h:51
Evaluation & AddScores(const char *key, const EvaluationScore &value)
Definition Evaluation.h:150
Evaluation & AddScores(Aws::String &&key, EvaluationScore &&value)
Definition Evaluation.h:148
const Aws::Map< Aws::String, EvaluationAnswerOutput > & GetAnswers() const
Definition Evaluation.h:91
AWS_CONNECT_API Evaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition Evaluation.h:160
Evaluation & WithEvaluationArn(Aws::String &&value)
Definition Evaluation.h:71
Evaluation & AddNotes(const char *key, const EvaluationNote &value)
Definition Evaluation.h:120
Evaluation & AddNotes(Aws::String &&key, EvaluationNote &&value)
Definition Evaluation.h:118
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition Evaluation.h:159
const EvaluationMetadata & GetMetadata() const
Definition Evaluation.h:79
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Evaluation.h:169
Evaluation & WithAnswers(Aws::Map< Aws::String, EvaluationAnswerOutput > &&value)
Definition Evaluation.h:96
Evaluation & WithMetadata(const EvaluationMetadata &value)
Definition Evaluation.h:83
Evaluation & AddAnswers(Aws::String &&key, EvaluationAnswerOutput &&value)
Definition Evaluation.h:100
Evaluation & WithScores(Aws::Map< Aws::String, EvaluationScore > &&value)
Definition Evaluation.h:144
Evaluation & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Evaluation.h:187
Evaluation & AddTags(const char *key, const char *value)
Definition Evaluation.h:194
void SetEvaluationArn(const Aws::String &value)
Definition Evaluation.h:67
void SetStatus(const EvaluationStatus &value)
Definition Evaluation.h:129
void SetScores(const Aws::Map< Aws::String, EvaluationScore > &value)
Definition Evaluation.h:141
Evaluation & WithScores(const Aws::Map< Aws::String, EvaluationScore > &value)
Definition Evaluation.h:143
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
Evaluation & WithEvaluationId(Aws::String &&value)
Definition Evaluation.h:57
void SetMetadata(EvaluationMetadata &&value)
Definition Evaluation.h:82
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue