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/ModelInvocationType.h>
12#include <aws/bedrock/model/VpcConfig.h>
13#include <aws/core/http/HttpResponse.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename JobArnT = Aws::String>
43 m_jobArnHasBeenSet =
true;
44 m_jobArn = std::forward<JobArnT>(value);
46 template <
typename JobArnT = Aws::String>
58 template <
typename JobNameT = Aws::String>
60 m_jobNameHasBeenSet =
true;
61 m_jobName = std::forward<JobNameT>(value);
63 template <
typename JobNameT = Aws::String>
75 template <
typename ModelIdT = Aws::String>
77 m_modelIdHasBeenSet =
true;
78 m_modelId = std::forward<ModelIdT>(value);
80 template <
typename ModelIdT = Aws::String>
96 template <
typename ClientRequestTokenT = Aws::String>
98 m_clientRequestTokenHasBeenSet =
true;
99 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
101 template <
typename ClientRequestTokenT = Aws::String>
117 template <
typename RoleArnT = Aws::String>
119 m_roleArnHasBeenSet =
true;
120 m_roleArn = std::forward<RoleArnT>(value);
122 template <
typename RoleArnT = Aws::String>
162 m_statusHasBeenSet =
true;
177 template <
typename MessageT = Aws::String>
179 m_messageHasBeenSet =
true;
180 m_message = std::forward<MessageT>(value);
182 template <
typename MessageT = Aws::String>
194 template <
typename SubmitTimeT = Aws::Utils::DateTime>
196 m_submitTimeHasBeenSet =
true;
197 m_submitTime = std::forward<SubmitTimeT>(value);
199 template <
typename SubmitTimeT = Aws::Utils::DateTime>
211 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
213 m_lastModifiedTimeHasBeenSet =
true;
214 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
216 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
228 template <
typename EndTimeT = Aws::Utils::DateTime>
230 m_endTimeHasBeenSet =
true;
231 m_endTime = std::forward<EndTimeT>(value);
233 template <
typename EndTimeT = Aws::Utils::DateTime>
245 template <
typename InputDataConfigT = ModelInvocationJobInputDataConfig>
247 m_inputDataConfigHasBeenSet =
true;
248 m_inputDataConfig = std::forward<InputDataConfigT>(value);
250 template <
typename InputDataConfigT = ModelInvocationJobInputDataConfig>
262 template <
typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
264 m_outputDataConfigHasBeenSet =
true;
265 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
267 template <
typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
282 template <
typename VpcConfigT = VpcConfig>
284 m_vpcConfigHasBeenSet =
true;
285 m_vpcConfig = std::forward<VpcConfigT>(value);
287 template <
typename VpcConfigT = VpcConfig>
300 m_timeoutDurationInHoursHasBeenSet =
true;
301 m_timeoutDurationInHours = value;
314 template <
typename JobExpirationTimeT = Aws::Utils::DateTime>
316 m_jobExpirationTimeHasBeenSet =
true;
317 m_jobExpirationTime = std::forward<JobExpirationTimeT>(value);
319 template <
typename JobExpirationTimeT = Aws::Utils::DateTime>
332 m_modelInvocationTypeHasBeenSet =
true;
333 m_modelInvocationType = value;
347 m_totalRecordCountHasBeenSet =
true;
348 m_totalRecordCount = value;
363 m_processedRecordCountHasBeenSet =
true;
364 m_processedRecordCount = value;
379 m_successRecordCountHasBeenSet =
true;
380 m_successRecordCount = value;
394 m_errorRecordCountHasBeenSet =
true;
395 m_errorRecordCount = value;
406 template <
typename RequestIdT = Aws::String>
408 m_requestIdHasBeenSet =
true;
409 m_requestId = std::forward<RequestIdT>(value);
411 template <
typename RequestIdT = Aws::String>
440 ModelInvocationJobInputDataConfig m_inputDataConfig;
442 ModelInvocationJobOutputDataConfig m_outputDataConfig;
444 VpcConfig m_vpcConfig;
446 int m_timeoutDurationInHours{0};
452 long long m_totalRecordCount{0};
454 long long m_processedRecordCount{0};
456 long long m_successRecordCount{0};
458 long long m_errorRecordCount{0};
462 bool m_jobArnHasBeenSet =
false;
463 bool m_jobNameHasBeenSet =
false;
464 bool m_modelIdHasBeenSet =
false;
465 bool m_clientRequestTokenHasBeenSet =
false;
466 bool m_roleArnHasBeenSet =
false;
467 bool m_statusHasBeenSet =
false;
468 bool m_messageHasBeenSet =
false;
469 bool m_submitTimeHasBeenSet =
false;
470 bool m_lastModifiedTimeHasBeenSet =
false;
471 bool m_endTimeHasBeenSet =
false;
472 bool m_inputDataConfigHasBeenSet =
false;
473 bool m_outputDataConfigHasBeenSet =
false;
474 bool m_vpcConfigHasBeenSet =
false;
475 bool m_timeoutDurationInHoursHasBeenSet =
false;
476 bool m_jobExpirationTimeHasBeenSet =
false;
477 bool m_modelInvocationTypeHasBeenSet =
false;
478 bool m_totalRecordCountHasBeenSet =
false;
479 bool m_processedRecordCountHasBeenSet =
false;
480 bool m_successRecordCountHasBeenSet =
false;
481 bool m_errorRecordCountHasBeenSet =
false;
482 bool m_requestIdHasBeenSet =
false;
GetModelInvocationJobResult & WithRoleArn(RoleArnT &&value)
void SetJobArn(JobArnT &&value)
ModelInvocationJobStatus GetStatus() const
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)
void SetTotalRecordCount(long long value)
const Aws::String & GetJobArn() const
GetModelInvocationJobResult & WithVpcConfig(VpcConfigT &&value)
long long GetSuccessRecordCount() const
long long GetProcessedRecordCount() const
GetModelInvocationJobResult & WithProcessedRecordCount(long long value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
long long GetTotalRecordCount() const
const VpcConfig & GetVpcConfig() const
GetModelInvocationJobResult & WithTotalRecordCount(long long value)
void SetEndTime(EndTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetOutputDataConfig(OutputDataConfigT &&value)
void SetSubmitTime(SubmitTimeT &&value)
void SetModelId(ModelIdT &&value)
void SetInputDataConfig(InputDataConfigT &&value)
GetModelInvocationJobResult & WithStatus(ModelInvocationJobStatus value)
const Aws::String & GetClientRequestToken() const
GetModelInvocationJobResult & WithJobArn(JobArnT &&value)
const Aws::String & GetModelId() const
const Aws::Utils::DateTime & GetEndTime() const
GetModelInvocationJobResult & WithJobExpirationTime(JobExpirationTimeT &&value)
void SetStatus(ModelInvocationJobStatus value)
void SetProcessedRecordCount(long long value)
const Aws::String & GetJobName() const
int GetTimeoutDurationInHours() const
const Aws::Utils::DateTime & GetJobExpirationTime() const
void SetErrorRecordCount(long long value)
const Aws::String & GetRoleArn() const
GetModelInvocationJobResult & WithSuccessRecordCount(long long value)
ModelInvocationType GetModelInvocationType() const
GetModelInvocationJobResult & WithOutputDataConfig(OutputDataConfigT &&value)
GetModelInvocationJobResult & WithTimeoutDurationInHours(int value)
GetModelInvocationJobResult & WithJobName(JobNameT &&value)
void SetRoleArn(RoleArnT &&value)
GetModelInvocationJobResult & WithModelInvocationType(ModelInvocationType value)
GetModelInvocationJobResult & WithInputDataConfig(InputDataConfigT &&value)
void SetJobExpirationTime(JobExpirationTimeT &&value)
AWS_BEDROCK_API GetModelInvocationJobResult()=default
void SetMessage(MessageT &&value)
void SetTimeoutDurationInHours(int value)
const ModelInvocationJobOutputDataConfig & GetOutputDataConfig() const
void SetSuccessRecordCount(long long value)
GetModelInvocationJobResult & WithEndTime(EndTimeT &&value)
void SetModelInvocationType(ModelInvocationType value)
GetModelInvocationJobResult & WithClientRequestToken(ClientRequestTokenT &&value)
void SetRequestId(RequestIdT &&value)
AWS_BEDROCK_API GetModelInvocationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetMessage() const
GetModelInvocationJobResult & WithRequestId(RequestIdT &&value)
void SetJobName(JobNameT &&value)
const Aws::String & GetRequestId() const
GetModelInvocationJobResult & WithErrorRecordCount(long long value)
GetModelInvocationJobResult & WithSubmitTime(SubmitTimeT &&value)
long long GetErrorRecordCount() const
void SetClientRequestToken(ClientRequestTokenT &&value)
const Aws::Utils::DateTime & GetSubmitTime() const
void SetVpcConfig(VpcConfigT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue