AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetEvaluationJobResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/ApplicationType.h>
9#include <aws/bedrock/model/EvaluationConfig.h>
10#include <aws/bedrock/model/EvaluationInferenceConfig.h>
11#include <aws/bedrock/model/EvaluationJobStatus.h>
12#include <aws/bedrock/model/EvaluationJobType.h>
13#include <aws/bedrock/model/EvaluationOutputDataConfig.h>
14#include <aws/core/http/HttpResponse.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace Bedrock {
31namespace Model {
33 public:
34 AWS_BEDROCK_API GetEvaluationJobResult() = default;
37
39
42 inline const Aws::String& GetJobName() const { return m_jobName; }
43 template <typename JobNameT = Aws::String>
44 void SetJobName(JobNameT&& value) {
45 m_jobNameHasBeenSet = true;
46 m_jobName = std::forward<JobNameT>(value);
47 }
48 template <typename JobNameT = Aws::String>
50 SetJobName(std::forward<JobNameT>(value));
51 return *this;
52 }
54
56
59 inline EvaluationJobStatus GetStatus() const { return m_status; }
60 inline void SetStatus(EvaluationJobStatus value) {
61 m_statusHasBeenSet = true;
62 m_status = value;
63 }
65 SetStatus(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetJobArn() const { return m_jobArn; }
75 template <typename JobArnT = Aws::String>
76 void SetJobArn(JobArnT&& value) {
77 m_jobArnHasBeenSet = true;
78 m_jobArn = std::forward<JobArnT>(value);
79 }
80 template <typename JobArnT = Aws::String>
82 SetJobArn(std::forward<JobArnT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetJobDescription() const { return m_jobDescription; }
92 template <typename JobDescriptionT = Aws::String>
94 m_jobDescriptionHasBeenSet = true;
95 m_jobDescription = std::forward<JobDescriptionT>(value);
96 }
97 template <typename JobDescriptionT = Aws::String>
99 SetJobDescription(std::forward<JobDescriptionT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
110 template <typename RoleArnT = Aws::String>
111 void SetRoleArn(RoleArnT&& value) {
112 m_roleArnHasBeenSet = true;
113 m_roleArn = std::forward<RoleArnT>(value);
114 }
115 template <typename RoleArnT = Aws::String>
117 SetRoleArn(std::forward<RoleArnT>(value));
118 return *this;
119 }
121
123
127 inline const Aws::String& GetCustomerEncryptionKeyId() const { return m_customerEncryptionKeyId; }
128 template <typename CustomerEncryptionKeyIdT = Aws::String>
130 m_customerEncryptionKeyIdHasBeenSet = true;
131 m_customerEncryptionKeyId = std::forward<CustomerEncryptionKeyIdT>(value);
132 }
133 template <typename CustomerEncryptionKeyIdT = Aws::String>
135 SetCustomerEncryptionKeyId(std::forward<CustomerEncryptionKeyIdT>(value));
136 return *this;
137 }
139
141
144 inline EvaluationJobType GetJobType() const { return m_jobType; }
145 inline void SetJobType(EvaluationJobType value) {
146 m_jobTypeHasBeenSet = true;
147 m_jobType = value;
148 }
150 SetJobType(value);
151 return *this;
152 }
154
156
160 inline ApplicationType GetApplicationType() const { return m_applicationType; }
162 m_applicationTypeHasBeenSet = true;
163 m_applicationType = value;
164 }
166 SetApplicationType(value);
167 return *this;
168 }
170
172
176 inline const EvaluationConfig& GetEvaluationConfig() const { return m_evaluationConfig; }
177 template <typename EvaluationConfigT = EvaluationConfig>
179 m_evaluationConfigHasBeenSet = true;
180 m_evaluationConfig = std::forward<EvaluationConfigT>(value);
181 }
182 template <typename EvaluationConfigT = EvaluationConfig>
184 SetEvaluationConfig(std::forward<EvaluationConfigT>(value));
185 return *this;
186 }
188
190
194 inline const EvaluationInferenceConfig& GetInferenceConfig() const { return m_inferenceConfig; }
195 template <typename InferenceConfigT = EvaluationInferenceConfig>
197 m_inferenceConfigHasBeenSet = true;
198 m_inferenceConfig = std::forward<InferenceConfigT>(value);
199 }
200 template <typename InferenceConfigT = EvaluationInferenceConfig>
202 SetInferenceConfig(std::forward<InferenceConfigT>(value));
203 return *this;
204 }
206
208
212 inline const EvaluationOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
213 template <typename OutputDataConfigT = EvaluationOutputDataConfig>
215 m_outputDataConfigHasBeenSet = true;
216 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
217 }
218 template <typename OutputDataConfigT = EvaluationOutputDataConfig>
220 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
221 return *this;
222 }
224
226
229 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
230 template <typename CreationTimeT = Aws::Utils::DateTime>
232 m_creationTimeHasBeenSet = true;
233 m_creationTime = std::forward<CreationTimeT>(value);
234 }
235 template <typename CreationTimeT = Aws::Utils::DateTime>
237 SetCreationTime(std::forward<CreationTimeT>(value));
238 return *this;
239 }
241
243
246 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
247 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
249 m_lastModifiedTimeHasBeenSet = true;
250 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
251 }
252 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
254 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
255 return *this;
256 }
258
260
263 inline const Aws::Vector<Aws::String>& GetFailureMessages() const { return m_failureMessages; }
264 template <typename FailureMessagesT = Aws::Vector<Aws::String>>
266 m_failureMessagesHasBeenSet = true;
267 m_failureMessages = std::forward<FailureMessagesT>(value);
268 }
269 template <typename FailureMessagesT = Aws::Vector<Aws::String>>
271 SetFailureMessages(std::forward<FailureMessagesT>(value));
272 return *this;
273 }
274 template <typename FailureMessagesT = Aws::String>
276 m_failureMessagesHasBeenSet = true;
277 m_failureMessages.emplace_back(std::forward<FailureMessagesT>(value));
278 return *this;
279 }
281
283
284 inline const Aws::String& GetRequestId() const { return m_requestId; }
285 template <typename RequestIdT = Aws::String>
286 void SetRequestId(RequestIdT&& value) {
287 m_requestIdHasBeenSet = true;
288 m_requestId = std::forward<RequestIdT>(value);
289 }
290 template <typename RequestIdT = Aws::String>
292 SetRequestId(std::forward<RequestIdT>(value));
293 return *this;
294 }
296 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
297
298 private:
299 Aws::String m_jobName;
300
302
303 Aws::String m_jobArn;
304
305 Aws::String m_jobDescription;
306
307 Aws::String m_roleArn;
308
309 Aws::String m_customerEncryptionKeyId;
310
312
313 ApplicationType m_applicationType{ApplicationType::NOT_SET};
314
315 EvaluationConfig m_evaluationConfig;
316
317 EvaluationInferenceConfig m_inferenceConfig;
318
319 EvaluationOutputDataConfig m_outputDataConfig;
320
321 Aws::Utils::DateTime m_creationTime{};
322
323 Aws::Utils::DateTime m_lastModifiedTime{};
324
325 Aws::Vector<Aws::String> m_failureMessages;
326
327 Aws::String m_requestId;
328 Aws::Http::HttpResponseCode m_HttpResponseCode;
329 bool m_jobNameHasBeenSet = false;
330 bool m_statusHasBeenSet = false;
331 bool m_jobArnHasBeenSet = false;
332 bool m_jobDescriptionHasBeenSet = false;
333 bool m_roleArnHasBeenSet = false;
334 bool m_customerEncryptionKeyIdHasBeenSet = false;
335 bool m_jobTypeHasBeenSet = false;
336 bool m_applicationTypeHasBeenSet = false;
337 bool m_evaluationConfigHasBeenSet = false;
338 bool m_inferenceConfigHasBeenSet = false;
339 bool m_outputDataConfigHasBeenSet = false;
340 bool m_creationTimeHasBeenSet = false;
341 bool m_lastModifiedTimeHasBeenSet = false;
342 bool m_failureMessagesHasBeenSet = false;
343 bool m_requestIdHasBeenSet = false;
344};
345
346} // namespace Model
347} // namespace Bedrock
348} // namespace Aws
GetEvaluationJobResult & WithOutputDataConfig(OutputDataConfigT &&value)
AWS_BEDROCK_API GetEvaluationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCK_API GetEvaluationJobResult()=default
GetEvaluationJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetEvaluationJobResult & WithCustomerEncryptionKeyId(CustomerEncryptionKeyIdT &&value)
GetEvaluationJobResult & AddFailureMessages(FailureMessagesT &&value)
GetEvaluationJobResult & WithRoleArn(RoleArnT &&value)
void SetOutputDataConfig(OutputDataConfigT &&value)
GetEvaluationJobResult & WithJobArn(JobArnT &&value)
GetEvaluationJobResult & WithFailureMessages(FailureMessagesT &&value)
void SetEvaluationConfig(EvaluationConfigT &&value)
void SetCustomerEncryptionKeyId(CustomerEncryptionKeyIdT &&value)
const Aws::Vector< Aws::String > & GetFailureMessages() const
const EvaluationOutputDataConfig & GetOutputDataConfig() const
GetEvaluationJobResult & WithCreationTime(CreationTimeT &&value)
GetEvaluationJobResult & WithJobType(EvaluationJobType value)
GetEvaluationJobResult & WithInferenceConfig(InferenceConfigT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_BEDROCK_API GetEvaluationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEvaluationJobResult & WithRequestId(RequestIdT &&value)
GetEvaluationJobResult & WithJobDescription(JobDescriptionT &&value)
GetEvaluationJobResult & WithApplicationType(ApplicationType value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
GetEvaluationJobResult & WithEvaluationConfig(EvaluationConfigT &&value)
GetEvaluationJobResult & WithJobName(JobNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
GetEvaluationJobResult & WithStatus(EvaluationJobStatus value)
const EvaluationInferenceConfig & GetInferenceConfig() const
const EvaluationConfig & GetEvaluationConfig() const
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