AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace Bedrock {
30namespace Model {
32 public:
33 AWS_BEDROCK_API GetEvaluationJobResult() = default;
36
38
41 inline const Aws::String& GetJobName() const { return m_jobName; }
42 template <typename JobNameT = Aws::String>
43 void SetJobName(JobNameT&& value) {
44 m_jobNameHasBeenSet = true;
45 m_jobName = std::forward<JobNameT>(value);
46 }
47 template <typename JobNameT = Aws::String>
49 SetJobName(std::forward<JobNameT>(value));
50 return *this;
51 }
53
55
58 inline EvaluationJobStatus GetStatus() const { return m_status; }
59 inline void SetStatus(EvaluationJobStatus value) {
60 m_statusHasBeenSet = true;
61 m_status = value;
62 }
64 SetStatus(value);
65 return *this;
66 }
68
70
73 inline const Aws::String& GetJobArn() const { return m_jobArn; }
74 template <typename JobArnT = Aws::String>
75 void SetJobArn(JobArnT&& value) {
76 m_jobArnHasBeenSet = true;
77 m_jobArn = std::forward<JobArnT>(value);
78 }
79 template <typename JobArnT = Aws::String>
81 SetJobArn(std::forward<JobArnT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetJobDescription() const { return m_jobDescription; }
91 template <typename JobDescriptionT = Aws::String>
93 m_jobDescriptionHasBeenSet = true;
94 m_jobDescription = std::forward<JobDescriptionT>(value);
95 }
96 template <typename JobDescriptionT = Aws::String>
98 SetJobDescription(std::forward<JobDescriptionT>(value));
99 return *this;
100 }
102
104
108 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
109 template <typename RoleArnT = Aws::String>
110 void SetRoleArn(RoleArnT&& value) {
111 m_roleArnHasBeenSet = true;
112 m_roleArn = std::forward<RoleArnT>(value);
113 }
114 template <typename RoleArnT = Aws::String>
116 SetRoleArn(std::forward<RoleArnT>(value));
117 return *this;
118 }
120
122
126 inline const Aws::String& GetCustomerEncryptionKeyId() const { return m_customerEncryptionKeyId; }
127 template <typename CustomerEncryptionKeyIdT = Aws::String>
129 m_customerEncryptionKeyIdHasBeenSet = true;
130 m_customerEncryptionKeyId = std::forward<CustomerEncryptionKeyIdT>(value);
131 }
132 template <typename CustomerEncryptionKeyIdT = Aws::String>
134 SetCustomerEncryptionKeyId(std::forward<CustomerEncryptionKeyIdT>(value));
135 return *this;
136 }
138
140
143 inline EvaluationJobType GetJobType() const { return m_jobType; }
144 inline void SetJobType(EvaluationJobType value) {
145 m_jobTypeHasBeenSet = true;
146 m_jobType = value;
147 }
149 SetJobType(value);
150 return *this;
151 }
153
155
159 inline ApplicationType GetApplicationType() const { return m_applicationType; }
161 m_applicationTypeHasBeenSet = true;
162 m_applicationType = value;
163 }
165 SetApplicationType(value);
166 return *this;
167 }
169
171
175 inline const EvaluationConfig& GetEvaluationConfig() const { return m_evaluationConfig; }
176 template <typename EvaluationConfigT = EvaluationConfig>
178 m_evaluationConfigHasBeenSet = true;
179 m_evaluationConfig = std::forward<EvaluationConfigT>(value);
180 }
181 template <typename EvaluationConfigT = EvaluationConfig>
183 SetEvaluationConfig(std::forward<EvaluationConfigT>(value));
184 return *this;
185 }
187
189
193 inline const EvaluationInferenceConfig& GetInferenceConfig() const { return m_inferenceConfig; }
194 template <typename InferenceConfigT = EvaluationInferenceConfig>
196 m_inferenceConfigHasBeenSet = true;
197 m_inferenceConfig = std::forward<InferenceConfigT>(value);
198 }
199 template <typename InferenceConfigT = EvaluationInferenceConfig>
201 SetInferenceConfig(std::forward<InferenceConfigT>(value));
202 return *this;
203 }
205
207
211 inline const EvaluationOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
212 template <typename OutputDataConfigT = EvaluationOutputDataConfig>
214 m_outputDataConfigHasBeenSet = true;
215 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
216 }
217 template <typename OutputDataConfigT = EvaluationOutputDataConfig>
219 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
229 template <typename CreationTimeT = Aws::Utils::DateTime>
231 m_creationTimeHasBeenSet = true;
232 m_creationTime = std::forward<CreationTimeT>(value);
233 }
234 template <typename CreationTimeT = Aws::Utils::DateTime>
236 SetCreationTime(std::forward<CreationTimeT>(value));
237 return *this;
238 }
240
242
245 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
246 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
248 m_lastModifiedTimeHasBeenSet = true;
249 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
250 }
251 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
253 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
254 return *this;
255 }
257
259
262 inline const Aws::Vector<Aws::String>& GetFailureMessages() const { return m_failureMessages; }
263 template <typename FailureMessagesT = Aws::Vector<Aws::String>>
265 m_failureMessagesHasBeenSet = true;
266 m_failureMessages = std::forward<FailureMessagesT>(value);
267 }
268 template <typename FailureMessagesT = Aws::Vector<Aws::String>>
270 SetFailureMessages(std::forward<FailureMessagesT>(value));
271 return *this;
272 }
273 template <typename FailureMessagesT = Aws::String>
275 m_failureMessagesHasBeenSet = true;
276 m_failureMessages.emplace_back(std::forward<FailureMessagesT>(value));
277 return *this;
278 }
280
282
283 inline const Aws::String& GetRequestId() const { return m_requestId; }
284 template <typename RequestIdT = Aws::String>
285 void SetRequestId(RequestIdT&& value) {
286 m_requestIdHasBeenSet = true;
287 m_requestId = std::forward<RequestIdT>(value);
288 }
289 template <typename RequestIdT = Aws::String>
291 SetRequestId(std::forward<RequestIdT>(value));
292 return *this;
293 }
295 private:
296 Aws::String m_jobName;
297
299
300 Aws::String m_jobArn;
301
302 Aws::String m_jobDescription;
303
304 Aws::String m_roleArn;
305
306 Aws::String m_customerEncryptionKeyId;
307
309
310 ApplicationType m_applicationType{ApplicationType::NOT_SET};
311
312 EvaluationConfig m_evaluationConfig;
313
314 EvaluationInferenceConfig m_inferenceConfig;
315
316 EvaluationOutputDataConfig m_outputDataConfig;
317
318 Aws::Utils::DateTime m_creationTime{};
319
320 Aws::Utils::DateTime m_lastModifiedTime{};
321
322 Aws::Vector<Aws::String> m_failureMessages;
323
324 Aws::String m_requestId;
325 bool m_jobNameHasBeenSet = false;
326 bool m_statusHasBeenSet = false;
327 bool m_jobArnHasBeenSet = false;
328 bool m_jobDescriptionHasBeenSet = false;
329 bool m_roleArnHasBeenSet = false;
330 bool m_customerEncryptionKeyIdHasBeenSet = false;
331 bool m_jobTypeHasBeenSet = false;
332 bool m_applicationTypeHasBeenSet = false;
333 bool m_evaluationConfigHasBeenSet = false;
334 bool m_inferenceConfigHasBeenSet = false;
335 bool m_outputDataConfigHasBeenSet = false;
336 bool m_creationTimeHasBeenSet = false;
337 bool m_lastModifiedTimeHasBeenSet = false;
338 bool m_failureMessagesHasBeenSet = false;
339 bool m_requestIdHasBeenSet = false;
340};
341
342} // namespace Model
343} // namespace Bedrock
344} // 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)
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