AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
GetModelCustomizationJobResult.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/ModelCustomizationJobStatus.h>
10#include <aws/bedrock/model/StatusDetails.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/bedrock/model/TrainingDataConfig.h>
14#include <aws/bedrock/model/ValidationDataConfig.h>
15#include <aws/bedrock/model/OutputDataConfig.h>
16#include <aws/bedrock/model/CustomizationType.h>
17#include <aws/bedrock/model/TrainingMetrics.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/bedrock/model/VpcConfig.h>
20#include <aws/bedrock/model/CustomizationConfig.h>
21#include <aws/bedrock/model/ValidatorMetric.h>
22#include <utility>
23
24namespace Aws
25{
26template<typename RESULT_TYPE>
27class AmazonWebServiceResult;
28
29namespace Utils
30{
31namespace Json
32{
33 class JsonValue;
34} // namespace Json
35} // namespace Utils
36namespace Bedrock
37{
38namespace Model
39{
41 {
42 public:
43 AWS_BEDROCK_API GetModelCustomizationJobResult() = default;
46
47
49
52 inline const Aws::String& GetJobArn() const { return m_jobArn; }
53 template<typename JobArnT = Aws::String>
54 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
55 template<typename JobArnT = Aws::String>
56 GetModelCustomizationJobResult& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetJobName() const { return m_jobName; }
64 template<typename JobNameT = Aws::String>
65 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
66 template<typename JobNameT = Aws::String>
67 GetModelCustomizationJobResult& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
69
71
74 inline const Aws::String& GetOutputModelName() const { return m_outputModelName; }
75 template<typename OutputModelNameT = Aws::String>
76 void SetOutputModelName(OutputModelNameT&& value) { m_outputModelNameHasBeenSet = true; m_outputModelName = std::forward<OutputModelNameT>(value); }
77 template<typename OutputModelNameT = Aws::String>
78 GetModelCustomizationJobResult& WithOutputModelName(OutputModelNameT&& value) { SetOutputModelName(std::forward<OutputModelNameT>(value)); return *this;}
80
82
85 inline const Aws::String& GetOutputModelArn() const { return m_outputModelArn; }
86 template<typename OutputModelArnT = Aws::String>
87 void SetOutputModelArn(OutputModelArnT&& value) { m_outputModelArnHasBeenSet = true; m_outputModelArn = std::forward<OutputModelArnT>(value); }
88 template<typename OutputModelArnT = Aws::String>
89 GetModelCustomizationJobResult& WithOutputModelArn(OutputModelArnT&& value) { SetOutputModelArn(std::forward<OutputModelArnT>(value)); return *this;}
91
93
97 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
98 template<typename ClientRequestTokenT = Aws::String>
99 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
100 template<typename ClientRequestTokenT = Aws::String>
101 GetModelCustomizationJobResult& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
103
105
108 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
109 template<typename RoleArnT = Aws::String>
110 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
111 template<typename RoleArnT = Aws::String>
112 GetModelCustomizationJobResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
114
116
121 inline ModelCustomizationJobStatus GetStatus() const { return m_status; }
122 inline void SetStatus(ModelCustomizationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
125
127
131 inline const StatusDetails& GetStatusDetails() const { return m_statusDetails; }
132 template<typename StatusDetailsT = StatusDetails>
133 void SetStatusDetails(StatusDetailsT&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::forward<StatusDetailsT>(value); }
134 template<typename StatusDetailsT = StatusDetails>
135 GetModelCustomizationJobResult& WithStatusDetails(StatusDetailsT&& value) { SetStatusDetails(std::forward<StatusDetailsT>(value)); return *this;}
137
139
142 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
143 template<typename FailureMessageT = Aws::String>
144 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::forward<FailureMessageT>(value); }
145 template<typename FailureMessageT = Aws::String>
146 GetModelCustomizationJobResult& WithFailureMessage(FailureMessageT&& value) { SetFailureMessage(std::forward<FailureMessageT>(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
154 template<typename CreationTimeT = Aws::Utils::DateTime>
155 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
156 template<typename CreationTimeT = Aws::Utils::DateTime>
157 GetModelCustomizationJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
159
161
164 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
165 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
166 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
167 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
168 GetModelCustomizationJobResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
170
172
175 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
176 template<typename EndTimeT = Aws::Utils::DateTime>
177 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
178 template<typename EndTimeT = Aws::Utils::DateTime>
179 GetModelCustomizationJobResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
181
183
186 inline const Aws::String& GetBaseModelArn() const { return m_baseModelArn; }
187 template<typename BaseModelArnT = Aws::String>
188 void SetBaseModelArn(BaseModelArnT&& value) { m_baseModelArnHasBeenSet = true; m_baseModelArn = std::forward<BaseModelArnT>(value); }
189 template<typename BaseModelArnT = Aws::String>
190 GetModelCustomizationJobResult& WithBaseModelArn(BaseModelArnT&& value) { SetBaseModelArn(std::forward<BaseModelArnT>(value)); return *this;}
192
194
200 inline const Aws::Map<Aws::String, Aws::String>& GetHyperParameters() const { return m_hyperParameters; }
201 template<typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
202 void SetHyperParameters(HyperParametersT&& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters = std::forward<HyperParametersT>(value); }
203 template<typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
204 GetModelCustomizationJobResult& WithHyperParameters(HyperParametersT&& value) { SetHyperParameters(std::forward<HyperParametersT>(value)); return *this;}
205 template<typename HyperParametersKeyT = Aws::String, typename HyperParametersValueT = Aws::String>
206 GetModelCustomizationJobResult& AddHyperParameters(HyperParametersKeyT&& key, HyperParametersValueT&& value) {
207 m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value)); return *this;
208 }
210
212
215 inline const TrainingDataConfig& GetTrainingDataConfig() const { return m_trainingDataConfig; }
216 template<typename TrainingDataConfigT = TrainingDataConfig>
217 void SetTrainingDataConfig(TrainingDataConfigT&& value) { m_trainingDataConfigHasBeenSet = true; m_trainingDataConfig = std::forward<TrainingDataConfigT>(value); }
218 template<typename TrainingDataConfigT = TrainingDataConfig>
219 GetModelCustomizationJobResult& WithTrainingDataConfig(TrainingDataConfigT&& value) { SetTrainingDataConfig(std::forward<TrainingDataConfigT>(value)); return *this;}
221
223
226 inline const ValidationDataConfig& GetValidationDataConfig() const { return m_validationDataConfig; }
227 template<typename ValidationDataConfigT = ValidationDataConfig>
228 void SetValidationDataConfig(ValidationDataConfigT&& value) { m_validationDataConfigHasBeenSet = true; m_validationDataConfig = std::forward<ValidationDataConfigT>(value); }
229 template<typename ValidationDataConfigT = ValidationDataConfig>
230 GetModelCustomizationJobResult& WithValidationDataConfig(ValidationDataConfigT&& value) { SetValidationDataConfig(std::forward<ValidationDataConfigT>(value)); return *this;}
232
234
237 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
238 template<typename OutputDataConfigT = OutputDataConfig>
239 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
240 template<typename OutputDataConfigT = OutputDataConfig>
241 GetModelCustomizationJobResult& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
243
245
248 inline CustomizationType GetCustomizationType() const { return m_customizationType; }
249 inline void SetCustomizationType(CustomizationType value) { m_customizationTypeHasBeenSet = true; m_customizationType = value; }
252
254
257 inline const Aws::String& GetOutputModelKmsKeyArn() const { return m_outputModelKmsKeyArn; }
258 template<typename OutputModelKmsKeyArnT = Aws::String>
259 void SetOutputModelKmsKeyArn(OutputModelKmsKeyArnT&& value) { m_outputModelKmsKeyArnHasBeenSet = true; m_outputModelKmsKeyArn = std::forward<OutputModelKmsKeyArnT>(value); }
260 template<typename OutputModelKmsKeyArnT = Aws::String>
261 GetModelCustomizationJobResult& WithOutputModelKmsKeyArn(OutputModelKmsKeyArnT&& value) { SetOutputModelKmsKeyArn(std::forward<OutputModelKmsKeyArnT>(value)); return *this;}
263
265
268 inline const TrainingMetrics& GetTrainingMetrics() const { return m_trainingMetrics; }
269 template<typename TrainingMetricsT = TrainingMetrics>
270 void SetTrainingMetrics(TrainingMetricsT&& value) { m_trainingMetricsHasBeenSet = true; m_trainingMetrics = std::forward<TrainingMetricsT>(value); }
271 template<typename TrainingMetricsT = TrainingMetrics>
272 GetModelCustomizationJobResult& WithTrainingMetrics(TrainingMetricsT&& value) { SetTrainingMetrics(std::forward<TrainingMetricsT>(value)); return *this;}
274
276
280 inline const Aws::Vector<ValidatorMetric>& GetValidationMetrics() const { return m_validationMetrics; }
281 template<typename ValidationMetricsT = Aws::Vector<ValidatorMetric>>
282 void SetValidationMetrics(ValidationMetricsT&& value) { m_validationMetricsHasBeenSet = true; m_validationMetrics = std::forward<ValidationMetricsT>(value); }
283 template<typename ValidationMetricsT = Aws::Vector<ValidatorMetric>>
284 GetModelCustomizationJobResult& WithValidationMetrics(ValidationMetricsT&& value) { SetValidationMetrics(std::forward<ValidationMetricsT>(value)); return *this;}
285 template<typename ValidationMetricsT = ValidatorMetric>
286 GetModelCustomizationJobResult& AddValidationMetrics(ValidationMetricsT&& value) { m_validationMetricsHasBeenSet = true; m_validationMetrics.emplace_back(std::forward<ValidationMetricsT>(value)); return *this; }
288
290
293 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
294 template<typename VpcConfigT = VpcConfig>
295 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
296 template<typename VpcConfigT = VpcConfig>
297 GetModelCustomizationJobResult& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
299
301
304 inline const CustomizationConfig& GetCustomizationConfig() const { return m_customizationConfig; }
305 template<typename CustomizationConfigT = CustomizationConfig>
306 void SetCustomizationConfig(CustomizationConfigT&& value) { m_customizationConfigHasBeenSet = true; m_customizationConfig = std::forward<CustomizationConfigT>(value); }
307 template<typename CustomizationConfigT = CustomizationConfig>
308 GetModelCustomizationJobResult& WithCustomizationConfig(CustomizationConfigT&& value) { SetCustomizationConfig(std::forward<CustomizationConfigT>(value)); return *this;}
310
312
313 inline const Aws::String& GetRequestId() const { return m_requestId; }
314 template<typename RequestIdT = Aws::String>
315 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
316 template<typename RequestIdT = Aws::String>
317 GetModelCustomizationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
319 private:
320
321 Aws::String m_jobArn;
322 bool m_jobArnHasBeenSet = false;
323
324 Aws::String m_jobName;
325 bool m_jobNameHasBeenSet = false;
326
327 Aws::String m_outputModelName;
328 bool m_outputModelNameHasBeenSet = false;
329
330 Aws::String m_outputModelArn;
331 bool m_outputModelArnHasBeenSet = false;
332
333 Aws::String m_clientRequestToken;
334 bool m_clientRequestTokenHasBeenSet = false;
335
336 Aws::String m_roleArn;
337 bool m_roleArnHasBeenSet = false;
338
340 bool m_statusHasBeenSet = false;
341
342 StatusDetails m_statusDetails;
343 bool m_statusDetailsHasBeenSet = false;
344
345 Aws::String m_failureMessage;
346 bool m_failureMessageHasBeenSet = false;
347
348 Aws::Utils::DateTime m_creationTime{};
349 bool m_creationTimeHasBeenSet = false;
350
351 Aws::Utils::DateTime m_lastModifiedTime{};
352 bool m_lastModifiedTimeHasBeenSet = false;
353
354 Aws::Utils::DateTime m_endTime{};
355 bool m_endTimeHasBeenSet = false;
356
357 Aws::String m_baseModelArn;
358 bool m_baseModelArnHasBeenSet = false;
359
360 Aws::Map<Aws::String, Aws::String> m_hyperParameters;
361 bool m_hyperParametersHasBeenSet = false;
362
363 TrainingDataConfig m_trainingDataConfig;
364 bool m_trainingDataConfigHasBeenSet = false;
365
366 ValidationDataConfig m_validationDataConfig;
367 bool m_validationDataConfigHasBeenSet = false;
368
369 OutputDataConfig m_outputDataConfig;
370 bool m_outputDataConfigHasBeenSet = false;
371
373 bool m_customizationTypeHasBeenSet = false;
374
375 Aws::String m_outputModelKmsKeyArn;
376 bool m_outputModelKmsKeyArnHasBeenSet = false;
377
378 TrainingMetrics m_trainingMetrics;
379 bool m_trainingMetricsHasBeenSet = false;
380
381 Aws::Vector<ValidatorMetric> m_validationMetrics;
382 bool m_validationMetricsHasBeenSet = false;
383
384 VpcConfig m_vpcConfig;
385 bool m_vpcConfigHasBeenSet = false;
386
387 CustomizationConfig m_customizationConfig;
388 bool m_customizationConfigHasBeenSet = false;
389
390 Aws::String m_requestId;
391 bool m_requestIdHasBeenSet = false;
392 };
393
394} // namespace Model
395} // namespace Bedrock
396} // namespace Aws
GetModelCustomizationJobResult & WithCustomizationConfig(CustomizationConfigT &&value)
AWS_BEDROCK_API GetModelCustomizationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelCustomizationJobResult & WithHyperParameters(HyperParametersT &&value)
GetModelCustomizationJobResult & WithCustomizationType(CustomizationType value)
GetModelCustomizationJobResult & WithValidationMetrics(ValidationMetricsT &&value)
GetModelCustomizationJobResult & WithCreationTime(CreationTimeT &&value)
GetModelCustomizationJobResult & WithStatusDetails(StatusDetailsT &&value)
GetModelCustomizationJobResult & WithStatus(ModelCustomizationJobStatus value)
GetModelCustomizationJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
GetModelCustomizationJobResult & WithEndTime(EndTimeT &&value)
GetModelCustomizationJobResult & WithOutputModelName(OutputModelNameT &&value)
GetModelCustomizationJobResult & WithOutputModelKmsKeyArn(OutputModelKmsKeyArnT &&value)
GetModelCustomizationJobResult & WithVpcConfig(VpcConfigT &&value)
GetModelCustomizationJobResult & WithOutputDataConfig(OutputDataConfigT &&value)
GetModelCustomizationJobResult & WithJobName(JobNameT &&value)
const Aws::Vector< ValidatorMetric > & GetValidationMetrics() const
GetModelCustomizationJobResult & WithTrainingMetrics(TrainingMetricsT &&value)
GetModelCustomizationJobResult & WithJobArn(JobArnT &&value)
GetModelCustomizationJobResult & WithTrainingDataConfig(TrainingDataConfigT &&value)
GetModelCustomizationJobResult & WithBaseModelArn(BaseModelArnT &&value)
GetModelCustomizationJobResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetHyperParameters() const
GetModelCustomizationJobResult & WithOutputModelArn(OutputModelArnT &&value)
GetModelCustomizationJobResult & AddValidationMetrics(ValidationMetricsT &&value)
GetModelCustomizationJobResult & WithRoleArn(RoleArnT &&value)
GetModelCustomizationJobResult & WithFailureMessage(FailureMessageT &&value)
AWS_BEDROCK_API GetModelCustomizationJobResult()=default
GetModelCustomizationJobResult & WithValidationDataConfig(ValidationDataConfigT &&value)
AWS_BEDROCK_API GetModelCustomizationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelCustomizationJobResult & AddHyperParameters(HyperParametersKeyT &&key, HyperParametersValueT &&value)
GetModelCustomizationJobResult & WithClientRequestToken(ClientRequestTokenT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue