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>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename JobArnT = Aws::String>
41 m_jobArnHasBeenSet =
true;
42 m_jobArn = std::forward<JobArnT>(value);
44 template <
typename JobArnT = Aws::String>
56 template <
typename JobNameT = Aws::String>
58 m_jobNameHasBeenSet =
true;
59 m_jobName = std::forward<JobNameT>(value);
61 template <
typename JobNameT = Aws::String>
73 template <
typename ModelIdT = Aws::String>
75 m_modelIdHasBeenSet =
true;
76 m_modelId = std::forward<ModelIdT>(value);
78 template <
typename ModelIdT = Aws::String>
94 template <
typename ClientRequestTokenT = Aws::String>
96 m_clientRequestTokenHasBeenSet =
true;
97 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
99 template <
typename ClientRequestTokenT = Aws::String>
115 template <
typename RoleArnT = Aws::String>
117 m_roleArnHasBeenSet =
true;
118 m_roleArn = std::forward<RoleArnT>(value);
120 template <
typename RoleArnT = Aws::String>
160 m_statusHasBeenSet =
true;
175 template <
typename MessageT = Aws::String>
177 m_messageHasBeenSet =
true;
178 m_message = std::forward<MessageT>(value);
180 template <
typename MessageT = Aws::String>
192 template <
typename SubmitTimeT = Aws::Utils::DateTime>
194 m_submitTimeHasBeenSet =
true;
195 m_submitTime = std::forward<SubmitTimeT>(value);
197 template <
typename SubmitTimeT = Aws::Utils::DateTime>
209 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
211 m_lastModifiedTimeHasBeenSet =
true;
212 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
214 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
226 template <
typename EndTimeT = Aws::Utils::DateTime>
228 m_endTimeHasBeenSet =
true;
229 m_endTime = std::forward<EndTimeT>(value);
231 template <
typename EndTimeT = Aws::Utils::DateTime>
243 template <
typename InputDataConfigT = ModelInvocationJobInputDataConfig>
245 m_inputDataConfigHasBeenSet =
true;
246 m_inputDataConfig = std::forward<InputDataConfigT>(value);
248 template <
typename InputDataConfigT = ModelInvocationJobInputDataConfig>
260 template <
typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
262 m_outputDataConfigHasBeenSet =
true;
263 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
265 template <
typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
280 template <
typename VpcConfigT = VpcConfig>
282 m_vpcConfigHasBeenSet =
true;
283 m_vpcConfig = std::forward<VpcConfigT>(value);
285 template <
typename VpcConfigT = VpcConfig>
298 m_timeoutDurationInHoursHasBeenSet =
true;
299 m_timeoutDurationInHours = value;
312 template <
typename JobExpirationTimeT = Aws::Utils::DateTime>
314 m_jobExpirationTimeHasBeenSet =
true;
315 m_jobExpirationTime = std::forward<JobExpirationTimeT>(value);
317 template <
typename JobExpirationTimeT = Aws::Utils::DateTime>
327 template <
typename RequestIdT = Aws::String>
329 m_requestIdHasBeenSet =
true;
330 m_requestId = std::forward<RequestIdT>(value);
332 template <
typename RequestIdT = Aws::String>
340 bool m_jobArnHasBeenSet =
false;
343 bool m_jobNameHasBeenSet =
false;
346 bool m_modelIdHasBeenSet =
false;
349 bool m_clientRequestTokenHasBeenSet =
false;
352 bool m_roleArnHasBeenSet =
false;
355 bool m_statusHasBeenSet =
false;
358 bool m_messageHasBeenSet =
false;
361 bool m_submitTimeHasBeenSet =
false;
364 bool m_lastModifiedTimeHasBeenSet =
false;
367 bool m_endTimeHasBeenSet =
false;
369 ModelInvocationJobInputDataConfig m_inputDataConfig;
370 bool m_inputDataConfigHasBeenSet =
false;
372 ModelInvocationJobOutputDataConfig m_outputDataConfig;
373 bool m_outputDataConfigHasBeenSet =
false;
375 VpcConfig m_vpcConfig;
376 bool m_vpcConfigHasBeenSet =
false;
378 int m_timeoutDurationInHours{0};
379 bool m_timeoutDurationInHoursHasBeenSet =
false;
382 bool m_jobExpirationTimeHasBeenSet =
false;
385 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)
const Aws::String & GetJobArn() const
GetModelInvocationJobResult & WithVpcConfig(VpcConfigT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const VpcConfig & GetVpcConfig() const
void SetEndTime(EndTimeT &&value)
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)
const Aws::String & GetJobName() const
int GetTimeoutDurationInHours() const
const Aws::Utils::DateTime & GetJobExpirationTime() const
const Aws::String & GetRoleArn() const
GetModelInvocationJobResult & WithOutputDataConfig(OutputDataConfigT &&value)
GetModelInvocationJobResult & WithTimeoutDurationInHours(int value)
GetModelInvocationJobResult & WithJobName(JobNameT &&value)
void SetRoleArn(RoleArnT &&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
GetModelInvocationJobResult & WithEndTime(EndTimeT &&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 & WithSubmitTime(SubmitTimeT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
const Aws::Utils::DateTime & GetSubmitTime() const
void SetVpcConfig(VpcConfigT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue