AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelInvocationJobSummary.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{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Bedrock
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_BEDROCK_API ModelInvocationJobSummary();
42 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
50 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
51 inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
52 inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
53 inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
54 inline ModelInvocationJobSummary& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
55 inline ModelInvocationJobSummary& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
56 inline ModelInvocationJobSummary& WithJobArn(const char* value) { SetJobArn(value); return *this;}
58
60
63 inline const Aws::String& GetJobName() const{ return m_jobName; }
64 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
65 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
66 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
67 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
68 inline ModelInvocationJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
69 inline ModelInvocationJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
70 inline ModelInvocationJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
72
74
77 inline const Aws::String& GetModelId() const{ return m_modelId; }
78 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
79 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
80 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
81 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
82 inline ModelInvocationJobSummary& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
83 inline ModelInvocationJobSummary& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
84 inline ModelInvocationJobSummary& WithModelId(const char* value) { SetModelId(value); return *this;}
86
88
95 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
96 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
97 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
98 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
99 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
101 inline ModelInvocationJobSummary& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
102 inline ModelInvocationJobSummary& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
104
106
113 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
114 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
115 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
116 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
117 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
118 inline ModelInvocationJobSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
119 inline ModelInvocationJobSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
120 inline ModelInvocationJobSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
122
124
127 inline const ModelInvocationJobStatus& GetStatus() const{ return m_status; }
128 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
129 inline void SetStatus(const ModelInvocationJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
130 inline void SetStatus(ModelInvocationJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
131 inline ModelInvocationJobSummary& WithStatus(const ModelInvocationJobStatus& value) { SetStatus(value); return *this;}
132 inline ModelInvocationJobSummary& WithStatus(ModelInvocationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
134
136
140 inline const Aws::String& GetMessage() const{ return m_message; }
141 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
142 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
143 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
144 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
145 inline ModelInvocationJobSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
146 inline ModelInvocationJobSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
147 inline ModelInvocationJobSummary& WithMessage(const char* value) { SetMessage(value); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
155 inline bool SubmitTimeHasBeenSet() const { return m_submitTimeHasBeenSet; }
156 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTimeHasBeenSet = true; m_submitTime = value; }
157 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTimeHasBeenSet = true; m_submitTime = std::move(value); }
158 inline ModelInvocationJobSummary& WithSubmitTime(const Aws::Utils::DateTime& value) { SetSubmitTime(value); return *this;}
159 inline ModelInvocationJobSummary& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
161
163
166 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
167 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
168 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
169 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
173
175
178 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
179 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
180 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
181 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
182 inline ModelInvocationJobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
183 inline ModelInvocationJobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
185
187
190 inline const ModelInvocationJobInputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
191 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
192 inline void SetInputDataConfig(const ModelInvocationJobInputDataConfig& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
193 inline void SetInputDataConfig(ModelInvocationJobInputDataConfig&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
197
199
202 inline const ModelInvocationJobOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
203 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
204 inline void SetOutputDataConfig(const ModelInvocationJobOutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
205 inline void SetOutputDataConfig(ModelInvocationJobOutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
209
211
217 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
218 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
219 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
220 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
221 inline ModelInvocationJobSummary& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
222 inline ModelInvocationJobSummary& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
224
226
230 inline int GetTimeoutDurationInHours() const{ return m_timeoutDurationInHours; }
231 inline bool TimeoutDurationInHoursHasBeenSet() const { return m_timeoutDurationInHoursHasBeenSet; }
232 inline void SetTimeoutDurationInHours(int value) { m_timeoutDurationInHoursHasBeenSet = true; m_timeoutDurationInHours = value; }
235
237
240 inline const Aws::Utils::DateTime& GetJobExpirationTime() const{ return m_jobExpirationTime; }
241 inline bool JobExpirationTimeHasBeenSet() const { return m_jobExpirationTimeHasBeenSet; }
242 inline void SetJobExpirationTime(const Aws::Utils::DateTime& value) { m_jobExpirationTimeHasBeenSet = true; m_jobExpirationTime = value; }
243 inline void SetJobExpirationTime(Aws::Utils::DateTime&& value) { m_jobExpirationTimeHasBeenSet = true; m_jobExpirationTime = std::move(value); }
247 private:
248
249 Aws::String m_jobArn;
250 bool m_jobArnHasBeenSet = false;
251
252 Aws::String m_jobName;
253 bool m_jobNameHasBeenSet = false;
254
255 Aws::String m_modelId;
256 bool m_modelIdHasBeenSet = false;
257
258 Aws::String m_clientRequestToken;
259 bool m_clientRequestTokenHasBeenSet = false;
260
261 Aws::String m_roleArn;
262 bool m_roleArnHasBeenSet = false;
263
265 bool m_statusHasBeenSet = false;
266
267 Aws::String m_message;
268 bool m_messageHasBeenSet = false;
269
270 Aws::Utils::DateTime m_submitTime;
271 bool m_submitTimeHasBeenSet = false;
272
273 Aws::Utils::DateTime m_lastModifiedTime;
274 bool m_lastModifiedTimeHasBeenSet = false;
275
276 Aws::Utils::DateTime m_endTime;
277 bool m_endTimeHasBeenSet = false;
278
279 ModelInvocationJobInputDataConfig m_inputDataConfig;
280 bool m_inputDataConfigHasBeenSet = false;
281
282 ModelInvocationJobOutputDataConfig m_outputDataConfig;
283 bool m_outputDataConfigHasBeenSet = false;
284
285 VpcConfig m_vpcConfig;
286 bool m_vpcConfigHasBeenSet = false;
287
288 int m_timeoutDurationInHours;
289 bool m_timeoutDurationInHoursHasBeenSet = false;
290
291 Aws::Utils::DateTime m_jobExpirationTime;
292 bool m_jobExpirationTimeHasBeenSet = false;
293 };
294
295} // namespace Model
296} // namespace Bedrock
297} // namespace Aws
ModelInvocationJobSummary & WithClientRequestToken(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const ModelInvocationJobOutputDataConfig & GetOutputDataConfig() const
ModelInvocationJobSummary & WithInputDataConfig(const ModelInvocationJobInputDataConfig &value)
ModelInvocationJobSummary & WithRoleArn(const Aws::String &value)
const ModelInvocationJobStatus & GetStatus() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
ModelInvocationJobSummary & WithClientRequestToken(Aws::String &&value)
ModelInvocationJobSummary & WithSubmitTime(const Aws::Utils::DateTime &value)
AWS_BEDROCK_API ModelInvocationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelInvocationJobSummary & WithTimeoutDurationInHours(int value)
ModelInvocationJobSummary & WithClientRequestToken(const Aws::String &value)
ModelInvocationJobSummary & WithJobArn(const Aws::String &value)
ModelInvocationJobSummary & WithStatus(ModelInvocationJobStatus &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
ModelInvocationJobSummary & WithVpcConfig(VpcConfig &&value)
ModelInvocationJobSummary & WithJobName(const Aws::String &value)
ModelInvocationJobSummary & WithJobArn(Aws::String &&value)
ModelInvocationJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetInputDataConfig(ModelInvocationJobInputDataConfig &&value)
ModelInvocationJobSummary & WithEndTime(Aws::Utils::DateTime &&value)
ModelInvocationJobSummary & WithJobName(Aws::String &&value)
ModelInvocationJobSummary & WithJobName(const char *value)
void SetInputDataConfig(const ModelInvocationJobInputDataConfig &value)
void SetJobExpirationTime(Aws::Utils::DateTime &&value)
ModelInvocationJobSummary & WithModelId(const char *value)
void SetJobExpirationTime(const Aws::Utils::DateTime &value)
void SetStatus(const ModelInvocationJobStatus &value)
ModelInvocationJobSummary & WithJobArn(const char *value)
ModelInvocationJobSummary & WithVpcConfig(const VpcConfig &value)
ModelInvocationJobSummary & WithJobExpirationTime(const Aws::Utils::DateTime &value)
AWS_BEDROCK_API ModelInvocationJobSummary(Aws::Utils::Json::JsonView jsonValue)
ModelInvocationJobSummary & WithSubmitTime(Aws::Utils::DateTime &&value)
const ModelInvocationJobInputDataConfig & GetInputDataConfig() const
void SetOutputDataConfig(ModelInvocationJobOutputDataConfig &&value)
ModelInvocationJobSummary & WithModelId(Aws::String &&value)
ModelInvocationJobSummary & WithOutputDataConfig(ModelInvocationJobOutputDataConfig &&value)
ModelInvocationJobSummary & WithEndTime(const Aws::Utils::DateTime &value)
ModelInvocationJobSummary & WithMessage(const char *value)
ModelInvocationJobSummary & WithMessage(Aws::String &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
ModelInvocationJobSummary & WithRoleArn(const char *value)
ModelInvocationJobSummary & WithInputDataConfig(ModelInvocationJobInputDataConfig &&value)
void SetOutputDataConfig(const ModelInvocationJobOutputDataConfig &value)
ModelInvocationJobSummary & WithMessage(const Aws::String &value)
ModelInvocationJobSummary & WithModelId(const Aws::String &value)
ModelInvocationJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetSubmitTime(const Aws::Utils::DateTime &value)
ModelInvocationJobSummary & WithOutputDataConfig(const ModelInvocationJobOutputDataConfig &value)
ModelInvocationJobSummary & WithRoleArn(Aws::String &&value)
const Aws::Utils::DateTime & GetJobExpirationTime() const
ModelInvocationJobSummary & WithStatus(const ModelInvocationJobStatus &value)
ModelInvocationJobSummary & WithJobExpirationTime(Aws::Utils::DateTime &&value)
void SetStatus(ModelInvocationJobStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue