AWS SDK for C++

AWS SDK for C++ Version 1.11.610

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() = default;
37
38
40
43 inline const Aws::String& GetJobArn() const { return m_jobArn; }
44 template<typename JobArnT = Aws::String>
45 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
46 template<typename JobArnT = Aws::String>
47 GetModelImportJobResult& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetJobName() const { return m_jobName; }
55 template<typename JobNameT = Aws::String>
56 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
57 template<typename JobNameT = Aws::String>
58 GetModelImportJobResult& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetImportedModelName() const { return m_importedModelName; }
66 template<typename ImportedModelNameT = Aws::String>
67 void SetImportedModelName(ImportedModelNameT&& value) { m_importedModelNameHasBeenSet = true; m_importedModelName = std::forward<ImportedModelNameT>(value); }
68 template<typename ImportedModelNameT = Aws::String>
69 GetModelImportJobResult& WithImportedModelName(ImportedModelNameT&& value) { SetImportedModelName(std::forward<ImportedModelNameT>(value)); return *this;}
71
73
76 inline const Aws::String& GetImportedModelArn() const { return m_importedModelArn; }
77 template<typename ImportedModelArnT = Aws::String>
78 void SetImportedModelArn(ImportedModelArnT&& value) { m_importedModelArnHasBeenSet = true; m_importedModelArn = std::forward<ImportedModelArnT>(value); }
79 template<typename ImportedModelArnT = Aws::String>
80 GetModelImportJobResult& WithImportedModelArn(ImportedModelArnT&& value) { SetImportedModelArn(std::forward<ImportedModelArnT>(value)); return *this;}
82
84
87 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
88 template<typename RoleArnT = Aws::String>
89 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
90 template<typename RoleArnT = Aws::String>
91 GetModelImportJobResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
93
95
98 inline const ModelDataSource& GetModelDataSource() const { return m_modelDataSource; }
99 template<typename ModelDataSourceT = ModelDataSource>
100 void SetModelDataSource(ModelDataSourceT&& value) { m_modelDataSourceHasBeenSet = true; m_modelDataSource = std::forward<ModelDataSourceT>(value); }
101 template<typename ModelDataSourceT = ModelDataSource>
102 GetModelImportJobResult& WithModelDataSource(ModelDataSourceT&& value) { SetModelDataSource(std::forward<ModelDataSourceT>(value)); return *this;}
104
106
111 inline ModelImportJobStatus GetStatus() const { return m_status; }
112 inline void SetStatus(ModelImportJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
113 inline GetModelImportJobResult& WithStatus(ModelImportJobStatus value) { SetStatus(value); return *this;}
115
117
120 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
121 template<typename FailureMessageT = Aws::String>
122 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::forward<FailureMessageT>(value); }
123 template<typename FailureMessageT = Aws::String>
124 GetModelImportJobResult& WithFailureMessage(FailureMessageT&& value) { SetFailureMessage(std::forward<FailureMessageT>(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
132 template<typename CreationTimeT = Aws::Utils::DateTime>
133 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
134 template<typename CreationTimeT = Aws::Utils::DateTime>
135 GetModelImportJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
143 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
144 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
145 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
146 GetModelImportJobResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
154 template<typename EndTimeT = Aws::Utils::DateTime>
155 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
156 template<typename EndTimeT = Aws::Utils::DateTime>
157 GetModelImportJobResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
159
161
164 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
165 template<typename VpcConfigT = VpcConfig>
166 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
167 template<typename VpcConfigT = VpcConfig>
168 GetModelImportJobResult& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
170
172
175 inline const Aws::String& GetImportedModelKmsKeyArn() const { return m_importedModelKmsKeyArn; }
176 template<typename ImportedModelKmsKeyArnT = Aws::String>
177 void SetImportedModelKmsKeyArn(ImportedModelKmsKeyArnT&& value) { m_importedModelKmsKeyArnHasBeenSet = true; m_importedModelKmsKeyArn = std::forward<ImportedModelKmsKeyArnT>(value); }
178 template<typename ImportedModelKmsKeyArnT = Aws::String>
179 GetModelImportJobResult& WithImportedModelKmsKeyArn(ImportedModelKmsKeyArnT&& value) { SetImportedModelKmsKeyArn(std::forward<ImportedModelKmsKeyArnT>(value)); return *this;}
181
183
184 inline const Aws::String& GetRequestId() const { return m_requestId; }
185 template<typename RequestIdT = Aws::String>
186 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
187 template<typename RequestIdT = Aws::String>
188 GetModelImportJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
190 private:
191
192 Aws::String m_jobArn;
193 bool m_jobArnHasBeenSet = false;
194
195 Aws::String m_jobName;
196 bool m_jobNameHasBeenSet = false;
197
198 Aws::String m_importedModelName;
199 bool m_importedModelNameHasBeenSet = false;
200
201 Aws::String m_importedModelArn;
202 bool m_importedModelArnHasBeenSet = false;
203
204 Aws::String m_roleArn;
205 bool m_roleArnHasBeenSet = false;
206
207 ModelDataSource m_modelDataSource;
208 bool m_modelDataSourceHasBeenSet = false;
209
211 bool m_statusHasBeenSet = false;
212
213 Aws::String m_failureMessage;
214 bool m_failureMessageHasBeenSet = false;
215
216 Aws::Utils::DateTime m_creationTime{};
217 bool m_creationTimeHasBeenSet = false;
218
219 Aws::Utils::DateTime m_lastModifiedTime{};
220 bool m_lastModifiedTimeHasBeenSet = false;
221
222 Aws::Utils::DateTime m_endTime{};
223 bool m_endTimeHasBeenSet = false;
224
225 VpcConfig m_vpcConfig;
226 bool m_vpcConfigHasBeenSet = false;
227
228 Aws::String m_importedModelKmsKeyArn;
229 bool m_importedModelKmsKeyArnHasBeenSet = false;
230
231 Aws::String m_requestId;
232 bool m_requestIdHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace Bedrock
237} // namespace Aws
void SetImportedModelKmsKeyArn(ImportedModelKmsKeyArnT &&value)
GetModelImportJobResult & WithJobName(JobNameT &&value)
GetModelImportJobResult & WithJobArn(JobArnT &&value)
GetModelImportJobResult & WithRequestId(RequestIdT &&value)
GetModelImportJobResult & WithModelDataSource(ModelDataSourceT &&value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_BEDROCK_API GetModelImportJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
GetModelImportJobResult & WithImportedModelArn(ImportedModelArnT &&value)
GetModelImportJobResult & WithCreationTime(CreationTimeT &&value)
GetModelImportJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
GetModelImportJobResult & WithImportedModelName(ImportedModelNameT &&value)
GetModelImportJobResult & WithVpcConfig(VpcConfigT &&value)
GetModelImportJobResult & WithFailureMessage(FailureMessageT &&value)
GetModelImportJobResult & WithRoleArn(RoleArnT &&value)
AWS_BEDROCK_API GetModelImportJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetImportedModelArn(ImportedModelArnT &&value)
GetModelImportJobResult & WithEndTime(EndTimeT &&value)
GetModelImportJobResult & WithStatus(ModelImportJobStatus value)
AWS_BEDROCK_API GetModelImportJobResult()=default
GetModelImportJobResult & WithImportedModelKmsKeyArn(ImportedModelKmsKeyArnT &&value)
void SetImportedModelName(ImportedModelNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue