AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetModelImportJobResult.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/ModelDataSource.h>
10#include <aws/bedrock/model/ModelImportJobStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/bedrock/model/VpcConfig.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Bedrock
28{
29namespace Model
30{
32 {
33 public:
34 AWS_BEDROCK_API GetModelImportJobResult();
37
38
40
43 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
44 inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
45 inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
46 inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
47 inline GetModelImportJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
48 inline GetModelImportJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
49 inline GetModelImportJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
51
53
56 inline const Aws::String& GetJobName() const{ return m_jobName; }
57 inline void SetJobName(const Aws::String& value) { m_jobName = value; }
58 inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
59 inline void SetJobName(const char* value) { m_jobName.assign(value); }
60 inline GetModelImportJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
61 inline GetModelImportJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
62 inline GetModelImportJobResult& WithJobName(const char* value) { SetJobName(value); return *this;}
64
66
69 inline const Aws::String& GetImportedModelName() const{ return m_importedModelName; }
70 inline void SetImportedModelName(const Aws::String& value) { m_importedModelName = value; }
71 inline void SetImportedModelName(Aws::String&& value) { m_importedModelName = std::move(value); }
72 inline void SetImportedModelName(const char* value) { m_importedModelName.assign(value); }
74 inline GetModelImportJobResult& WithImportedModelName(Aws::String&& value) { SetImportedModelName(std::move(value)); return *this;}
75 inline GetModelImportJobResult& WithImportedModelName(const char* value) { SetImportedModelName(value); return *this;}
77
79
82 inline const Aws::String& GetImportedModelArn() const{ return m_importedModelArn; }
83 inline void SetImportedModelArn(const Aws::String& value) { m_importedModelArn = value; }
84 inline void SetImportedModelArn(Aws::String&& value) { m_importedModelArn = std::move(value); }
85 inline void SetImportedModelArn(const char* value) { m_importedModelArn.assign(value); }
86 inline GetModelImportJobResult& WithImportedModelArn(const Aws::String& value) { SetImportedModelArn(value); return *this;}
87 inline GetModelImportJobResult& WithImportedModelArn(Aws::String&& value) { SetImportedModelArn(std::move(value)); return *this;}
88 inline GetModelImportJobResult& WithImportedModelArn(const char* value) { SetImportedModelArn(value); return *this;}
90
92
95 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
96 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
97 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
98 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
99 inline GetModelImportJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
100 inline GetModelImportJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
101 inline GetModelImportJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
103
105
108 inline const ModelDataSource& GetModelDataSource() const{ return m_modelDataSource; }
109 inline void SetModelDataSource(const ModelDataSource& value) { m_modelDataSource = value; }
110 inline void SetModelDataSource(ModelDataSource&& value) { m_modelDataSource = std::move(value); }
112 inline GetModelImportJobResult& WithModelDataSource(ModelDataSource&& value) { SetModelDataSource(std::move(value)); return *this;}
114
116
121 inline const ModelImportJobStatus& GetStatus() const{ return m_status; }
122 inline void SetStatus(const ModelImportJobStatus& value) { m_status = value; }
123 inline void SetStatus(ModelImportJobStatus&& value) { m_status = std::move(value); }
124 inline GetModelImportJobResult& WithStatus(const ModelImportJobStatus& value) { SetStatus(value); return *this;}
125 inline GetModelImportJobResult& WithStatus(ModelImportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
127
129
132 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
133 inline void SetFailureMessage(const Aws::String& value) { m_failureMessage = value; }
134 inline void SetFailureMessage(Aws::String&& value) { m_failureMessage = std::move(value); }
135 inline void SetFailureMessage(const char* value) { m_failureMessage.assign(value); }
136 inline GetModelImportJobResult& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
137 inline GetModelImportJobResult& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
138 inline GetModelImportJobResult& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
140
142
145 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
146 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
147 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
149 inline GetModelImportJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
157 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
158 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
162
164
167 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
168 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
169 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
170 inline GetModelImportJobResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
171 inline GetModelImportJobResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
173
175
178 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
179 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfig = value; }
180 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfig = std::move(value); }
181 inline GetModelImportJobResult& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
182 inline GetModelImportJobResult& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
184
186
189 inline const Aws::String& GetImportedModelKmsKeyArn() const{ return m_importedModelKmsKeyArn; }
190 inline void SetImportedModelKmsKeyArn(const Aws::String& value) { m_importedModelKmsKeyArn = value; }
191 inline void SetImportedModelKmsKeyArn(Aws::String&& value) { m_importedModelKmsKeyArn = std::move(value); }
192 inline void SetImportedModelKmsKeyArn(const char* value) { m_importedModelKmsKeyArn.assign(value); }
195 inline GetModelImportJobResult& WithImportedModelKmsKeyArn(const char* value) { SetImportedModelKmsKeyArn(value); return *this;}
197
199
200 inline const Aws::String& GetRequestId() const{ return m_requestId; }
201 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
202 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
203 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
204 inline GetModelImportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
205 inline GetModelImportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
206 inline GetModelImportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
208 private:
209
210 Aws::String m_jobArn;
211
212 Aws::String m_jobName;
213
214 Aws::String m_importedModelName;
215
216 Aws::String m_importedModelArn;
217
218 Aws::String m_roleArn;
219
220 ModelDataSource m_modelDataSource;
221
222 ModelImportJobStatus m_status;
223
224 Aws::String m_failureMessage;
225
226 Aws::Utils::DateTime m_creationTime;
227
228 Aws::Utils::DateTime m_lastModifiedTime;
229
230 Aws::Utils::DateTime m_endTime;
231
232 VpcConfig m_vpcConfig;
233
234 Aws::String m_importedModelKmsKeyArn;
235
236 Aws::String m_requestId;
237 };
238
239} // namespace Model
240} // namespace Bedrock
241} // namespace Aws
GetModelImportJobResult & WithImportedModelKmsKeyArn(Aws::String &&value)
GetModelImportJobResult & WithImportedModelKmsKeyArn(const char *value)
GetModelImportJobResult & WithEndTime(const Aws::Utils::DateTime &value)
void SetImportedModelKmsKeyArn(const Aws::String &value)
GetModelImportJobResult & WithModelDataSource(const ModelDataSource &value)
GetModelImportJobResult & WithImportedModelName(const Aws::String &value)
GetModelImportJobResult & WithJobName(const Aws::String &value)
GetModelImportJobResult & WithStatus(ModelImportJobStatus &&value)
GetModelImportJobResult & WithVpcConfig(VpcConfig &&value)
GetModelImportJobResult & WithJobArn(const char *value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
GetModelImportJobResult & WithImportedModelArn(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
GetModelImportJobResult & WithImportedModelName(const char *value)
AWS_BEDROCK_API GetModelImportJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelImportJobResult & WithVpcConfig(const VpcConfig &value)
GetModelImportJobResult & WithJobName(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
GetModelImportJobResult & WithRoleArn(const char *value)
GetModelImportJobResult & WithFailureMessage(Aws::String &&value)
GetModelImportJobResult & WithCreationTime(Aws::Utils::DateTime &&value)
GetModelImportJobResult & WithFailureMessage(const Aws::String &value)
void SetStatus(const ModelImportJobStatus &value)
GetModelImportJobResult & WithRequestId(const char *value)
void SetModelDataSource(const ModelDataSource &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
GetModelImportJobResult & WithModelDataSource(ModelDataSource &&value)
const ModelImportJobStatus & GetStatus() const
GetModelImportJobResult & WithRequestId(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
GetModelImportJobResult & WithStatus(const ModelImportJobStatus &value)
GetModelImportJobResult & WithImportedModelName(Aws::String &&value)
GetModelImportJobResult & WithImportedModelArn(Aws::String &&value)
GetModelImportJobResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
GetModelImportJobResult & WithRoleArn(Aws::String &&value)
GetModelImportJobResult & WithRequestId(Aws::String &&value)
AWS_BEDROCK_API GetModelImportJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelImportJobResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
GetModelImportJobResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetModelImportJobResult & WithImportedModelArn(const char *value)
GetModelImportJobResult & WithEndTime(Aws::Utils::DateTime &&value)
GetModelImportJobResult & WithFailureMessage(const char *value)
GetModelImportJobResult & WithImportedModelKmsKeyArn(const Aws::String &value)
GetModelImportJobResult & WithJobArn(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
GetModelImportJobResult & WithJobArn(const Aws::String &value)
GetModelImportJobResult & WithJobName(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
GetModelImportJobResult & WithRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue