AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
GetModelInvocationJobResult.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/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>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Bedrock
29{
30namespace Model
31{
33 {
34 public:
35 AWS_BEDROCK_API GetModelInvocationJobResult() = default;
38
39
41
44 inline const Aws::String& GetJobArn() const { return m_jobArn; }
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>
48 GetModelInvocationJobResult& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
50
52
55 inline const Aws::String& GetJobName() const { return m_jobName; }
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>
59 GetModelInvocationJobResult& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetModelId() const { return m_modelId; }
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>
70 GetModelInvocationJobResult& WithModelId(ModelIdT&& value) { SetModelId(std::forward<ModelIdT>(value)); return *this;}
72
74
81 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
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>
85 GetModelInvocationJobResult& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
87
89
96 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
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>
100 GetModelInvocationJobResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
102
104
134 inline ModelInvocationJobStatus GetStatus() const { return m_status; }
135 inline void SetStatus(ModelInvocationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
138
140
144 inline const Aws::String& GetMessage() const { return m_message; }
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>
148 GetModelInvocationJobResult& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetSubmitTime() const { return m_submitTime; }
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>
159 GetModelInvocationJobResult& WithSubmitTime(SubmitTimeT&& value) { SetSubmitTime(std::forward<SubmitTimeT>(value)); return *this;}
161
163
166 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
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>
170 GetModelInvocationJobResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
172
174
177 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
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>
181 GetModelInvocationJobResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
183
185
188 inline const ModelInvocationJobInputDataConfig& GetInputDataConfig() const { return m_inputDataConfig; }
189 template<typename InputDataConfigT = ModelInvocationJobInputDataConfig>
190 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
191 template<typename InputDataConfigT = ModelInvocationJobInputDataConfig>
192 GetModelInvocationJobResult& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
194
196
199 inline const ModelInvocationJobOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
200 template<typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
201 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
202 template<typename OutputDataConfigT = ModelInvocationJobOutputDataConfig>
203 GetModelInvocationJobResult& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
205
207
213 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
214 template<typename VpcConfigT = VpcConfig>
215 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
216 template<typename VpcConfigT = VpcConfig>
217 GetModelInvocationJobResult& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
219
221
224 inline int GetTimeoutDurationInHours() const { return m_timeoutDurationInHours; }
225 inline void SetTimeoutDurationInHours(int value) { m_timeoutDurationInHoursHasBeenSet = true; m_timeoutDurationInHours = value; }
228
230
233 inline const Aws::Utils::DateTime& GetJobExpirationTime() const { return m_jobExpirationTime; }
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>
237 GetModelInvocationJobResult& WithJobExpirationTime(JobExpirationTimeT&& value) { SetJobExpirationTime(std::forward<JobExpirationTimeT>(value)); return *this;}
239
241
242 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
246 GetModelInvocationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
248 private:
249
250 Aws::String m_jobArn;
251 bool m_jobArnHasBeenSet = false;
252
253 Aws::String m_jobName;
254 bool m_jobNameHasBeenSet = false;
255
256 Aws::String m_modelId;
257 bool m_modelIdHasBeenSet = false;
258
259 Aws::String m_clientRequestToken;
260 bool m_clientRequestTokenHasBeenSet = false;
261
262 Aws::String m_roleArn;
263 bool m_roleArnHasBeenSet = false;
264
266 bool m_statusHasBeenSet = false;
267
268 Aws::String m_message;
269 bool m_messageHasBeenSet = false;
270
271 Aws::Utils::DateTime m_submitTime{};
272 bool m_submitTimeHasBeenSet = false;
273
274 Aws::Utils::DateTime m_lastModifiedTime{};
275 bool m_lastModifiedTimeHasBeenSet = false;
276
277 Aws::Utils::DateTime m_endTime{};
278 bool m_endTimeHasBeenSet = false;
279
280 ModelInvocationJobInputDataConfig m_inputDataConfig;
281 bool m_inputDataConfigHasBeenSet = false;
282
283 ModelInvocationJobOutputDataConfig m_outputDataConfig;
284 bool m_outputDataConfigHasBeenSet = false;
285
286 VpcConfig m_vpcConfig;
287 bool m_vpcConfigHasBeenSet = false;
288
289 int m_timeoutDurationInHours{0};
290 bool m_timeoutDurationInHoursHasBeenSet = false;
291
292 Aws::Utils::DateTime m_jobExpirationTime{};
293 bool m_jobExpirationTimeHasBeenSet = false;
294
295 Aws::String m_requestId;
296 bool m_requestIdHasBeenSet = false;
297 };
298
299} // namespace Model
300} // namespace Bedrock
301} // 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