AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
GetEvaluationJobResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/EvaluationJobStatus.h>
10#include <aws/bedrock/model/EvaluationJobType.h>
11#include <aws/bedrock/model/ApplicationType.h>
12#include <aws/bedrock/model/EvaluationConfig.h>
13#include <aws/bedrock/model/EvaluationInferenceConfig.h>
14#include <aws/bedrock/model/EvaluationOutputDataConfig.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace Bedrock
32{
33namespace Model
34{
36 {
37 public:
38 AWS_BEDROCK_API GetEvaluationJobResult() = default;
41
42
44
47 inline const Aws::String& GetJobName() const { return m_jobName; }
48 template<typename JobNameT = Aws::String>
49 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
50 template<typename JobNameT = Aws::String>
51 GetEvaluationJobResult& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
53
55
58 inline EvaluationJobStatus GetStatus() const { return m_status; }
59 inline void SetStatus(EvaluationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
60 inline GetEvaluationJobResult& WithStatus(EvaluationJobStatus value) { SetStatus(value); return *this;}
62
64
67 inline const Aws::String& GetJobArn() const { return m_jobArn; }
68 template<typename JobArnT = Aws::String>
69 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
70 template<typename JobArnT = Aws::String>
71 GetEvaluationJobResult& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
73
75
78 inline const Aws::String& GetJobDescription() const { return m_jobDescription; }
79 template<typename JobDescriptionT = Aws::String>
80 void SetJobDescription(JobDescriptionT&& value) { m_jobDescriptionHasBeenSet = true; m_jobDescription = std::forward<JobDescriptionT>(value); }
81 template<typename JobDescriptionT = Aws::String>
82 GetEvaluationJobResult& WithJobDescription(JobDescriptionT&& value) { SetJobDescription(std::forward<JobDescriptionT>(value)); return *this;}
84
86
90 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
91 template<typename RoleArnT = Aws::String>
92 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
93 template<typename RoleArnT = Aws::String>
94 GetEvaluationJobResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
96
98
102 inline const Aws::String& GetCustomerEncryptionKeyId() const { return m_customerEncryptionKeyId; }
103 template<typename CustomerEncryptionKeyIdT = Aws::String>
104 void SetCustomerEncryptionKeyId(CustomerEncryptionKeyIdT&& value) { m_customerEncryptionKeyIdHasBeenSet = true; m_customerEncryptionKeyId = std::forward<CustomerEncryptionKeyIdT>(value); }
105 template<typename CustomerEncryptionKeyIdT = Aws::String>
106 GetEvaluationJobResult& WithCustomerEncryptionKeyId(CustomerEncryptionKeyIdT&& value) { SetCustomerEncryptionKeyId(std::forward<CustomerEncryptionKeyIdT>(value)); return *this;}
108
110
113 inline EvaluationJobType GetJobType() const { return m_jobType; }
114 inline void SetJobType(EvaluationJobType value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
115 inline GetEvaluationJobResult& WithJobType(EvaluationJobType value) { SetJobType(value); return *this;}
117
119
123 inline ApplicationType GetApplicationType() const { return m_applicationType; }
124 inline void SetApplicationType(ApplicationType value) { m_applicationTypeHasBeenSet = true; m_applicationType = value; }
127
129
133 inline const EvaluationConfig& GetEvaluationConfig() const { return m_evaluationConfig; }
134 template<typename EvaluationConfigT = EvaluationConfig>
135 void SetEvaluationConfig(EvaluationConfigT&& value) { m_evaluationConfigHasBeenSet = true; m_evaluationConfig = std::forward<EvaluationConfigT>(value); }
136 template<typename EvaluationConfigT = EvaluationConfig>
137 GetEvaluationJobResult& WithEvaluationConfig(EvaluationConfigT&& value) { SetEvaluationConfig(std::forward<EvaluationConfigT>(value)); return *this;}
139
141
145 inline const EvaluationInferenceConfig& GetInferenceConfig() const { return m_inferenceConfig; }
146 template<typename InferenceConfigT = EvaluationInferenceConfig>
147 void SetInferenceConfig(InferenceConfigT&& value) { m_inferenceConfigHasBeenSet = true; m_inferenceConfig = std::forward<InferenceConfigT>(value); }
148 template<typename InferenceConfigT = EvaluationInferenceConfig>
149 GetEvaluationJobResult& WithInferenceConfig(InferenceConfigT&& value) { SetInferenceConfig(std::forward<InferenceConfigT>(value)); return *this;}
151
153
157 inline const EvaluationOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
158 template<typename OutputDataConfigT = EvaluationOutputDataConfig>
159 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
160 template<typename OutputDataConfigT = EvaluationOutputDataConfig>
161 GetEvaluationJobResult& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
163
165
168 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
169 template<typename CreationTimeT = Aws::Utils::DateTime>
170 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
171 template<typename CreationTimeT = Aws::Utils::DateTime>
172 GetEvaluationJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
174
176
179 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
180 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
181 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
182 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
183 GetEvaluationJobResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
185
187
190 inline const Aws::Vector<Aws::String>& GetFailureMessages() const { return m_failureMessages; }
191 template<typename FailureMessagesT = Aws::Vector<Aws::String>>
192 void SetFailureMessages(FailureMessagesT&& value) { m_failureMessagesHasBeenSet = true; m_failureMessages = std::forward<FailureMessagesT>(value); }
193 template<typename FailureMessagesT = Aws::Vector<Aws::String>>
194 GetEvaluationJobResult& WithFailureMessages(FailureMessagesT&& value) { SetFailureMessages(std::forward<FailureMessagesT>(value)); return *this;}
195 template<typename FailureMessagesT = Aws::String>
196 GetEvaluationJobResult& AddFailureMessages(FailureMessagesT&& value) { m_failureMessagesHasBeenSet = true; m_failureMessages.emplace_back(std::forward<FailureMessagesT>(value)); return *this; }
198
200
201 inline const Aws::String& GetRequestId() const { return m_requestId; }
202 template<typename RequestIdT = Aws::String>
203 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
204 template<typename RequestIdT = Aws::String>
205 GetEvaluationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
207 private:
208
209 Aws::String m_jobName;
210 bool m_jobNameHasBeenSet = false;
211
213 bool m_statusHasBeenSet = false;
214
215 Aws::String m_jobArn;
216 bool m_jobArnHasBeenSet = false;
217
218 Aws::String m_jobDescription;
219 bool m_jobDescriptionHasBeenSet = false;
220
221 Aws::String m_roleArn;
222 bool m_roleArnHasBeenSet = false;
223
224 Aws::String m_customerEncryptionKeyId;
225 bool m_customerEncryptionKeyIdHasBeenSet = false;
226
228 bool m_jobTypeHasBeenSet = false;
229
230 ApplicationType m_applicationType{ApplicationType::NOT_SET};
231 bool m_applicationTypeHasBeenSet = false;
232
233 EvaluationConfig m_evaluationConfig;
234 bool m_evaluationConfigHasBeenSet = false;
235
236 EvaluationInferenceConfig m_inferenceConfig;
237 bool m_inferenceConfigHasBeenSet = false;
238
239 EvaluationOutputDataConfig m_outputDataConfig;
240 bool m_outputDataConfigHasBeenSet = false;
241
242 Aws::Utils::DateTime m_creationTime{};
243 bool m_creationTimeHasBeenSet = false;
244
245 Aws::Utils::DateTime m_lastModifiedTime{};
246 bool m_lastModifiedTimeHasBeenSet = false;
247
248 Aws::Vector<Aws::String> m_failureMessages;
249 bool m_failureMessagesHasBeenSet = false;
250
251 Aws::String m_requestId;
252 bool m_requestIdHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace Bedrock
257} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue