AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
GetModelInvocationJobResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/ModelInvocationJobInputDataConfig.h>
9#include <aws/bedrock/model/ModelInvocationJobOutputDataConfig.h>
10#include <aws/bedrock/model/ModelInvocationJobStatus.h>
11#include <aws/bedrock/model/VpcConfig.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Bedrock {
27namespace Model {
29 public:
30 AWS_BEDROCK_API GetModelInvocationJobResult() = default;
33
35
38 inline const Aws::String& GetJobArn() const { return m_jobArn; }
39 template <typename JobArnT = Aws::String>
40 void SetJobArn(JobArnT&& value) {
41 m_jobArnHasBeenSet = true;
42 m_jobArn = std::forward<JobArnT>(value);
43 }
44 template <typename JobArnT = Aws::String>
46 SetJobArn(std::forward<JobArnT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetJobName() const { return m_jobName; }
56 template <typename JobNameT = Aws::String>
57 void SetJobName(JobNameT&& value) {
58 m_jobNameHasBeenSet = true;
59 m_jobName = std::forward<JobNameT>(value);
60 }
61 template <typename JobNameT = Aws::String>
63 SetJobName(std::forward<JobNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetModelId() const { return m_modelId; }
73 template <typename ModelIdT = Aws::String>
74 void SetModelId(ModelIdT&& value) {
75 m_modelIdHasBeenSet = true;
76 m_modelId = std::forward<ModelIdT>(value);
77 }
78 template <typename ModelIdT = Aws::String>
80 SetModelId(std::forward<ModelIdT>(value));
81 return *this;
82 }
84
86
93 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
94 template <typename ClientRequestTokenT = Aws::String>
95 void SetClientRequestToken(ClientRequestTokenT&& value) {
96 m_clientRequestTokenHasBeenSet = true;
97 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
98 }
99 template <typename ClientRequestTokenT = Aws::String>
101 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
102 return *this;
103 }
105
107
114 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
115 template <typename RoleArnT = Aws::String>
116 void SetRoleArn(RoleArnT&& value) {
117 m_roleArnHasBeenSet = true;
118 m_roleArn = std::forward<RoleArnT>(value);
119 }
120 template <typename RoleArnT = Aws::String>
122 SetRoleArn(std::forward<RoleArnT>(value));
123 return *this;
124 }
126
128
158 inline ModelInvocationJobStatus GetStatus() const { return m_status; }
160 m_statusHasBeenSet = true;
161 m_status = value;
162 }
164 SetStatus(value);
165 return *this;
166 }
168
170
174 inline const Aws::String& GetMessage() const { return m_message; }
175 template <typename MessageT = Aws::String>
176 void SetMessage(MessageT&& value) {
177 m_messageHasBeenSet = true;
178 m_message = std::forward<MessageT>(value);
179 }
180 template <typename MessageT = Aws::String>
182 SetMessage(std::forward<MessageT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
192 template <typename SubmitTimeT = Aws::Utils::DateTime>
193 void SetSubmitTime(SubmitTimeT&& value) {
194 m_submitTimeHasBeenSet = true;
195 m_submitTime = std::forward<SubmitTimeT>(value);
196 }
197 template <typename SubmitTimeT = Aws::Utils::DateTime>
199 SetSubmitTime(std::forward<SubmitTimeT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
209 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
210 void SetLastModifiedTime(LastModifiedTimeT&& value) {
211 m_lastModifiedTimeHasBeenSet = true;
212 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
213 }
214 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
216 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
217 return *this;
218 }
220
222
225 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
226 template <typename EndTimeT = Aws::Utils::DateTime>
227 void SetEndTime(EndTimeT&& value) {
228 m_endTimeHasBeenSet = true;
229 m_endTime = std::forward<EndTimeT>(value);
230 }
231 template <typename EndTimeT = Aws::Utils::DateTime>
233 SetEndTime(std::forward<EndTimeT>(value));
234 return *this;
235 }
237
239
242 inline const ModelInvocationJobInputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
243 template <typename InputDataConfigT = ModelInvocationJobInputDataConfig>
244 void SetInputDataConfig(InputDataConfigT&& value) {
245 m_inputDataConfigHasBeenSet = true;
246 m_inputDataConfig = std::forward<InputDataConfigT>(value);
247 }
248 template <typename InputDataConfigT = ModelInvocationJobInputDataConfig>
250 SetInputDataConfig(std::forward<InputDataConfigT>(value));
251 return *this;
252 }
254
256
259 inline const ModelInvocationJobOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
260 template <typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
261 void SetOutputDataConfig(OutputDataConfigT&& value) {
262 m_outputDataConfigHasBeenSet = true;
263 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
264 }
265 template <typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
267 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
268 return *this;
269 }
271
273
279 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
280 template <typename VpcConfigT = VpcConfig>
281 void SetVpcConfig(VpcConfigT&& value) {
282 m_vpcConfigHasBeenSet = true;
283 m_vpcConfig = std::forward<VpcConfigT>(value);
284 }
285 template <typename VpcConfigT = VpcConfig>
287 SetVpcConfig(std::forward<VpcConfigT>(value));
288 return *this;
289 }
291
293
296 inline int GetTimeoutDurationInHours() const { return m_timeoutDurationInHours; }
297 inline void SetTimeoutDurationInHours(int value) {
298 m_timeoutDurationInHoursHasBeenSet = true;
299 m_timeoutDurationInHours = value;
300 }
303 return *this;
304 }
306
308
311 inline const Aws::Utils::DateTime& GetJobExpirationTime() const { return m_jobExpirationTime; }
312 template <typename JobExpirationTimeT = Aws::Utils::DateTime>
313 void SetJobExpirationTime(JobExpirationTimeT&& value) {
314 m_jobExpirationTimeHasBeenSet = true;
315 m_jobExpirationTime = std::forward<JobExpirationTimeT>(value);
316 }
317 template <typename JobExpirationTimeT = Aws::Utils::DateTime>
319 SetJobExpirationTime(std::forward<JobExpirationTimeT>(value));
320 return *this;
321 }
323
325
326 inline const Aws::String& GetRequestId() const { return m_requestId; }
327 template <typename RequestIdT = Aws::String>
328 void SetRequestId(RequestIdT&& value) {
329 m_requestIdHasBeenSet = true;
330 m_requestId = std::forward<RequestIdT>(value);
331 }
332 template <typename RequestIdT = Aws::String>
334 SetRequestId(std::forward<RequestIdT>(value));
335 return *this;
336 }
338 private:
339 Aws::String m_jobArn;
340 bool m_jobArnHasBeenSet = false;
341
342 Aws::String m_jobName;
343 bool m_jobNameHasBeenSet = false;
344
345 Aws::String m_modelId;
346 bool m_modelIdHasBeenSet = false;
347
348 Aws::String m_clientRequestToken;
349 bool m_clientRequestTokenHasBeenSet = false;
350
351 Aws::String m_roleArn;
352 bool m_roleArnHasBeenSet = false;
353
355 bool m_statusHasBeenSet = false;
356
357 Aws::String m_message;
358 bool m_messageHasBeenSet = false;
359
360 Aws::Utils::DateTime m_submitTime{};
361 bool m_submitTimeHasBeenSet = false;
362
363 Aws::Utils::DateTime m_lastModifiedTime{};
364 bool m_lastModifiedTimeHasBeenSet = false;
365
366 Aws::Utils::DateTime m_endTime{};
367 bool m_endTimeHasBeenSet = false;
368
369 ModelInvocationJobInputDataConfig m_inputDataConfig;
370 bool m_inputDataConfigHasBeenSet = false;
371
372 ModelInvocationJobOutputDataConfig m_outputDataConfig;
373 bool m_outputDataConfigHasBeenSet = false;
374
375 VpcConfig m_vpcConfig;
376 bool m_vpcConfigHasBeenSet = false;
377
378 int m_timeoutDurationInHours{0};
379 bool m_timeoutDurationInHoursHasBeenSet = false;
380
381 Aws::Utils::DateTime m_jobExpirationTime{};
382 bool m_jobExpirationTimeHasBeenSet = false;
383
384 Aws::String m_requestId;
385 bool m_requestIdHasBeenSet = false;
386};
387
388} // namespace Model
389} // namespace Bedrock
390} // namespace Aws
GetModelInvocationJobResult & WithRoleArn(RoleArnT &&value)
const ModelInvocationJobInputDataConfig & GetInputDataConfig() const
AWS_BEDROCK_API GetModelInvocationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelInvocationJobResult & WithModelId(ModelIdT &&value)
GetModelInvocationJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
GetModelInvocationJobResult & WithMessage(MessageT &&value)
GetModelInvocationJobResult & WithVpcConfig(VpcConfigT &&value)
GetModelInvocationJobResult & WithStatus(ModelInvocationJobStatus value)
GetModelInvocationJobResult & WithJobArn(JobArnT &&value)
GetModelInvocationJobResult & WithJobExpirationTime(JobExpirationTimeT &&value)
GetModelInvocationJobResult & WithOutputDataConfig(OutputDataConfigT &&value)
GetModelInvocationJobResult & WithTimeoutDurationInHours(int value)
GetModelInvocationJobResult & WithJobName(JobNameT &&value)
GetModelInvocationJobResult & WithInputDataConfig(InputDataConfigT &&value)
AWS_BEDROCK_API GetModelInvocationJobResult()=default
const ModelInvocationJobOutputDataConfig & GetOutputDataConfig() const
GetModelInvocationJobResult & WithEndTime(EndTimeT &&value)
GetModelInvocationJobResult & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_BEDROCK_API GetModelInvocationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelInvocationJobResult & WithRequestId(RequestIdT &&value)
GetModelInvocationJobResult & WithSubmitTime(SubmitTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue