AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetModelCustomizationJobResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/CustomizationConfig.h>
9#include <aws/bedrock/model/CustomizationType.h>
10#include <aws/bedrock/model/ModelCustomizationJobStatus.h>
11#include <aws/bedrock/model/OutputDataConfig.h>
12#include <aws/bedrock/model/StatusDetails.h>
13#include <aws/bedrock/model/TrainingDataConfig.h>
14#include <aws/bedrock/model/TrainingMetrics.h>
15#include <aws/bedrock/model/ValidationDataConfig.h>
16#include <aws/bedrock/model/ValidatorMetric.h>
17#include <aws/bedrock/model/VpcConfig.h>
18#include <aws/core/http/HttpResponse.h>
19#include <aws/core/utils/DateTime.h>
20#include <aws/core/utils/memory/stl/AWSMap.h>
21#include <aws/core/utils/memory/stl/AWSString.h>
22#include <aws/core/utils/memory/stl/AWSVector.h>
23
24#include <utility>
25
26namespace Aws {
27template <typename RESULT_TYPE>
28class AmazonWebServiceResult;
29
30namespace Utils {
31namespace Json {
32class JsonValue;
33} // namespace Json
34} // namespace Utils
35namespace Bedrock {
36namespace Model {
38 public:
39 AWS_BEDROCK_API GetModelCustomizationJobResult() = default;
42
44
47 inline const Aws::String& GetJobArn() const { return m_jobArn; }
48 template <typename JobArnT = Aws::String>
49 void SetJobArn(JobArnT&& value) {
50 m_jobArnHasBeenSet = true;
51 m_jobArn = std::forward<JobArnT>(value);
52 }
53 template <typename JobArnT = Aws::String>
55 SetJobArn(std::forward<JobArnT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetJobName() const { return m_jobName; }
65 template <typename JobNameT = Aws::String>
66 void SetJobName(JobNameT&& value) {
67 m_jobNameHasBeenSet = true;
68 m_jobName = std::forward<JobNameT>(value);
69 }
70 template <typename JobNameT = Aws::String>
72 SetJobName(std::forward<JobNameT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetOutputModelName() const { return m_outputModelName; }
82 template <typename OutputModelNameT = Aws::String>
84 m_outputModelNameHasBeenSet = true;
85 m_outputModelName = std::forward<OutputModelNameT>(value);
86 }
87 template <typename OutputModelNameT = Aws::String>
89 SetOutputModelName(std::forward<OutputModelNameT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetOutputModelArn() const { return m_outputModelArn; }
99 template <typename OutputModelArnT = Aws::String>
101 m_outputModelArnHasBeenSet = true;
102 m_outputModelArn = std::forward<OutputModelArnT>(value);
103 }
104 template <typename OutputModelArnT = Aws::String>
106 SetOutputModelArn(std::forward<OutputModelArnT>(value));
107 return *this;
108 }
110
112
116 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
117 template <typename ClientRequestTokenT = Aws::String>
119 m_clientRequestTokenHasBeenSet = true;
120 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
121 }
122 template <typename ClientRequestTokenT = Aws::String>
124 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
134 template <typename RoleArnT = Aws::String>
135 void SetRoleArn(RoleArnT&& value) {
136 m_roleArnHasBeenSet = true;
137 m_roleArn = std::forward<RoleArnT>(value);
138 }
139 template <typename RoleArnT = Aws::String>
141 SetRoleArn(std::forward<RoleArnT>(value));
142 return *this;
143 }
145
147
152 inline ModelCustomizationJobStatus GetStatus() const { return m_status; }
154 m_statusHasBeenSet = true;
155 m_status = value;
156 }
158 SetStatus(value);
159 return *this;
160 }
162
164
168 inline const StatusDetails& GetStatusDetails() const { return m_statusDetails; }
169 template <typename StatusDetailsT = StatusDetails>
171 m_statusDetailsHasBeenSet = true;
172 m_statusDetails = std::forward<StatusDetailsT>(value);
173 }
174 template <typename StatusDetailsT = StatusDetails>
176 SetStatusDetails(std::forward<StatusDetailsT>(value));
177 return *this;
178 }
180
182
185 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
186 template <typename FailureMessageT = Aws::String>
188 m_failureMessageHasBeenSet = true;
189 m_failureMessage = std::forward<FailureMessageT>(value);
190 }
191 template <typename FailureMessageT = Aws::String>
193 SetFailureMessage(std::forward<FailureMessageT>(value));
194 return *this;
195 }
197
199
202 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
203 template <typename CreationTimeT = Aws::Utils::DateTime>
205 m_creationTimeHasBeenSet = true;
206 m_creationTime = std::forward<CreationTimeT>(value);
207 }
208 template <typename CreationTimeT = Aws::Utils::DateTime>
210 SetCreationTime(std::forward<CreationTimeT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
220 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
222 m_lastModifiedTimeHasBeenSet = true;
223 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
224 }
225 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
227 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
228 return *this;
229 }
231
233
236 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
237 template <typename EndTimeT = Aws::Utils::DateTime>
238 void SetEndTime(EndTimeT&& value) {
239 m_endTimeHasBeenSet = true;
240 m_endTime = std::forward<EndTimeT>(value);
241 }
242 template <typename EndTimeT = Aws::Utils::DateTime>
244 SetEndTime(std::forward<EndTimeT>(value));
245 return *this;
246 }
248
250
253 inline const Aws::String& GetBaseModelArn() const { return m_baseModelArn; }
254 template <typename BaseModelArnT = Aws::String>
256 m_baseModelArnHasBeenSet = true;
257 m_baseModelArn = std::forward<BaseModelArnT>(value);
258 }
259 template <typename BaseModelArnT = Aws::String>
261 SetBaseModelArn(std::forward<BaseModelArnT>(value));
262 return *this;
263 }
265
267
273 inline const Aws::Map<Aws::String, Aws::String>& GetHyperParameters() const { return m_hyperParameters; }
274 template <typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
276 m_hyperParametersHasBeenSet = true;
277 m_hyperParameters = std::forward<HyperParametersT>(value);
278 }
279 template <typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
281 SetHyperParameters(std::forward<HyperParametersT>(value));
282 return *this;
283 }
284 template <typename HyperParametersKeyT = Aws::String, typename HyperParametersValueT = Aws::String>
286 m_hyperParametersHasBeenSet = true;
287 m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
288 return *this;
289 }
291
293
296 inline const TrainingDataConfig& GetTrainingDataConfig() const { return m_trainingDataConfig; }
297 template <typename TrainingDataConfigT = TrainingDataConfig>
299 m_trainingDataConfigHasBeenSet = true;
300 m_trainingDataConfig = std::forward<TrainingDataConfigT>(value);
301 }
302 template <typename TrainingDataConfigT = TrainingDataConfig>
304 SetTrainingDataConfig(std::forward<TrainingDataConfigT>(value));
305 return *this;
306 }
308
310
313 inline const ValidationDataConfig& GetValidationDataConfig() const { return m_validationDataConfig; }
314 template <typename ValidationDataConfigT = ValidationDataConfig>
316 m_validationDataConfigHasBeenSet = true;
317 m_validationDataConfig = std::forward<ValidationDataConfigT>(value);
318 }
319 template <typename ValidationDataConfigT = ValidationDataConfig>
321 SetValidationDataConfig(std::forward<ValidationDataConfigT>(value));
322 return *this;
323 }
325
327
330 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
331 template <typename OutputDataConfigT = OutputDataConfig>
333 m_outputDataConfigHasBeenSet = true;
334 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
335 }
336 template <typename OutputDataConfigT = OutputDataConfig>
338 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
339 return *this;
340 }
342
344
347 inline CustomizationType GetCustomizationType() const { return m_customizationType; }
349 m_customizationTypeHasBeenSet = true;
350 m_customizationType = value;
351 }
354 return *this;
355 }
357
359
362 inline const Aws::String& GetOutputModelKmsKeyArn() const { return m_outputModelKmsKeyArn; }
363 template <typename OutputModelKmsKeyArnT = Aws::String>
365 m_outputModelKmsKeyArnHasBeenSet = true;
366 m_outputModelKmsKeyArn = std::forward<OutputModelKmsKeyArnT>(value);
367 }
368 template <typename OutputModelKmsKeyArnT = Aws::String>
370 SetOutputModelKmsKeyArn(std::forward<OutputModelKmsKeyArnT>(value));
371 return *this;
372 }
374
376
379 inline const TrainingMetrics& GetTrainingMetrics() const { return m_trainingMetrics; }
380 template <typename TrainingMetricsT = TrainingMetrics>
382 m_trainingMetricsHasBeenSet = true;
383 m_trainingMetrics = std::forward<TrainingMetricsT>(value);
384 }
385 template <typename TrainingMetricsT = TrainingMetrics>
387 SetTrainingMetrics(std::forward<TrainingMetricsT>(value));
388 return *this;
389 }
391
393
397 inline const Aws::Vector<ValidatorMetric>& GetValidationMetrics() const { return m_validationMetrics; }
398 template <typename ValidationMetricsT = Aws::Vector<ValidatorMetric>>
400 m_validationMetricsHasBeenSet = true;
401 m_validationMetrics = std::forward<ValidationMetricsT>(value);
402 }
403 template <typename ValidationMetricsT = Aws::Vector<ValidatorMetric>>
405 SetValidationMetrics(std::forward<ValidationMetricsT>(value));
406 return *this;
407 }
408 template <typename ValidationMetricsT = ValidatorMetric>
410 m_validationMetricsHasBeenSet = true;
411 m_validationMetrics.emplace_back(std::forward<ValidationMetricsT>(value));
412 return *this;
413 }
415
417
420 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
421 template <typename VpcConfigT = VpcConfig>
422 void SetVpcConfig(VpcConfigT&& value) {
423 m_vpcConfigHasBeenSet = true;
424 m_vpcConfig = std::forward<VpcConfigT>(value);
425 }
426 template <typename VpcConfigT = VpcConfig>
428 SetVpcConfig(std::forward<VpcConfigT>(value));
429 return *this;
430 }
432
434
437 inline const CustomizationConfig& GetCustomizationConfig() const { return m_customizationConfig; }
438 template <typename CustomizationConfigT = CustomizationConfig>
440 m_customizationConfigHasBeenSet = true;
441 m_customizationConfig = std::forward<CustomizationConfigT>(value);
442 }
443 template <typename CustomizationConfigT = CustomizationConfig>
445 SetCustomizationConfig(std::forward<CustomizationConfigT>(value));
446 return *this;
447 }
449
451
452 inline const Aws::String& GetRequestId() const { return m_requestId; }
453 template <typename RequestIdT = Aws::String>
454 void SetRequestId(RequestIdT&& value) {
455 m_requestIdHasBeenSet = true;
456 m_requestId = std::forward<RequestIdT>(value);
457 }
458 template <typename RequestIdT = Aws::String>
460 SetRequestId(std::forward<RequestIdT>(value));
461 return *this;
462 }
464 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
465
466 private:
467 Aws::String m_jobArn;
468
469 Aws::String m_jobName;
470
471 Aws::String m_outputModelName;
472
473 Aws::String m_outputModelArn;
474
475 Aws::String m_clientRequestToken;
476
477 Aws::String m_roleArn;
478
480
481 StatusDetails m_statusDetails;
482
483 Aws::String m_failureMessage;
484
485 Aws::Utils::DateTime m_creationTime{};
486
487 Aws::Utils::DateTime m_lastModifiedTime{};
488
489 Aws::Utils::DateTime m_endTime{};
490
491 Aws::String m_baseModelArn;
492
493 Aws::Map<Aws::String, Aws::String> m_hyperParameters;
494
495 TrainingDataConfig m_trainingDataConfig;
496
497 ValidationDataConfig m_validationDataConfig;
498
499 OutputDataConfig m_outputDataConfig;
500
502
503 Aws::String m_outputModelKmsKeyArn;
504
505 TrainingMetrics m_trainingMetrics;
506
507 Aws::Vector<ValidatorMetric> m_validationMetrics;
508
509 VpcConfig m_vpcConfig;
510
511 CustomizationConfig m_customizationConfig;
512
513 Aws::String m_requestId;
514 Aws::Http::HttpResponseCode m_HttpResponseCode;
515 bool m_jobArnHasBeenSet = false;
516 bool m_jobNameHasBeenSet = false;
517 bool m_outputModelNameHasBeenSet = false;
518 bool m_outputModelArnHasBeenSet = false;
519 bool m_clientRequestTokenHasBeenSet = false;
520 bool m_roleArnHasBeenSet = false;
521 bool m_statusHasBeenSet = false;
522 bool m_statusDetailsHasBeenSet = false;
523 bool m_failureMessageHasBeenSet = false;
524 bool m_creationTimeHasBeenSet = false;
525 bool m_lastModifiedTimeHasBeenSet = false;
526 bool m_endTimeHasBeenSet = false;
527 bool m_baseModelArnHasBeenSet = false;
528 bool m_hyperParametersHasBeenSet = false;
529 bool m_trainingDataConfigHasBeenSet = false;
530 bool m_validationDataConfigHasBeenSet = false;
531 bool m_outputDataConfigHasBeenSet = false;
532 bool m_customizationTypeHasBeenSet = false;
533 bool m_outputModelKmsKeyArnHasBeenSet = false;
534 bool m_trainingMetricsHasBeenSet = false;
535 bool m_validationMetricsHasBeenSet = false;
536 bool m_vpcConfigHasBeenSet = false;
537 bool m_customizationConfigHasBeenSet = false;
538 bool m_requestIdHasBeenSet = false;
539};
540
541} // namespace Model
542} // namespace Bedrock
543} // 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::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
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