AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/EvaluationConfig.h>
12#include <aws/bedrock/model/EvaluationInferenceConfig.h>
13#include <aws/bedrock/model/EvaluationOutputDataConfig.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace Bedrock
31{
32namespace Model
33{
35 {
36 public:
37 AWS_BEDROCK_API GetEvaluationJobResult();
40
41
43
46 inline const Aws::String& GetJobName() const{ return m_jobName; }
47 inline void SetJobName(const Aws::String& value) { m_jobName = value; }
48 inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
49 inline void SetJobName(const char* value) { m_jobName.assign(value); }
50 inline GetEvaluationJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
51 inline GetEvaluationJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
52 inline GetEvaluationJobResult& WithJobName(const char* value) { SetJobName(value); return *this;}
54
56
59 inline const EvaluationJobStatus& GetStatus() const{ return m_status; }
60 inline void SetStatus(const EvaluationJobStatus& value) { m_status = value; }
61 inline void SetStatus(EvaluationJobStatus&& value) { m_status = std::move(value); }
62 inline GetEvaluationJobResult& WithStatus(const EvaluationJobStatus& value) { SetStatus(value); return *this;}
63 inline GetEvaluationJobResult& WithStatus(EvaluationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
71 inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
72 inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
73 inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
74 inline GetEvaluationJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
75 inline GetEvaluationJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
76 inline GetEvaluationJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
78
80
83 inline const Aws::String& GetJobDescription() const{ return m_jobDescription; }
84 inline void SetJobDescription(const Aws::String& value) { m_jobDescription = value; }
85 inline void SetJobDescription(Aws::String&& value) { m_jobDescription = std::move(value); }
86 inline void SetJobDescription(const char* value) { m_jobDescription.assign(value); }
87 inline GetEvaluationJobResult& WithJobDescription(const Aws::String& value) { SetJobDescription(value); return *this;}
88 inline GetEvaluationJobResult& WithJobDescription(Aws::String&& value) { SetJobDescription(std::move(value)); return *this;}
89 inline GetEvaluationJobResult& WithJobDescription(const char* value) { SetJobDescription(value); return *this;}
91
93
97 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
98 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
99 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
100 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
101 inline GetEvaluationJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
102 inline GetEvaluationJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
103 inline GetEvaluationJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
105
107
111 inline const Aws::String& GetCustomerEncryptionKeyId() const{ return m_customerEncryptionKeyId; }
112 inline void SetCustomerEncryptionKeyId(const Aws::String& value) { m_customerEncryptionKeyId = value; }
113 inline void SetCustomerEncryptionKeyId(Aws::String&& value) { m_customerEncryptionKeyId = std::move(value); }
114 inline void SetCustomerEncryptionKeyId(const char* value) { m_customerEncryptionKeyId.assign(value); }
117 inline GetEvaluationJobResult& WithCustomerEncryptionKeyId(const char* value) { SetCustomerEncryptionKeyId(value); return *this;}
119
121
124 inline const EvaluationJobType& GetJobType() const{ return m_jobType; }
125 inline void SetJobType(const EvaluationJobType& value) { m_jobType = value; }
126 inline void SetJobType(EvaluationJobType&& value) { m_jobType = std::move(value); }
127 inline GetEvaluationJobResult& WithJobType(const EvaluationJobType& value) { SetJobType(value); return *this;}
128 inline GetEvaluationJobResult& WithJobType(EvaluationJobType&& value) { SetJobType(std::move(value)); return *this;}
130
132
137 inline const EvaluationConfig& GetEvaluationConfig() const{ return m_evaluationConfig; }
138 inline void SetEvaluationConfig(const EvaluationConfig& value) { m_evaluationConfig = value; }
139 inline void SetEvaluationConfig(EvaluationConfig&& value) { m_evaluationConfig = std::move(value); }
141 inline GetEvaluationJobResult& WithEvaluationConfig(EvaluationConfig&& value) { SetEvaluationConfig(std::move(value)); return *this;}
143
145
148 inline const EvaluationInferenceConfig& GetInferenceConfig() const{ return m_inferenceConfig; }
149 inline void SetInferenceConfig(const EvaluationInferenceConfig& value) { m_inferenceConfig = value; }
150 inline void SetInferenceConfig(EvaluationInferenceConfig&& value) { m_inferenceConfig = std::move(value); }
154
156
159 inline const EvaluationOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
160 inline void SetOutputDataConfig(const EvaluationOutputDataConfig& value) { m_outputDataConfig = value; }
161 inline void SetOutputDataConfig(EvaluationOutputDataConfig&& value) { m_outputDataConfig = std::move(value); }
165
167
170 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
171 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
172 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
174 inline GetEvaluationJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
176
178
181 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
182 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
183 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
185 inline GetEvaluationJobResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
187
189
192 inline const Aws::Vector<Aws::String>& GetFailureMessages() const{ return m_failureMessages; }
193 inline void SetFailureMessages(const Aws::Vector<Aws::String>& value) { m_failureMessages = value; }
194 inline void SetFailureMessages(Aws::Vector<Aws::String>&& value) { m_failureMessages = std::move(value); }
197 inline GetEvaluationJobResult& AddFailureMessages(const Aws::String& value) { m_failureMessages.push_back(value); return *this; }
198 inline GetEvaluationJobResult& AddFailureMessages(Aws::String&& value) { m_failureMessages.push_back(std::move(value)); return *this; }
199 inline GetEvaluationJobResult& AddFailureMessages(const char* value) { m_failureMessages.push_back(value); return *this; }
201
203
204 inline const Aws::String& GetRequestId() const{ return m_requestId; }
205 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
206 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
207 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
208 inline GetEvaluationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
209 inline GetEvaluationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
210 inline GetEvaluationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
212 private:
213
214 Aws::String m_jobName;
215
216 EvaluationJobStatus m_status;
217
218 Aws::String m_jobArn;
219
220 Aws::String m_jobDescription;
221
222 Aws::String m_roleArn;
223
224 Aws::String m_customerEncryptionKeyId;
225
226 EvaluationJobType m_jobType;
227
228 EvaluationConfig m_evaluationConfig;
229
230 EvaluationInferenceConfig m_inferenceConfig;
231
232 EvaluationOutputDataConfig m_outputDataConfig;
233
234 Aws::Utils::DateTime m_creationTime;
235
236 Aws::Utils::DateTime m_lastModifiedTime;
237
238 Aws::Vector<Aws::String> m_failureMessages;
239
240 Aws::String m_requestId;
241 };
242
243} // namespace Model
244} // namespace Bedrock
245} // namespace Aws
GetEvaluationJobResult & WithInferenceConfig(EvaluationInferenceConfig &&value)
AWS_BEDROCK_API GetEvaluationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEvaluationJobResult & WithJobArn(const char *value)
GetEvaluationJobResult & WithJobDescription(const Aws::String &value)
GetEvaluationJobResult & WithOutputDataConfig(const EvaluationOutputDataConfig &value)
GetEvaluationJobResult & WithRoleArn(const Aws::String &value)
GetEvaluationJobResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
GetEvaluationJobResult & WithEvaluationConfig(const EvaluationConfig &value)
GetEvaluationJobResult & WithJobDescription(Aws::String &&value)
GetEvaluationJobResult & WithJobName(const Aws::String &value)
void SetJobType(const EvaluationJobType &value)
GetEvaluationJobResult & WithCreationTime(Aws::Utils::DateTime &&value)
GetEvaluationJobResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetFailureMessages(Aws::Vector< Aws::String > &&value)
GetEvaluationJobResult & WithStatus(const EvaluationJobStatus &value)
void SetOutputDataConfig(const EvaluationOutputDataConfig &value)
void SetFailureMessages(const Aws::Vector< Aws::String > &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetInferenceConfig(const EvaluationInferenceConfig &value)
void SetStatus(const EvaluationJobStatus &value)
GetEvaluationJobResult & WithStatus(EvaluationJobStatus &&value)
const Aws::Vector< Aws::String > & GetFailureMessages() const
void SetEvaluationConfig(const EvaluationConfig &value)
GetEvaluationJobResult & WithEvaluationConfig(EvaluationConfig &&value)
GetEvaluationJobResult & WithJobType(EvaluationJobType &&value)
GetEvaluationJobResult & WithRequestId(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
GetEvaluationJobResult & WithJobArn(Aws::String &&value)
const EvaluationOutputDataConfig & GetOutputDataConfig() const
GetEvaluationJobResult & WithJobName(const char *value)
const EvaluationJobStatus & GetStatus() const
void SetOutputDataConfig(EvaluationOutputDataConfig &&value)
GetEvaluationJobResult & WithCustomerEncryptionKeyId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_BEDROCK_API GetEvaluationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEvaluationJobResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetEvaluationJobResult & WithCustomerEncryptionKeyId(Aws::String &&value)
GetEvaluationJobResult & AddFailureMessages(Aws::String &&value)
GetEvaluationJobResult & WithJobName(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
GetEvaluationJobResult & WithInferenceConfig(const EvaluationInferenceConfig &value)
GetEvaluationJobResult & WithOutputDataConfig(EvaluationOutputDataConfig &&value)
GetEvaluationJobResult & WithFailureMessages(const Aws::Vector< Aws::String > &value)
GetEvaluationJobResult & WithRequestId(const char *value)
GetEvaluationJobResult & WithRequestId(const Aws::String &value)
GetEvaluationJobResult & AddFailureMessages(const Aws::String &value)
GetEvaluationJobResult & WithCustomerEncryptionKeyId(const char *value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
GetEvaluationJobResult & WithRoleArn(const char *value)
GetEvaluationJobResult & WithRoleArn(Aws::String &&value)
GetEvaluationJobResult & WithFailureMessages(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetCreationTime() const
GetEvaluationJobResult & AddFailureMessages(const char *value)
GetEvaluationJobResult & WithJobType(const EvaluationJobType &value)
GetEvaluationJobResult & WithJobArn(const Aws::String &value)
void SetStatus(EvaluationJobStatus &&value)
void SetInferenceConfig(EvaluationInferenceConfig &&value)
void SetCustomerEncryptionKeyId(const Aws::String &value)
const EvaluationInferenceConfig & GetInferenceConfig() const
const EvaluationConfig & GetEvaluationConfig() const
GetEvaluationJobResult & WithJobDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue