AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
45 inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
46 inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
47 inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
48 inline GetModelInvocationJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
49 inline GetModelInvocationJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
50 inline GetModelInvocationJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
52
54
57 inline const Aws::String& GetJobName() const{ return m_jobName; }
58 inline void SetJobName(const Aws::String& value) { m_jobName = value; }
59 inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
60 inline void SetJobName(const char* value) { m_jobName.assign(value); }
61 inline GetModelInvocationJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
62 inline GetModelInvocationJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
63 inline GetModelInvocationJobResult& WithJobName(const char* value) { SetJobName(value); return *this;}
65
67
70 inline const Aws::String& GetModelId() const{ return m_modelId; }
71 inline void SetModelId(const Aws::String& value) { m_modelId = value; }
72 inline void SetModelId(Aws::String&& value) { m_modelId = std::move(value); }
73 inline void SetModelId(const char* value) { m_modelId.assign(value); }
74 inline GetModelInvocationJobResult& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
75 inline GetModelInvocationJobResult& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
76 inline GetModelInvocationJobResult& WithModelId(const char* value) { SetModelId(value); return *this;}
78
80
87 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
88 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
89 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
90 inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
92 inline GetModelInvocationJobResult& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
93 inline GetModelInvocationJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
95
97
104 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
105 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
106 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
107 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
108 inline GetModelInvocationJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
109 inline GetModelInvocationJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
110 inline GetModelInvocationJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
112
114
117 inline const ModelInvocationJobStatus& GetStatus() const{ return m_status; }
118 inline void SetStatus(const ModelInvocationJobStatus& value) { m_status = value; }
119 inline void SetStatus(ModelInvocationJobStatus&& value) { m_status = std::move(value); }
120 inline GetModelInvocationJobResult& WithStatus(const ModelInvocationJobStatus& value) { SetStatus(value); return *this;}
121 inline GetModelInvocationJobResult& WithStatus(ModelInvocationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
123
125
129 inline const Aws::String& GetMessage() const{ return m_message; }
130 inline void SetMessage(const Aws::String& value) { m_message = value; }
131 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
132 inline void SetMessage(const char* value) { m_message.assign(value); }
133 inline GetModelInvocationJobResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
134 inline GetModelInvocationJobResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
135 inline GetModelInvocationJobResult& WithMessage(const char* value) { SetMessage(value); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetSubmitTime() const{ return m_submitTime; }
143 inline void SetSubmitTime(const Aws::Utils::DateTime& value) { m_submitTime = value; }
144 inline void SetSubmitTime(Aws::Utils::DateTime&& value) { m_submitTime = std::move(value); }
146 inline GetModelInvocationJobResult& WithSubmitTime(Aws::Utils::DateTime&& value) { SetSubmitTime(std::move(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
154 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
155 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
159
161
164 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
165 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
166 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
167 inline GetModelInvocationJobResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
168 inline GetModelInvocationJobResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
170
172
175 inline const ModelInvocationJobInputDataConfig& GetInputDataConfig() const{ return m_inputDataConfig; }
176 inline void SetInputDataConfig(const ModelInvocationJobInputDataConfig& value) { m_inputDataConfig = value; }
177 inline void SetInputDataConfig(ModelInvocationJobInputDataConfig&& value) { m_inputDataConfig = std::move(value); }
181
183
186 inline const ModelInvocationJobOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
187 inline void SetOutputDataConfig(const ModelInvocationJobOutputDataConfig& value) { m_outputDataConfig = value; }
188 inline void SetOutputDataConfig(ModelInvocationJobOutputDataConfig&& value) { m_outputDataConfig = std::move(value); }
192
194
200 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
201 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfig = value; }
202 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfig = std::move(value); }
203 inline GetModelInvocationJobResult& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
204 inline GetModelInvocationJobResult& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
206
208
211 inline int GetTimeoutDurationInHours() const{ return m_timeoutDurationInHours; }
212 inline void SetTimeoutDurationInHours(int value) { m_timeoutDurationInHours = value; }
215
217
220 inline const Aws::Utils::DateTime& GetJobExpirationTime() const{ return m_jobExpirationTime; }
221 inline void SetJobExpirationTime(const Aws::Utils::DateTime& value) { m_jobExpirationTime = value; }
222 inline void SetJobExpirationTime(Aws::Utils::DateTime&& value) { m_jobExpirationTime = std::move(value); }
226
228
229 inline const Aws::String& GetRequestId() const{ return m_requestId; }
230 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
231 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
232 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
233 inline GetModelInvocationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
234 inline GetModelInvocationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
235 inline GetModelInvocationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
237 private:
238
239 Aws::String m_jobArn;
240
241 Aws::String m_jobName;
242
243 Aws::String m_modelId;
244
245 Aws::String m_clientRequestToken;
246
247 Aws::String m_roleArn;
248
250
251 Aws::String m_message;
252
253 Aws::Utils::DateTime m_submitTime;
254
255 Aws::Utils::DateTime m_lastModifiedTime;
256
257 Aws::Utils::DateTime m_endTime;
258
259 ModelInvocationJobInputDataConfig m_inputDataConfig;
260
261 ModelInvocationJobOutputDataConfig m_outputDataConfig;
262
263 VpcConfig m_vpcConfig;
264
265 int m_timeoutDurationInHours;
266
267 Aws::Utils::DateTime m_jobExpirationTime;
268
269 Aws::String m_requestId;
270 };
271
272} // namespace Model
273} // namespace Bedrock
274} // namespace Aws
GetModelInvocationJobResult & WithJobArn(const Aws::String &value)
GetModelInvocationJobResult & WithVpcConfig(VpcConfig &&value)
GetModelInvocationJobResult & WithJobExpirationTime(Aws::Utils::DateTime &&value)
GetModelInvocationJobResult & WithJobName(const char *value)
void SetSubmitTime(const Aws::Utils::DateTime &value)
const ModelInvocationJobInputDataConfig & GetInputDataConfig() const
GetModelInvocationJobResult & WithRoleArn(Aws::String &&value)
GetModelInvocationJobResult & WithRequestId(const Aws::String &value)
AWS_BEDROCK_API GetModelInvocationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelInvocationJobResult & WithClientRequestToken(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
GetModelInvocationJobResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetInputDataConfig(ModelInvocationJobInputDataConfig &&value)
GetModelInvocationJobResult & WithJobArn(Aws::String &&value)
GetModelInvocationJobResult & WithInputDataConfig(const ModelInvocationJobInputDataConfig &value)
void SetJobExpirationTime(const Aws::Utils::DateTime &value)
GetModelInvocationJobResult & WithJobArn(const char *value)
void SetOutputDataConfig(const ModelInvocationJobOutputDataConfig &value)
GetModelInvocationJobResult & WithOutputDataConfig(const ModelInvocationJobOutputDataConfig &value)
GetModelInvocationJobResult & WithMessage(const Aws::String &value)
GetModelInvocationJobResult & WithJobName(const Aws::String &value)
GetModelInvocationJobResult & WithEndTime(const Aws::Utils::DateTime &value)
GetModelInvocationJobResult & WithSubmitTime(Aws::Utils::DateTime &&value)
GetModelInvocationJobResult & WithJobExpirationTime(const Aws::Utils::DateTime &value)
GetModelInvocationJobResult & WithModelId(Aws::String &&value)
void SetStatus(const ModelInvocationJobStatus &value)
void SetOutputDataConfig(ModelInvocationJobOutputDataConfig &&value)
GetModelInvocationJobResult & WithStatus(const ModelInvocationJobStatus &value)
GetModelInvocationJobResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
GetModelInvocationJobResult & WithModelId(const Aws::String &value)
GetModelInvocationJobResult & WithModelId(const char *value)
void SetInputDataConfig(const ModelInvocationJobInputDataConfig &value)
GetModelInvocationJobResult & WithMessage(const char *value)
GetModelInvocationJobResult & WithClientRequestToken(Aws::String &&value)
GetModelInvocationJobResult & WithTimeoutDurationInHours(int value)
GetModelInvocationJobResult & WithRequestId(const char *value)
GetModelInvocationJobResult & WithInputDataConfig(ModelInvocationJobInputDataConfig &&value)
GetModelInvocationJobResult & WithRequestId(Aws::String &&value)
const ModelInvocationJobOutputDataConfig & GetOutputDataConfig() const
GetModelInvocationJobResult & WithClientRequestToken(const Aws::String &value)
GetModelInvocationJobResult & WithRoleArn(const Aws::String &value)
GetModelInvocationJobResult & WithStatus(ModelInvocationJobStatus &&value)
AWS_BEDROCK_API GetModelInvocationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelInvocationJobResult & WithRoleArn(const char *value)
GetModelInvocationJobResult & WithSubmitTime(const Aws::Utils::DateTime &value)
GetModelInvocationJobResult & WithVpcConfig(const VpcConfig &value)
GetModelInvocationJobResult & WithJobName(Aws::String &&value)
GetModelInvocationJobResult & WithMessage(Aws::String &&value)
GetModelInvocationJobResult & WithOutputDataConfig(ModelInvocationJobOutputDataConfig &&value)
GetModelInvocationJobResult & WithEndTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue