7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/ModelInvocationJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock/model/ModelInvocationJobInputDataConfig.h>
12#include <aws/bedrock/model/ModelInvocationJobOutputDataConfig.h>
13#include <aws/bedrock/model/VpcConfig.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename JobArnT = Aws::String>
46 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet =
true; m_jobArn = std::forward<JobArnT>(value); }
47 template<
typename JobArnT = Aws::String>
56 template<
typename JobNameT = Aws::String>
57 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
58 template<
typename JobNameT = Aws::String>
67 template<
typename ModelIdT = Aws::String>
68 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet =
true; m_modelId = std::forward<ModelIdT>(value); }
69 template<
typename ModelIdT = Aws::String>
82 template<
typename ClientRequestTokenT = Aws::String>
83 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
84 template<
typename ClientRequestTokenT = Aws::String>
97 template<
typename RoleArnT = Aws::String>
98 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
99 template<
typename RoleArnT = Aws::String>
145 template<
typename MessageT = Aws::String>
146 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
147 template<
typename MessageT = Aws::String>
156 template<
typename SubmitTimeT = Aws::Utils::DateTime>
157 void SetSubmitTime(SubmitTimeT&& value) { m_submitTimeHasBeenSet =
true; m_submitTime = std::forward<SubmitTimeT>(value); }
158 template<
typename SubmitTimeT = Aws::Utils::DateTime>
167 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
168 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
169 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
178 template<
typename EndTimeT = Aws::Utils::DateTime>
179 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
180 template<
typename EndTimeT = Aws::Utils::DateTime>
189 template<
typename InputDataConfigT = ModelInvocationJobInputDataConfig>
190 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet =
true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
191 template<
typename InputDataConfigT = ModelInvocationJobInputDataConfig>
200 template<
typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
201 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet =
true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
202 template<
typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
214 template<
typename VpcConfigT = VpcConfig>
215 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
216 template<
typename VpcConfigT = VpcConfig>
234 template<
typename JobExpirationTimeT = Aws::Utils::DateTime>
235 void SetJobExpirationTime(JobExpirationTimeT&& value) { m_jobExpirationTimeHasBeenSet =
true; m_jobExpirationTime = std::forward<JobExpirationTimeT>(value); }
236 template<
typename JobExpirationTimeT = Aws::Utils::DateTime>
243 template<
typename RequestIdT = Aws::String>
244 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
245 template<
typename RequestIdT = Aws::String>
251 bool m_jobArnHasBeenSet =
false;
254 bool m_jobNameHasBeenSet =
false;
257 bool m_modelIdHasBeenSet =
false;
260 bool m_clientRequestTokenHasBeenSet =
false;
263 bool m_roleArnHasBeenSet =
false;
266 bool m_statusHasBeenSet =
false;
269 bool m_messageHasBeenSet =
false;
272 bool m_submitTimeHasBeenSet =
false;
275 bool m_lastModifiedTimeHasBeenSet =
false;
278 bool m_endTimeHasBeenSet =
false;
280 ModelInvocationJobInputDataConfig m_inputDataConfig;
281 bool m_inputDataConfigHasBeenSet =
false;
283 ModelInvocationJobOutputDataConfig m_outputDataConfig;
284 bool m_outputDataConfigHasBeenSet =
false;
286 VpcConfig m_vpcConfig;
287 bool m_vpcConfigHasBeenSet =
false;
289 int m_timeoutDurationInHours{0};
290 bool m_timeoutDurationInHoursHasBeenSet =
false;
293 bool m_jobExpirationTimeHasBeenSet =
false;
296 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