AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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/utils/DateTime.h>
19#include <aws/core/utils/memory/stl/AWSMap.h>
20#include <aws/core/utils/memory/stl/AWSString.h>
21#include <aws/core/utils/memory/stl/AWSVector.h>
22
23#include <utility>
24
25namespace Aws {
26template <typename RESULT_TYPE>
27class AmazonWebServiceResult;
28
29namespace Utils {
30namespace Json {
31class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace Bedrock {
35namespace Model {
37 public:
38 AWS_BEDROCK_API GetModelCustomizationJobResult() = default;
41
43
46 inline const Aws::String& GetJobArn() const { return m_jobArn; }
47 template <typename JobArnT = Aws::String>
48 void SetJobArn(JobArnT&& value) {
49 m_jobArnHasBeenSet = true;
50 m_jobArn = std::forward<JobArnT>(value);
51 }
52 template <typename JobArnT = Aws::String>
54 SetJobArn(std::forward<JobArnT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetJobName() const { return m_jobName; }
64 template <typename JobNameT = Aws::String>
65 void SetJobName(JobNameT&& value) {
66 m_jobNameHasBeenSet = true;
67 m_jobName = std::forward<JobNameT>(value);
68 }
69 template <typename JobNameT = Aws::String>
71 SetJobName(std::forward<JobNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetOutputModelName() const { return m_outputModelName; }
81 template <typename OutputModelNameT = Aws::String>
83 m_outputModelNameHasBeenSet = true;
84 m_outputModelName = std::forward<OutputModelNameT>(value);
85 }
86 template <typename OutputModelNameT = Aws::String>
88 SetOutputModelName(std::forward<OutputModelNameT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetOutputModelArn() const { return m_outputModelArn; }
98 template <typename OutputModelArnT = Aws::String>
100 m_outputModelArnHasBeenSet = true;
101 m_outputModelArn = std::forward<OutputModelArnT>(value);
102 }
103 template <typename OutputModelArnT = Aws::String>
105 SetOutputModelArn(std::forward<OutputModelArnT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
116 template <typename ClientRequestTokenT = Aws::String>
118 m_clientRequestTokenHasBeenSet = true;
119 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
120 }
121 template <typename ClientRequestTokenT = Aws::String>
123 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
133 template <typename RoleArnT = Aws::String>
134 void SetRoleArn(RoleArnT&& value) {
135 m_roleArnHasBeenSet = true;
136 m_roleArn = std::forward<RoleArnT>(value);
137 }
138 template <typename RoleArnT = Aws::String>
140 SetRoleArn(std::forward<RoleArnT>(value));
141 return *this;
142 }
144
146
151 inline ModelCustomizationJobStatus GetStatus() const { return m_status; }
153 m_statusHasBeenSet = true;
154 m_status = value;
155 }
157 SetStatus(value);
158 return *this;
159 }
161
163
167 inline const StatusDetails& GetStatusDetails() const { return m_statusDetails; }
168 template <typename StatusDetailsT = StatusDetails>
170 m_statusDetailsHasBeenSet = true;
171 m_statusDetails = std::forward<StatusDetailsT>(value);
172 }
173 template <typename StatusDetailsT = StatusDetails>
175 SetStatusDetails(std::forward<StatusDetailsT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
185 template <typename FailureMessageT = Aws::String>
187 m_failureMessageHasBeenSet = true;
188 m_failureMessage = std::forward<FailureMessageT>(value);
189 }
190 template <typename FailureMessageT = Aws::String>
192 SetFailureMessage(std::forward<FailureMessageT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
202 template <typename CreationTimeT = Aws::Utils::DateTime>
204 m_creationTimeHasBeenSet = true;
205 m_creationTime = std::forward<CreationTimeT>(value);
206 }
207 template <typename CreationTimeT = Aws::Utils::DateTime>
209 SetCreationTime(std::forward<CreationTimeT>(value));
210 return *this;
211 }
213
215
218 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
219 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
221 m_lastModifiedTimeHasBeenSet = true;
222 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
223 }
224 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
226 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
227 return *this;
228 }
230
232
235 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
236 template <typename EndTimeT = Aws::Utils::DateTime>
237 void SetEndTime(EndTimeT&& value) {
238 m_endTimeHasBeenSet = true;
239 m_endTime = std::forward<EndTimeT>(value);
240 }
241 template <typename EndTimeT = Aws::Utils::DateTime>
243 SetEndTime(std::forward<EndTimeT>(value));
244 return *this;
245 }
247
249
252 inline const Aws::String& GetBaseModelArn() const { return m_baseModelArn; }
253 template <typename BaseModelArnT = Aws::String>
255 m_baseModelArnHasBeenSet = true;
256 m_baseModelArn = std::forward<BaseModelArnT>(value);
257 }
258 template <typename BaseModelArnT = Aws::String>
260 SetBaseModelArn(std::forward<BaseModelArnT>(value));
261 return *this;
262 }
264
266
272 inline const Aws::Map<Aws::String, Aws::String>& GetHyperParameters() const { return m_hyperParameters; }
273 template <typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
275 m_hyperParametersHasBeenSet = true;
276 m_hyperParameters = std::forward<HyperParametersT>(value);
277 }
278 template <typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
280 SetHyperParameters(std::forward<HyperParametersT>(value));
281 return *this;
282 }
283 template <typename HyperParametersKeyT = Aws::String, typename HyperParametersValueT = Aws::String>
285 m_hyperParametersHasBeenSet = true;
286 m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
287 return *this;
288 }
290
292
295 inline const TrainingDataConfig& GetTrainingDataConfig() const { return m_trainingDataConfig; }
296 template <typename TrainingDataConfigT = TrainingDataConfig>
298 m_trainingDataConfigHasBeenSet = true;
299 m_trainingDataConfig = std::forward<TrainingDataConfigT>(value);
300 }
301 template <typename TrainingDataConfigT = TrainingDataConfig>
303 SetTrainingDataConfig(std::forward<TrainingDataConfigT>(value));
304 return *this;
305 }
307
309
312 inline const ValidationDataConfig& GetValidationDataConfig() const { return m_validationDataConfig; }
313 template <typename ValidationDataConfigT = ValidationDataConfig>
315 m_validationDataConfigHasBeenSet = true;
316 m_validationDataConfig = std::forward<ValidationDataConfigT>(value);
317 }
318 template <typename ValidationDataConfigT = ValidationDataConfig>
320 SetValidationDataConfig(std::forward<ValidationDataConfigT>(value));
321 return *this;
322 }
324
326
329 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
330 template <typename OutputDataConfigT = OutputDataConfig>
332 m_outputDataConfigHasBeenSet = true;
333 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
334 }
335 template <typename OutputDataConfigT = OutputDataConfig>
337 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
338 return *this;
339 }
341
343
346 inline CustomizationType GetCustomizationType() const { return m_customizationType; }
348 m_customizationTypeHasBeenSet = true;
349 m_customizationType = value;
350 }
353 return *this;
354 }
356
358
361 inline const Aws::String& GetOutputModelKmsKeyArn() const { return m_outputModelKmsKeyArn; }
362 template <typename OutputModelKmsKeyArnT = Aws::String>
364 m_outputModelKmsKeyArnHasBeenSet = true;
365 m_outputModelKmsKeyArn = std::forward<OutputModelKmsKeyArnT>(value);
366 }
367 template <typename OutputModelKmsKeyArnT = Aws::String>
369 SetOutputModelKmsKeyArn(std::forward<OutputModelKmsKeyArnT>(value));
370 return *this;
371 }
373
375
378 inline const TrainingMetrics& GetTrainingMetrics() const { return m_trainingMetrics; }
379 template <typename TrainingMetricsT = TrainingMetrics>
381 m_trainingMetricsHasBeenSet = true;
382 m_trainingMetrics = std::forward<TrainingMetricsT>(value);
383 }
384 template <typename TrainingMetricsT = TrainingMetrics>
386 SetTrainingMetrics(std::forward<TrainingMetricsT>(value));
387 return *this;
388 }
390
392
396 inline const Aws::Vector<ValidatorMetric>& GetValidationMetrics() const { return m_validationMetrics; }
397 template <typename ValidationMetricsT = Aws::Vector<ValidatorMetric>>
399 m_validationMetricsHasBeenSet = true;
400 m_validationMetrics = std::forward<ValidationMetricsT>(value);
401 }
402 template <typename ValidationMetricsT = Aws::Vector<ValidatorMetric>>
404 SetValidationMetrics(std::forward<ValidationMetricsT>(value));
405 return *this;
406 }
407 template <typename ValidationMetricsT = ValidatorMetric>
409 m_validationMetricsHasBeenSet = true;
410 m_validationMetrics.emplace_back(std::forward<ValidationMetricsT>(value));
411 return *this;
412 }
414
416
419 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
420 template <typename VpcConfigT = VpcConfig>
421 void SetVpcConfig(VpcConfigT&& value) {
422 m_vpcConfigHasBeenSet = true;
423 m_vpcConfig = std::forward<VpcConfigT>(value);
424 }
425 template <typename VpcConfigT = VpcConfig>
427 SetVpcConfig(std::forward<VpcConfigT>(value));
428 return *this;
429 }
431
433
436 inline const CustomizationConfig& GetCustomizationConfig() const { return m_customizationConfig; }
437 template <typename CustomizationConfigT = CustomizationConfig>
439 m_customizationConfigHasBeenSet = true;
440 m_customizationConfig = std::forward<CustomizationConfigT>(value);
441 }
442 template <typename CustomizationConfigT = CustomizationConfig>
444 SetCustomizationConfig(std::forward<CustomizationConfigT>(value));
445 return *this;
446 }
448
450
451 inline const Aws::String& GetRequestId() const { return m_requestId; }
452 template <typename RequestIdT = Aws::String>
453 void SetRequestId(RequestIdT&& value) {
454 m_requestIdHasBeenSet = true;
455 m_requestId = std::forward<RequestIdT>(value);
456 }
457 template <typename RequestIdT = Aws::String>
459 SetRequestId(std::forward<RequestIdT>(value));
460 return *this;
461 }
463 private:
464 Aws::String m_jobArn;
465
466 Aws::String m_jobName;
467
468 Aws::String m_outputModelName;
469
470 Aws::String m_outputModelArn;
471
472 Aws::String m_clientRequestToken;
473
474 Aws::String m_roleArn;
475
477
478 StatusDetails m_statusDetails;
479
480 Aws::String m_failureMessage;
481
482 Aws::Utils::DateTime m_creationTime{};
483
484 Aws::Utils::DateTime m_lastModifiedTime{};
485
486 Aws::Utils::DateTime m_endTime{};
487
488 Aws::String m_baseModelArn;
489
490 Aws::Map<Aws::String, Aws::String> m_hyperParameters;
491
492 TrainingDataConfig m_trainingDataConfig;
493
494 ValidationDataConfig m_validationDataConfig;
495
496 OutputDataConfig m_outputDataConfig;
497
499
500 Aws::String m_outputModelKmsKeyArn;
501
502 TrainingMetrics m_trainingMetrics;
503
504 Aws::Vector<ValidatorMetric> m_validationMetrics;
505
506 VpcConfig m_vpcConfig;
507
508 CustomizationConfig m_customizationConfig;
509
510 Aws::String m_requestId;
511 bool m_jobArnHasBeenSet = false;
512 bool m_jobNameHasBeenSet = false;
513 bool m_outputModelNameHasBeenSet = false;
514 bool m_outputModelArnHasBeenSet = false;
515 bool m_clientRequestTokenHasBeenSet = false;
516 bool m_roleArnHasBeenSet = false;
517 bool m_statusHasBeenSet = false;
518 bool m_statusDetailsHasBeenSet = false;
519 bool m_failureMessageHasBeenSet = false;
520 bool m_creationTimeHasBeenSet = false;
521 bool m_lastModifiedTimeHasBeenSet = false;
522 bool m_endTimeHasBeenSet = false;
523 bool m_baseModelArnHasBeenSet = false;
524 bool m_hyperParametersHasBeenSet = false;
525 bool m_trainingDataConfigHasBeenSet = false;
526 bool m_validationDataConfigHasBeenSet = false;
527 bool m_outputDataConfigHasBeenSet = false;
528 bool m_customizationTypeHasBeenSet = false;
529 bool m_outputModelKmsKeyArnHasBeenSet = false;
530 bool m_trainingMetricsHasBeenSet = false;
531 bool m_validationMetricsHasBeenSet = false;
532 bool m_vpcConfigHasBeenSet = false;
533 bool m_customizationConfigHasBeenSet = false;
534 bool m_requestIdHasBeenSet = false;
535};
536
537} // namespace Model
538} // namespace Bedrock
539} // 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