AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
EvaluationSummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/ApplicationType.h>
9#include <aws/bedrock/model/EvaluationInferenceConfigSummary.h>
10#include <aws/bedrock/model/EvaluationJobStatus.h>
11#include <aws/bedrock/model/EvaluationJobType.h>
12#include <aws/bedrock/model/EvaluationTaskType.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Bedrock {
27namespace Model {
28
35 public:
36 AWS_BEDROCK_API EvaluationSummary() = default;
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetJobArn() const { return m_jobArn; }
46 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
47 template <typename JobArnT = Aws::String>
48 void SetJobArn(JobArnT&& value) {
49 m_jobArnHasBeenSet = true;
50 m_jobArn = std::forward<JobArnT>(value);
51 }
52 template <typename JobArnT = Aws::String>
54 SetJobArn(std::forward<JobArnT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetJobName() const { return m_jobName; }
64 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
65 template <typename JobNameT = Aws::String>
66 void SetJobName(JobNameT&& value) {
67 m_jobNameHasBeenSet = true;
68 m_jobName = std::forward<JobNameT>(value);
69 }
70 template <typename JobNameT = Aws::String>
72 SetJobName(std::forward<JobNameT>(value));
73 return *this;
74 }
76
78
81 inline EvaluationJobStatus GetStatus() const { return m_status; }
82 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
83 inline void SetStatus(EvaluationJobStatus value) {
84 m_statusHasBeenSet = true;
85 m_status = value;
86 }
88 SetStatus(value);
89 return *this;
90 }
92
94
97 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
98 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
99 template <typename CreationTimeT = Aws::Utils::DateTime>
101 m_creationTimeHasBeenSet = true;
102 m_creationTime = std::forward<CreationTimeT>(value);
103 }
104 template <typename CreationTimeT = Aws::Utils::DateTime>
106 SetCreationTime(std::forward<CreationTimeT>(value));
107 return *this;
108 }
110
112
115 inline EvaluationJobType GetJobType() const { return m_jobType; }
116 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
117 inline void SetJobType(EvaluationJobType value) {
118 m_jobTypeHasBeenSet = true;
119 m_jobType = value;
120 }
122 SetJobType(value);
123 return *this;
124 }
126
128
131 inline const Aws::Vector<EvaluationTaskType>& GetEvaluationTaskTypes() const { return m_evaluationTaskTypes; }
132 inline bool EvaluationTaskTypesHasBeenSet() const { return m_evaluationTaskTypesHasBeenSet; }
133 template <typename EvaluationTaskTypesT = Aws::Vector<EvaluationTaskType>>
135 m_evaluationTaskTypesHasBeenSet = true;
136 m_evaluationTaskTypes = std::forward<EvaluationTaskTypesT>(value);
137 }
138 template <typename EvaluationTaskTypesT = Aws::Vector<EvaluationTaskType>>
140 SetEvaluationTaskTypes(std::forward<EvaluationTaskTypesT>(value));
141 return *this;
142 }
144 m_evaluationTaskTypesHasBeenSet = true;
145 m_evaluationTaskTypes.push_back(value);
146 return *this;
147 }
149
151
155 inline const Aws::Vector<Aws::String>& GetEvaluatorModelIdentifiers() const { return m_evaluatorModelIdentifiers; }
156 inline bool EvaluatorModelIdentifiersHasBeenSet() const { return m_evaluatorModelIdentifiersHasBeenSet; }
157 template <typename EvaluatorModelIdentifiersT = Aws::Vector<Aws::String>>
159 m_evaluatorModelIdentifiersHasBeenSet = true;
160 m_evaluatorModelIdentifiers = std::forward<EvaluatorModelIdentifiersT>(value);
161 }
162 template <typename EvaluatorModelIdentifiersT = Aws::Vector<Aws::String>>
164 SetEvaluatorModelIdentifiers(std::forward<EvaluatorModelIdentifiersT>(value));
165 return *this;
166 }
167 template <typename EvaluatorModelIdentifiersT = Aws::String>
169 m_evaluatorModelIdentifiersHasBeenSet = true;
170 m_evaluatorModelIdentifiers.emplace_back(std::forward<EvaluatorModelIdentifiersT>(value));
171 return *this;
172 }
174
176
181 return m_customMetricsEvaluatorModelIdentifiers;
182 }
183 inline bool CustomMetricsEvaluatorModelIdentifiersHasBeenSet() const { return m_customMetricsEvaluatorModelIdentifiersHasBeenSet; }
184 template <typename CustomMetricsEvaluatorModelIdentifiersT = Aws::Vector<Aws::String>>
186 m_customMetricsEvaluatorModelIdentifiersHasBeenSet = true;
187 m_customMetricsEvaluatorModelIdentifiers = std::forward<CustomMetricsEvaluatorModelIdentifiersT>(value);
188 }
189 template <typename CustomMetricsEvaluatorModelIdentifiersT = Aws::Vector<Aws::String>>
191 SetCustomMetricsEvaluatorModelIdentifiers(std::forward<CustomMetricsEvaluatorModelIdentifiersT>(value));
192 return *this;
193 }
194 template <typename CustomMetricsEvaluatorModelIdentifiersT = Aws::String>
196 m_customMetricsEvaluatorModelIdentifiersHasBeenSet = true;
197 m_customMetricsEvaluatorModelIdentifiers.emplace_back(std::forward<CustomMetricsEvaluatorModelIdentifiersT>(value));
198 return *this;
199 }
201
203
207 inline const EvaluationInferenceConfigSummary& GetInferenceConfigSummary() const { return m_inferenceConfigSummary; }
208 inline bool InferenceConfigSummaryHasBeenSet() const { return m_inferenceConfigSummaryHasBeenSet; }
209 template <typename InferenceConfigSummaryT = EvaluationInferenceConfigSummary>
211 m_inferenceConfigSummaryHasBeenSet = true;
212 m_inferenceConfigSummary = std::forward<InferenceConfigSummaryT>(value);
213 }
214 template <typename InferenceConfigSummaryT = EvaluationInferenceConfigSummary>
216 SetInferenceConfigSummary(std::forward<InferenceConfigSummaryT>(value));
217 return *this;
218 }
220
222
226 inline ApplicationType GetApplicationType() const { return m_applicationType; }
227 inline bool ApplicationTypeHasBeenSet() const { return m_applicationTypeHasBeenSet; }
229 m_applicationTypeHasBeenSet = true;
230 m_applicationType = value;
231 }
233 SetApplicationType(value);
234 return *this;
235 }
237 private:
238 Aws::String m_jobArn;
239
240 Aws::String m_jobName;
241
243
244 Aws::Utils::DateTime m_creationTime{};
245
247
248 Aws::Vector<EvaluationTaskType> m_evaluationTaskTypes;
249
250 Aws::Vector<Aws::String> m_evaluatorModelIdentifiers;
251
252 Aws::Vector<Aws::String> m_customMetricsEvaluatorModelIdentifiers;
253
254 EvaluationInferenceConfigSummary m_inferenceConfigSummary;
255
256 ApplicationType m_applicationType{ApplicationType::NOT_SET};
257 bool m_jobArnHasBeenSet = false;
258 bool m_jobNameHasBeenSet = false;
259 bool m_statusHasBeenSet = false;
260 bool m_creationTimeHasBeenSet = false;
261 bool m_jobTypeHasBeenSet = false;
262 bool m_evaluationTaskTypesHasBeenSet = false;
263 bool m_evaluatorModelIdentifiersHasBeenSet = false;
264 bool m_customMetricsEvaluatorModelIdentifiersHasBeenSet = false;
265 bool m_inferenceConfigSummaryHasBeenSet = false;
266 bool m_applicationTypeHasBeenSet = false;
267};
268
269} // namespace Model
270} // namespace Bedrock
271} // namespace Aws
const Aws::Vector< Aws::String > & GetEvaluatorModelIdentifiers() const
const Aws::String & GetJobName() const
EvaluationSummary & WithJobArn(JobArnT &&value)
const Aws::String & GetJobArn() const
EvaluationSummary & WithApplicationType(ApplicationType value)
EvaluationSummary & WithEvaluationTaskTypes(EvaluationTaskTypesT &&value)
EvaluationSummary & WithJobName(JobNameT &&value)
EvaluationSummary & AddCustomMetricsEvaluatorModelIdentifiers(CustomMetricsEvaluatorModelIdentifiersT &&value)
void SetCreationTime(CreationTimeT &&value)
const EvaluationInferenceConfigSummary & GetInferenceConfigSummary() const
EvaluationJobStatus GetStatus() const
void SetCustomMetricsEvaluatorModelIdentifiers(CustomMetricsEvaluatorModelIdentifiersT &&value)
void SetEvaluationTaskTypes(EvaluationTaskTypesT &&value)
EvaluationSummary & AddEvaluatorModelIdentifiers(EvaluatorModelIdentifiersT &&value)
EvaluationSummary & WithCustomMetricsEvaluatorModelIdentifiers(CustomMetricsEvaluatorModelIdentifiersT &&value)
void SetApplicationType(ApplicationType value)
AWS_BEDROCK_API EvaluationSummary(Aws::Utils::Json::JsonView jsonValue)
EvaluationSummary & WithEvaluatorModelIdentifiers(EvaluatorModelIdentifiersT &&value)
EvaluationSummary & WithInferenceConfigSummary(InferenceConfigSummaryT &&value)
const Aws::Vector< EvaluationTaskType > & GetEvaluationTaskTypes() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API EvaluationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluatorModelIdentifiers(EvaluatorModelIdentifiersT &&value)
const Aws::Vector< Aws::String > & GetCustomMetricsEvaluatorModelIdentifiers() const
EvaluationSummary & AddEvaluationTaskTypes(EvaluationTaskType value)
void SetInferenceConfigSummary(InferenceConfigSummaryT &&value)
void SetJobType(EvaluationJobType value)
const Aws::Utils::DateTime & GetCreationTime() const
EvaluationSummary & WithStatus(EvaluationJobStatus value)
EvaluationSummary & WithJobType(EvaluationJobType value)
void SetStatus(EvaluationJobStatus value)
EvaluationSummary & WithCreationTime(CreationTimeT &&value)
AWS_BEDROCK_API EvaluationSummary()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue