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>
53 template<
typename EvaluationIdT = Aws::String>
54 void SetEvaluationId(EvaluationIdT&& value) { m_evaluationIdHasBeenSet =
true; m_evaluationId = std::forward<EvaluationIdT>(value); }
55 template<
typename EvaluationIdT = Aws::String>
65 template<
typename EvaluationArnT = Aws::String>
66 void SetEvaluationArn(EvaluationArnT&& value) { m_evaluationArnHasBeenSet =
true; m_evaluationArn = std::forward<EvaluationArnT>(value); }
67 template<
typename EvaluationArnT = Aws::String>
77 template<
typename MetadataT = EvaluationMetadata>
78 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
79 template<
typename MetadataT = EvaluationMetadata>
89 template<
typename AnswersT = Aws::Map<Aws::String, EvaluationAnswerOutput>>
90 void SetAnswers(AnswersT&& value) { m_answersHasBeenSet =
true; m_answers = std::forward<AnswersT>(value); }
91 template<
typename AnswersT = Aws::Map<Aws::String, EvaluationAnswerOutput>>
93 template<
typename AnswersKeyT = Aws::String,
typename AnswersValueT = EvaluationAnswerOutput>
95 m_answersHasBeenSet =
true; m_answers.emplace(std::forward<AnswersKeyT>(key), std::forward<AnswersValueT>(value));
return *
this;
105 template<
typename NotesT = Aws::Map<Aws::String, EvaluationNote>>
106 void SetNotes(NotesT&& value) { m_notesHasBeenSet =
true; m_notes = std::forward<NotesT>(value); }
107 template<
typename NotesT = Aws::Map<Aws::String, EvaluationNote>>
109 template<
typename NotesKeyT = Aws::String,
typename NotesValueT = EvaluationNote>
111 m_notesHasBeenSet =
true; m_notes.emplace(std::forward<NotesKeyT>(key), std::forward<NotesValueT>(value));
return *
this;
131 template<
typename ScoresT = Aws::Map<Aws::String, EvaluationScore>>
132 void SetScores(ScoresT&& value) { m_scoresHasBeenSet =
true; m_scores = std::forward<ScoresT>(value); }
133 template<
typename ScoresT = Aws::Map<Aws::String, EvaluationScore>>
135 template<
typename ScoresKeyT = Aws::String,
typename ScoresValueT = EvaluationScore>
137 m_scoresHasBeenSet =
true; m_scores.emplace(std::forward<ScoresKeyT>(key), std::forward<ScoresValueT>(value));
return *
this;
147 template<
typename CreatedTimeT = Aws::Utils::DateTime>
148 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
149 template<
typename CreatedTimeT = Aws::Utils::DateTime>
159 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
160 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
161 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
172 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
174 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
178 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
184 bool m_evaluationIdHasBeenSet =
false;
187 bool m_evaluationArnHasBeenSet =
false;
190 bool m_metadataHasBeenSet =
false;
193 bool m_answersHasBeenSet =
false;
196 bool m_notesHasBeenSet =
false;
199 bool m_statusHasBeenSet =
false;
202 bool m_scoresHasBeenSet =
false;
205 bool m_createdTimeHasBeenSet =
false;
208 bool m_lastModifiedTimeHasBeenSet =
false;
211 bool m_tagsHasBeenSet =
false;
Evaluation & WithMetadata(MetadataT &&value)
void SetAnswers(AnswersT &&value)
const Aws::Map< Aws::String, EvaluationNote > & GetNotes() const
void SetStatus(EvaluationStatus value)
bool LastModifiedTimeHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool EvaluationArnHasBeenSet() const
bool ScoresHasBeenSet() const
bool CreatedTimeHasBeenSet() const
bool StatusHasBeenSet() const
Evaluation & WithAnswers(AnswersT &&value)
Evaluation & WithStatus(EvaluationStatus value)
Evaluation & WithEvaluationArn(EvaluationArnT &&value)
void SetEvaluationId(EvaluationIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Evaluation & AddNotes(NotesKeyT &&key, NotesValueT &&value)
bool MetadataHasBeenSet() const
AWS_CONNECT_API Evaluation(Aws::Utils::Json::JsonView jsonValue)
Evaluation & WithNotes(NotesT &&value)
Evaluation & WithTags(TagsT &&value)
void SetNotes(NotesT &&value)
void SetTags(TagsT &&value)
Evaluation & WithScores(ScoresT &&value)
Evaluation & WithLastModifiedTime(LastModifiedTimeT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetEvaluationArn() const
Evaluation & AddAnswers(AnswersKeyT &&key, AnswersValueT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::Map< Aws::String, EvaluationScore > & GetScores() const
bool NotesHasBeenSet() const
AWS_CONNECT_API Evaluation()=default
void SetEvaluationArn(EvaluationArnT &&value)
bool EvaluationIdHasBeenSet() const
const Aws::String & GetEvaluationId() const
EvaluationStatus GetStatus() const
void SetScores(ScoresT &&value)
Evaluation & AddScores(ScoresKeyT &&key, ScoresValueT &&value)
const Aws::Map< Aws::String, EvaluationAnswerOutput > & GetAnswers() const
AWS_CONNECT_API Evaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
const EvaluationMetadata & GetMetadata() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetMetadata(MetadataT &&value)
Evaluation & AddTags(TagsKeyT &&key, TagsValueT &&value)
Evaluation & WithCreatedTime(CreatedTimeT &&value)
Evaluation & WithEvaluationId(EvaluationIdT &&value)
void SetCreatedTime(CreatedTimeT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool AnswersHasBeenSet() const
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