AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeTrainingJobResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/AlgorithmSpecification.h>
13#include <aws/sagemaker/model/Channel.h>
14#include <aws/sagemaker/model/CheckpointConfig.h>
15#include <aws/sagemaker/model/DebugHookConfig.h>
16#include <aws/sagemaker/model/DebugRuleConfiguration.h>
17#include <aws/sagemaker/model/DebugRuleEvaluationStatus.h>
18#include <aws/sagemaker/model/ExperimentConfig.h>
19#include <aws/sagemaker/model/InfraCheckConfig.h>
20#include <aws/sagemaker/model/MetricData.h>
21#include <aws/sagemaker/model/MlflowConfig.h>
22#include <aws/sagemaker/model/MlflowDetails.h>
23#include <aws/sagemaker/model/ModelArtifacts.h>
24#include <aws/sagemaker/model/ModelPackageConfig.h>
25#include <aws/sagemaker/model/OutputDataConfig.h>
26#include <aws/sagemaker/model/ProfilerConfig.h>
27#include <aws/sagemaker/model/ProfilerRuleConfiguration.h>
28#include <aws/sagemaker/model/ProfilerRuleEvaluationStatus.h>
29#include <aws/sagemaker/model/ProfilingStatus.h>
30#include <aws/sagemaker/model/RemoteDebugConfig.h>
31#include <aws/sagemaker/model/ResourceConfig.h>
32#include <aws/sagemaker/model/RetryStrategy.h>
33#include <aws/sagemaker/model/SecondaryStatus.h>
34#include <aws/sagemaker/model/SecondaryStatusTransition.h>
35#include <aws/sagemaker/model/ServerlessJobConfig.h>
36#include <aws/sagemaker/model/StoppingCondition.h>
37#include <aws/sagemaker/model/TensorBoardOutputConfig.h>
38#include <aws/sagemaker/model/TrainingJobStatus.h>
39#include <aws/sagemaker/model/TrainingProgressInfo.h>
40#include <aws/sagemaker/model/VpcConfig.h>
41#include <aws/sagemaker/model/WarmPoolStatus.h>
42
43#include <utility>
44
45namespace Aws {
46template <typename RESULT_TYPE>
47class AmazonWebServiceResult;
48
49namespace Utils {
50namespace Json {
51class JsonValue;
52} // namespace Json
53} // namespace Utils
54namespace SageMaker {
55namespace Model {
57 public:
58 AWS_SAGEMAKER_API DescribeTrainingJobResult() = default;
61
63
66 inline const Aws::String& GetTrainingJobName() const { return m_trainingJobName; }
67 template <typename TrainingJobNameT = Aws::String>
68 void SetTrainingJobName(TrainingJobNameT&& value) {
69 m_trainingJobNameHasBeenSet = true;
70 m_trainingJobName = std::forward<TrainingJobNameT>(value);
71 }
72 template <typename TrainingJobNameT = Aws::String>
74 SetTrainingJobName(std::forward<TrainingJobNameT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetTrainingJobArn() const { return m_trainingJobArn; }
84 template <typename TrainingJobArnT = Aws::String>
85 void SetTrainingJobArn(TrainingJobArnT&& value) {
86 m_trainingJobArnHasBeenSet = true;
87 m_trainingJobArn = std::forward<TrainingJobArnT>(value);
88 }
89 template <typename TrainingJobArnT = Aws::String>
91 SetTrainingJobArn(std::forward<TrainingJobArnT>(value));
92 return *this;
93 }
95
97
101 inline const Aws::String& GetTuningJobArn() const { return m_tuningJobArn; }
102 template <typename TuningJobArnT = Aws::String>
103 void SetTuningJobArn(TuningJobArnT&& value) {
104 m_tuningJobArnHasBeenSet = true;
105 m_tuningJobArn = std::forward<TuningJobArnT>(value);
106 }
107 template <typename TuningJobArnT = Aws::String>
109 SetTuningJobArn(std::forward<TuningJobArnT>(value));
110 return *this;
111 }
113
115
119 inline const Aws::String& GetLabelingJobArn() const { return m_labelingJobArn; }
120 template <typename LabelingJobArnT = Aws::String>
121 void SetLabelingJobArn(LabelingJobArnT&& value) {
122 m_labelingJobArnHasBeenSet = true;
123 m_labelingJobArn = std::forward<LabelingJobArnT>(value);
124 }
125 template <typename LabelingJobArnT = Aws::String>
127 SetLabelingJobArn(std::forward<LabelingJobArnT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetAutoMLJobArn() const { return m_autoMLJobArn; }
137 template <typename AutoMLJobArnT = Aws::String>
138 void SetAutoMLJobArn(AutoMLJobArnT&& value) {
139 m_autoMLJobArnHasBeenSet = true;
140 m_autoMLJobArn = std::forward<AutoMLJobArnT>(value);
141 }
142 template <typename AutoMLJobArnT = Aws::String>
144 SetAutoMLJobArn(std::forward<AutoMLJobArnT>(value));
145 return *this;
146 }
148
150
154 inline const ModelArtifacts& GetModelArtifacts() const { return m_modelArtifacts; }
155 template <typename ModelArtifactsT = ModelArtifacts>
156 void SetModelArtifacts(ModelArtifactsT&& value) {
157 m_modelArtifactsHasBeenSet = true;
158 m_modelArtifacts = std::forward<ModelArtifactsT>(value);
159 }
160 template <typename ModelArtifactsT = ModelArtifacts>
162 SetModelArtifacts(std::forward<ModelArtifactsT>(value));
163 return *this;
164 }
166
168
179 inline TrainingJobStatus GetTrainingJobStatus() const { return m_trainingJobStatus; }
181 m_trainingJobStatusHasBeenSet = true;
182 m_trainingJobStatus = value;
183 }
186 return *this;
187 }
189
191
224 inline SecondaryStatus GetSecondaryStatus() const { return m_secondaryStatus; }
226 m_secondaryStatusHasBeenSet = true;
227 m_secondaryStatus = value;
228 }
230 SetSecondaryStatus(value);
231 return *this;
232 }
234
236
239 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
240 template <typename FailureReasonT = Aws::String>
241 void SetFailureReason(FailureReasonT&& value) {
242 m_failureReasonHasBeenSet = true;
243 m_failureReason = std::forward<FailureReasonT>(value);
244 }
245 template <typename FailureReasonT = Aws::String>
247 SetFailureReason(std::forward<FailureReasonT>(value));
248 return *this;
249 }
251
253
256 inline const Aws::Map<Aws::String, Aws::String>& GetHyperParameters() const { return m_hyperParameters; }
257 template <typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
258 void SetHyperParameters(HyperParametersT&& value) {
259 m_hyperParametersHasBeenSet = true;
260 m_hyperParameters = std::forward<HyperParametersT>(value);
261 }
262 template <typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
264 SetHyperParameters(std::forward<HyperParametersT>(value));
265 return *this;
266 }
267 template <typename HyperParametersKeyT = Aws::String, typename HyperParametersValueT = Aws::String>
268 DescribeTrainingJobResult& AddHyperParameters(HyperParametersKeyT&& key, HyperParametersValueT&& value) {
269 m_hyperParametersHasBeenSet = true;
270 m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
271 return *this;
272 }
274
276
280 inline const AlgorithmSpecification& GetAlgorithmSpecification() const { return m_algorithmSpecification; }
281 template <typename AlgorithmSpecificationT = AlgorithmSpecification>
282 void SetAlgorithmSpecification(AlgorithmSpecificationT&& value) {
283 m_algorithmSpecificationHasBeenSet = true;
284 m_algorithmSpecification = std::forward<AlgorithmSpecificationT>(value);
285 }
286 template <typename AlgorithmSpecificationT = AlgorithmSpecification>
287 DescribeTrainingJobResult& WithAlgorithmSpecification(AlgorithmSpecificationT&& value) {
288 SetAlgorithmSpecification(std::forward<AlgorithmSpecificationT>(value));
289 return *this;
290 }
292
294
298 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
299 template <typename RoleArnT = Aws::String>
300 void SetRoleArn(RoleArnT&& value) {
301 m_roleArnHasBeenSet = true;
302 m_roleArn = std::forward<RoleArnT>(value);
303 }
304 template <typename RoleArnT = Aws::String>
306 SetRoleArn(std::forward<RoleArnT>(value));
307 return *this;
308 }
310
312
316 inline const Aws::Vector<Channel>& GetInputDataConfig() const { return m_inputDataConfig; }
317 template <typename InputDataConfigT = Aws::Vector<Channel>>
318 void SetInputDataConfig(InputDataConfigT&& value) {
319 m_inputDataConfigHasBeenSet = true;
320 m_inputDataConfig = std::forward<InputDataConfigT>(value);
321 }
322 template <typename InputDataConfigT = Aws::Vector<Channel>>
324 SetInputDataConfig(std::forward<InputDataConfigT>(value));
325 return *this;
326 }
327 template <typename InputDataConfigT = Channel>
329 m_inputDataConfigHasBeenSet = true;
330 m_inputDataConfig.emplace_back(std::forward<InputDataConfigT>(value));
331 return *this;
332 }
334
336
340 inline const OutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
341 template <typename OutputDataConfigT = OutputDataConfig>
342 void SetOutputDataConfig(OutputDataConfigT&& value) {
343 m_outputDataConfigHasBeenSet = true;
344 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
345 }
346 template <typename OutputDataConfigT = OutputDataConfig>
348 SetOutputDataConfig(std::forward<OutputDataConfigT>(value));
349 return *this;
350 }
352
354
358 inline const ResourceConfig& GetResourceConfig() const { return m_resourceConfig; }
359 template <typename ResourceConfigT = ResourceConfig>
360 void SetResourceConfig(ResourceConfigT&& value) {
361 m_resourceConfigHasBeenSet = true;
362 m_resourceConfig = std::forward<ResourceConfigT>(value);
363 }
364 template <typename ResourceConfigT = ResourceConfig>
366 SetResourceConfig(std::forward<ResourceConfigT>(value));
367 return *this;
368 }
370
372
375 inline const WarmPoolStatus& GetWarmPoolStatus() const { return m_warmPoolStatus; }
376 template <typename WarmPoolStatusT = WarmPoolStatus>
377 void SetWarmPoolStatus(WarmPoolStatusT&& value) {
378 m_warmPoolStatusHasBeenSet = true;
379 m_warmPoolStatus = std::forward<WarmPoolStatusT>(value);
380 }
381 template <typename WarmPoolStatusT = WarmPoolStatus>
383 SetWarmPoolStatus(std::forward<WarmPoolStatusT>(value));
384 return *this;
385 }
387
389
397 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
398 template <typename VpcConfigT = VpcConfig>
399 void SetVpcConfig(VpcConfigT&& value) {
400 m_vpcConfigHasBeenSet = true;
401 m_vpcConfig = std::forward<VpcConfigT>(value);
402 }
403 template <typename VpcConfigT = VpcConfig>
405 SetVpcConfig(std::forward<VpcConfigT>(value));
406 return *this;
407 }
409
411
420 inline const StoppingCondition& GetStoppingCondition() const { return m_stoppingCondition; }
421 template <typename StoppingConditionT = StoppingCondition>
422 void SetStoppingCondition(StoppingConditionT&& value) {
423 m_stoppingConditionHasBeenSet = true;
424 m_stoppingCondition = std::forward<StoppingConditionT>(value);
425 }
426 template <typename StoppingConditionT = StoppingCondition>
428 SetStoppingCondition(std::forward<StoppingConditionT>(value));
429 return *this;
430 }
432
434
437 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
438 template <typename CreationTimeT = Aws::Utils::DateTime>
439 void SetCreationTime(CreationTimeT&& value) {
440 m_creationTimeHasBeenSet = true;
441 m_creationTime = std::forward<CreationTimeT>(value);
442 }
443 template <typename CreationTimeT = Aws::Utils::DateTime>
445 SetCreationTime(std::forward<CreationTimeT>(value));
446 return *this;
447 }
449
451
458 inline const Aws::Utils::DateTime& GetTrainingStartTime() const { return m_trainingStartTime; }
459 template <typename TrainingStartTimeT = Aws::Utils::DateTime>
460 void SetTrainingStartTime(TrainingStartTimeT&& value) {
461 m_trainingStartTimeHasBeenSet = true;
462 m_trainingStartTime = std::forward<TrainingStartTimeT>(value);
463 }
464 template <typename TrainingStartTimeT = Aws::Utils::DateTime>
466 SetTrainingStartTime(std::forward<TrainingStartTimeT>(value));
467 return *this;
468 }
470
472
479 inline const Aws::Utils::DateTime& GetTrainingEndTime() const { return m_trainingEndTime; }
480 template <typename TrainingEndTimeT = Aws::Utils::DateTime>
481 void SetTrainingEndTime(TrainingEndTimeT&& value) {
482 m_trainingEndTimeHasBeenSet = true;
483 m_trainingEndTime = std::forward<TrainingEndTimeT>(value);
484 }
485 template <typename TrainingEndTimeT = Aws::Utils::DateTime>
487 SetTrainingEndTime(std::forward<TrainingEndTimeT>(value));
488 return *this;
489 }
491
493
497 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
498 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
499 void SetLastModifiedTime(LastModifiedTimeT&& value) {
500 m_lastModifiedTimeHasBeenSet = true;
501 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
502 }
503 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
505 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
506 return *this;
507 }
509
511
515 inline const Aws::Vector<SecondaryStatusTransition>& GetSecondaryStatusTransitions() const { return m_secondaryStatusTransitions; }
516 template <typename SecondaryStatusTransitionsT = Aws::Vector<SecondaryStatusTransition>>
517 void SetSecondaryStatusTransitions(SecondaryStatusTransitionsT&& value) {
518 m_secondaryStatusTransitionsHasBeenSet = true;
519 m_secondaryStatusTransitions = std::forward<SecondaryStatusTransitionsT>(value);
520 }
521 template <typename SecondaryStatusTransitionsT = Aws::Vector<SecondaryStatusTransition>>
522 DescribeTrainingJobResult& WithSecondaryStatusTransitions(SecondaryStatusTransitionsT&& value) {
523 SetSecondaryStatusTransitions(std::forward<SecondaryStatusTransitionsT>(value));
524 return *this;
525 }
526 template <typename SecondaryStatusTransitionsT = SecondaryStatusTransition>
527 DescribeTrainingJobResult& AddSecondaryStatusTransitions(SecondaryStatusTransitionsT&& value) {
528 m_secondaryStatusTransitionsHasBeenSet = true;
529 m_secondaryStatusTransitions.emplace_back(std::forward<SecondaryStatusTransitionsT>(value));
530 return *this;
531 }
533
535
540 inline const Aws::Vector<MetricData>& GetFinalMetricDataList() const { return m_finalMetricDataList; }
541 template <typename FinalMetricDataListT = Aws::Vector<MetricData>>
542 void SetFinalMetricDataList(FinalMetricDataListT&& value) {
543 m_finalMetricDataListHasBeenSet = true;
544 m_finalMetricDataList = std::forward<FinalMetricDataListT>(value);
545 }
546 template <typename FinalMetricDataListT = Aws::Vector<MetricData>>
547 DescribeTrainingJobResult& WithFinalMetricDataList(FinalMetricDataListT&& value) {
548 SetFinalMetricDataList(std::forward<FinalMetricDataListT>(value));
549 return *this;
550 }
551 template <typename FinalMetricDataListT = MetricData>
552 DescribeTrainingJobResult& AddFinalMetricDataList(FinalMetricDataListT&& value) {
553 m_finalMetricDataListHasBeenSet = true;
554 m_finalMetricDataList.emplace_back(std::forward<FinalMetricDataListT>(value));
555 return *this;
556 }
558
560
568 inline bool GetEnableNetworkIsolation() const { return m_enableNetworkIsolation; }
569 inline void SetEnableNetworkIsolation(bool value) {
570 m_enableNetworkIsolationHasBeenSet = true;
571 m_enableNetworkIsolation = value;
572 }
575 return *this;
576 }
578
580
587 inline bool GetEnableInterContainerTrafficEncryption() const { return m_enableInterContainerTrafficEncryption; }
589 m_enableInterContainerTrafficEncryptionHasBeenSet = true;
590 m_enableInterContainerTrafficEncryption = value;
591 }
594 return *this;
595 }
597
599
603 inline bool GetEnableManagedSpotTraining() const { return m_enableManagedSpotTraining; }
604 inline void SetEnableManagedSpotTraining(bool value) {
605 m_enableManagedSpotTrainingHasBeenSet = true;
606 m_enableManagedSpotTraining = value;
607 }
610 return *this;
611 }
613
615
616 inline const CheckpointConfig& GetCheckpointConfig() const { return m_checkpointConfig; }
617 template <typename CheckpointConfigT = CheckpointConfig>
618 void SetCheckpointConfig(CheckpointConfigT&& value) {
619 m_checkpointConfigHasBeenSet = true;
620 m_checkpointConfig = std::forward<CheckpointConfigT>(value);
621 }
622 template <typename CheckpointConfigT = CheckpointConfig>
624 SetCheckpointConfig(std::forward<CheckpointConfigT>(value));
625 return *this;
626 }
628
630
633 inline int GetTrainingTimeInSeconds() const { return m_trainingTimeInSeconds; }
634 inline void SetTrainingTimeInSeconds(int value) {
635 m_trainingTimeInSecondsHasBeenSet = true;
636 m_trainingTimeInSeconds = value;
637 }
640 return *this;
641 }
643
645
656 inline int GetBillableTimeInSeconds() const { return m_billableTimeInSeconds; }
657 inline void SetBillableTimeInSeconds(int value) {
658 m_billableTimeInSecondsHasBeenSet = true;
659 m_billableTimeInSeconds = value;
660 }
663 return *this;
664 }
666
668
671 inline long long GetBillableTokenCount() const { return m_billableTokenCount; }
672 inline void SetBillableTokenCount(long long value) {
673 m_billableTokenCountHasBeenSet = true;
674 m_billableTokenCount = value;
675 }
678 return *this;
679 }
681
683
684 inline const DebugHookConfig& GetDebugHookConfig() const { return m_debugHookConfig; }
685 template <typename DebugHookConfigT = DebugHookConfig>
686 void SetDebugHookConfig(DebugHookConfigT&& value) {
687 m_debugHookConfigHasBeenSet = true;
688 m_debugHookConfig = std::forward<DebugHookConfigT>(value);
689 }
690 template <typename DebugHookConfigT = DebugHookConfig>
692 SetDebugHookConfig(std::forward<DebugHookConfigT>(value));
693 return *this;
694 }
696
698
699 inline const ExperimentConfig& GetExperimentConfig() const { return m_experimentConfig; }
700 template <typename ExperimentConfigT = ExperimentConfig>
701 void SetExperimentConfig(ExperimentConfigT&& value) {
702 m_experimentConfigHasBeenSet = true;
703 m_experimentConfig = std::forward<ExperimentConfigT>(value);
704 }
705 template <typename ExperimentConfigT = ExperimentConfig>
707 SetExperimentConfig(std::forward<ExperimentConfigT>(value));
708 return *this;
709 }
711
713
717 inline const Aws::Vector<DebugRuleConfiguration>& GetDebugRuleConfigurations() const { return m_debugRuleConfigurations; }
718 template <typename DebugRuleConfigurationsT = Aws::Vector<DebugRuleConfiguration>>
719 void SetDebugRuleConfigurations(DebugRuleConfigurationsT&& value) {
720 m_debugRuleConfigurationsHasBeenSet = true;
721 m_debugRuleConfigurations = std::forward<DebugRuleConfigurationsT>(value);
722 }
723 template <typename DebugRuleConfigurationsT = Aws::Vector<DebugRuleConfiguration>>
724 DescribeTrainingJobResult& WithDebugRuleConfigurations(DebugRuleConfigurationsT&& value) {
725 SetDebugRuleConfigurations(std::forward<DebugRuleConfigurationsT>(value));
726 return *this;
727 }
728 template <typename DebugRuleConfigurationsT = DebugRuleConfiguration>
729 DescribeTrainingJobResult& AddDebugRuleConfigurations(DebugRuleConfigurationsT&& value) {
730 m_debugRuleConfigurationsHasBeenSet = true;
731 m_debugRuleConfigurations.emplace_back(std::forward<DebugRuleConfigurationsT>(value));
732 return *this;
733 }
735
737
738 inline const TensorBoardOutputConfig& GetTensorBoardOutputConfig() const { return m_tensorBoardOutputConfig; }
739 template <typename TensorBoardOutputConfigT = TensorBoardOutputConfig>
740 void SetTensorBoardOutputConfig(TensorBoardOutputConfigT&& value) {
741 m_tensorBoardOutputConfigHasBeenSet = true;
742 m_tensorBoardOutputConfig = std::forward<TensorBoardOutputConfigT>(value);
743 }
744 template <typename TensorBoardOutputConfigT = TensorBoardOutputConfig>
745 DescribeTrainingJobResult& WithTensorBoardOutputConfig(TensorBoardOutputConfigT&& value) {
746 SetTensorBoardOutputConfig(std::forward<TensorBoardOutputConfigT>(value));
747 return *this;
748 }
750
752
756 inline const Aws::Vector<DebugRuleEvaluationStatus>& GetDebugRuleEvaluationStatuses() const { return m_debugRuleEvaluationStatuses; }
757 template <typename DebugRuleEvaluationStatusesT = Aws::Vector<DebugRuleEvaluationStatus>>
758 void SetDebugRuleEvaluationStatuses(DebugRuleEvaluationStatusesT&& value) {
759 m_debugRuleEvaluationStatusesHasBeenSet = true;
760 m_debugRuleEvaluationStatuses = std::forward<DebugRuleEvaluationStatusesT>(value);
761 }
762 template <typename DebugRuleEvaluationStatusesT = Aws::Vector<DebugRuleEvaluationStatus>>
763 DescribeTrainingJobResult& WithDebugRuleEvaluationStatuses(DebugRuleEvaluationStatusesT&& value) {
764 SetDebugRuleEvaluationStatuses(std::forward<DebugRuleEvaluationStatusesT>(value));
765 return *this;
766 }
767 template <typename DebugRuleEvaluationStatusesT = DebugRuleEvaluationStatus>
768 DescribeTrainingJobResult& AddDebugRuleEvaluationStatuses(DebugRuleEvaluationStatusesT&& value) {
769 m_debugRuleEvaluationStatusesHasBeenSet = true;
770 m_debugRuleEvaluationStatuses.emplace_back(std::forward<DebugRuleEvaluationStatusesT>(value));
771 return *this;
772 }
774
776
777 inline const ProfilerConfig& GetProfilerConfig() const { return m_profilerConfig; }
778 template <typename ProfilerConfigT = ProfilerConfig>
779 void SetProfilerConfig(ProfilerConfigT&& value) {
780 m_profilerConfigHasBeenSet = true;
781 m_profilerConfig = std::forward<ProfilerConfigT>(value);
782 }
783 template <typename ProfilerConfigT = ProfilerConfig>
785 SetProfilerConfig(std::forward<ProfilerConfigT>(value));
786 return *this;
787 }
789
791
795 inline const Aws::Vector<ProfilerRuleConfiguration>& GetProfilerRuleConfigurations() const { return m_profilerRuleConfigurations; }
796 template <typename ProfilerRuleConfigurationsT = Aws::Vector<ProfilerRuleConfiguration>>
797 void SetProfilerRuleConfigurations(ProfilerRuleConfigurationsT&& value) {
798 m_profilerRuleConfigurationsHasBeenSet = true;
799 m_profilerRuleConfigurations = std::forward<ProfilerRuleConfigurationsT>(value);
800 }
801 template <typename ProfilerRuleConfigurationsT = Aws::Vector<ProfilerRuleConfiguration>>
802 DescribeTrainingJobResult& WithProfilerRuleConfigurations(ProfilerRuleConfigurationsT&& value) {
803 SetProfilerRuleConfigurations(std::forward<ProfilerRuleConfigurationsT>(value));
804 return *this;
805 }
806 template <typename ProfilerRuleConfigurationsT = ProfilerRuleConfiguration>
807 DescribeTrainingJobResult& AddProfilerRuleConfigurations(ProfilerRuleConfigurationsT&& value) {
808 m_profilerRuleConfigurationsHasBeenSet = true;
809 m_profilerRuleConfigurations.emplace_back(std::forward<ProfilerRuleConfigurationsT>(value));
810 return *this;
811 }
813
815
820 return m_profilerRuleEvaluationStatuses;
821 }
822 template <typename ProfilerRuleEvaluationStatusesT = Aws::Vector<ProfilerRuleEvaluationStatus>>
823 void SetProfilerRuleEvaluationStatuses(ProfilerRuleEvaluationStatusesT&& value) {
824 m_profilerRuleEvaluationStatusesHasBeenSet = true;
825 m_profilerRuleEvaluationStatuses = std::forward<ProfilerRuleEvaluationStatusesT>(value);
826 }
827 template <typename ProfilerRuleEvaluationStatusesT = Aws::Vector<ProfilerRuleEvaluationStatus>>
828 DescribeTrainingJobResult& WithProfilerRuleEvaluationStatuses(ProfilerRuleEvaluationStatusesT&& value) {
829 SetProfilerRuleEvaluationStatuses(std::forward<ProfilerRuleEvaluationStatusesT>(value));
830 return *this;
831 }
832 template <typename ProfilerRuleEvaluationStatusesT = ProfilerRuleEvaluationStatus>
833 DescribeTrainingJobResult& AddProfilerRuleEvaluationStatuses(ProfilerRuleEvaluationStatusesT&& value) {
834 m_profilerRuleEvaluationStatusesHasBeenSet = true;
835 m_profilerRuleEvaluationStatuses.emplace_back(std::forward<ProfilerRuleEvaluationStatusesT>(value));
836 return *this;
837 }
839
841
844 inline ProfilingStatus GetProfilingStatus() const { return m_profilingStatus; }
846 m_profilingStatusHasBeenSet = true;
847 m_profilingStatus = value;
848 }
850 SetProfilingStatus(value);
851 return *this;
852 }
854
856
865 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
866 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
867 void SetEnvironment(EnvironmentT&& value) {
868 m_environmentHasBeenSet = true;
869 m_environment = std::forward<EnvironmentT>(value);
870 }
871 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
873 SetEnvironment(std::forward<EnvironmentT>(value));
874 return *this;
875 }
876 template <typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
877 DescribeTrainingJobResult& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
878 m_environmentHasBeenSet = true;
879 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
880 return *this;
881 }
883
885
889 inline const RetryStrategy& GetRetryStrategy() const { return m_retryStrategy; }
890 template <typename RetryStrategyT = RetryStrategy>
891 void SetRetryStrategy(RetryStrategyT&& value) {
892 m_retryStrategyHasBeenSet = true;
893 m_retryStrategy = std::forward<RetryStrategyT>(value);
894 }
895 template <typename RetryStrategyT = RetryStrategy>
897 SetRetryStrategy(std::forward<RetryStrategyT>(value));
898 return *this;
899 }
901
903
910 inline const RemoteDebugConfig& GetRemoteDebugConfig() const { return m_remoteDebugConfig; }
911 template <typename RemoteDebugConfigT = RemoteDebugConfig>
912 void SetRemoteDebugConfig(RemoteDebugConfigT&& value) {
913 m_remoteDebugConfigHasBeenSet = true;
914 m_remoteDebugConfig = std::forward<RemoteDebugConfigT>(value);
915 }
916 template <typename RemoteDebugConfigT = RemoteDebugConfig>
918 SetRemoteDebugConfig(std::forward<RemoteDebugConfigT>(value));
919 return *this;
920 }
922
924
928 inline const InfraCheckConfig& GetInfraCheckConfig() const { return m_infraCheckConfig; }
929 template <typename InfraCheckConfigT = InfraCheckConfig>
930 void SetInfraCheckConfig(InfraCheckConfigT&& value) {
931 m_infraCheckConfigHasBeenSet = true;
932 m_infraCheckConfig = std::forward<InfraCheckConfigT>(value);
933 }
934 template <typename InfraCheckConfigT = InfraCheckConfig>
936 SetInfraCheckConfig(std::forward<InfraCheckConfigT>(value));
937 return *this;
938 }
940
942
945 inline const ServerlessJobConfig& GetServerlessJobConfig() const { return m_serverlessJobConfig; }
946 template <typename ServerlessJobConfigT = ServerlessJobConfig>
947 void SetServerlessJobConfig(ServerlessJobConfigT&& value) {
948 m_serverlessJobConfigHasBeenSet = true;
949 m_serverlessJobConfig = std::forward<ServerlessJobConfigT>(value);
950 }
951 template <typename ServerlessJobConfigT = ServerlessJobConfig>
952 DescribeTrainingJobResult& WithServerlessJobConfig(ServerlessJobConfigT&& value) {
953 SetServerlessJobConfig(std::forward<ServerlessJobConfigT>(value));
954 return *this;
955 }
957
959
962 inline const MlflowConfig& GetMlflowConfig() const { return m_mlflowConfig; }
963 template <typename MlflowConfigT = MlflowConfig>
964 void SetMlflowConfig(MlflowConfigT&& value) {
965 m_mlflowConfigHasBeenSet = true;
966 m_mlflowConfig = std::forward<MlflowConfigT>(value);
967 }
968 template <typename MlflowConfigT = MlflowConfig>
970 SetMlflowConfig(std::forward<MlflowConfigT>(value));
971 return *this;
972 }
974
976
979 inline const ModelPackageConfig& GetModelPackageConfig() const { return m_modelPackageConfig; }
980 template <typename ModelPackageConfigT = ModelPackageConfig>
981 void SetModelPackageConfig(ModelPackageConfigT&& value) {
982 m_modelPackageConfigHasBeenSet = true;
983 m_modelPackageConfig = std::forward<ModelPackageConfigT>(value);
984 }
985 template <typename ModelPackageConfigT = ModelPackageConfig>
986 DescribeTrainingJobResult& WithModelPackageConfig(ModelPackageConfigT&& value) {
987 SetModelPackageConfig(std::forward<ModelPackageConfigT>(value));
988 return *this;
989 }
991
993
996 inline const MlflowDetails& GetMlflowDetails() const { return m_mlflowDetails; }
997 template <typename MlflowDetailsT = MlflowDetails>
998 void SetMlflowDetails(MlflowDetailsT&& value) {
999 m_mlflowDetailsHasBeenSet = true;
1000 m_mlflowDetails = std::forward<MlflowDetailsT>(value);
1001 }
1002 template <typename MlflowDetailsT = MlflowDetails>
1004 SetMlflowDetails(std::forward<MlflowDetailsT>(value));
1005 return *this;
1006 }
1008
1010
1013 inline const TrainingProgressInfo& GetProgressInfo() const { return m_progressInfo; }
1014 template <typename ProgressInfoT = TrainingProgressInfo>
1015 void SetProgressInfo(ProgressInfoT&& value) {
1016 m_progressInfoHasBeenSet = true;
1017 m_progressInfo = std::forward<ProgressInfoT>(value);
1018 }
1019 template <typename ProgressInfoT = TrainingProgressInfo>
1021 SetProgressInfo(std::forward<ProgressInfoT>(value));
1022 return *this;
1023 }
1025
1027
1031 inline const Aws::String& GetOutputModelPackageArn() const { return m_outputModelPackageArn; }
1032 template <typename OutputModelPackageArnT = Aws::String>
1033 void SetOutputModelPackageArn(OutputModelPackageArnT&& value) {
1034 m_outputModelPackageArnHasBeenSet = true;
1035 m_outputModelPackageArn = std::forward<OutputModelPackageArnT>(value);
1036 }
1037 template <typename OutputModelPackageArnT = Aws::String>
1038 DescribeTrainingJobResult& WithOutputModelPackageArn(OutputModelPackageArnT&& value) {
1039 SetOutputModelPackageArn(std::forward<OutputModelPackageArnT>(value));
1040 return *this;
1041 }
1043
1045
1046 inline const Aws::String& GetRequestId() const { return m_requestId; }
1047 template <typename RequestIdT = Aws::String>
1048 void SetRequestId(RequestIdT&& value) {
1049 m_requestIdHasBeenSet = true;
1050 m_requestId = std::forward<RequestIdT>(value);
1051 }
1052 template <typename RequestIdT = Aws::String>
1054 SetRequestId(std::forward<RequestIdT>(value));
1055 return *this;
1056 }
1058 private:
1059 Aws::String m_trainingJobName;
1060
1061 Aws::String m_trainingJobArn;
1062
1063 Aws::String m_tuningJobArn;
1064
1065 Aws::String m_labelingJobArn;
1066
1067 Aws::String m_autoMLJobArn;
1068
1069 ModelArtifacts m_modelArtifacts;
1070
1071 TrainingJobStatus m_trainingJobStatus{TrainingJobStatus::NOT_SET};
1072
1073 SecondaryStatus m_secondaryStatus{SecondaryStatus::NOT_SET};
1074
1075 Aws::String m_failureReason;
1076
1077 Aws::Map<Aws::String, Aws::String> m_hyperParameters;
1078
1079 AlgorithmSpecification m_algorithmSpecification;
1080
1081 Aws::String m_roleArn;
1082
1083 Aws::Vector<Channel> m_inputDataConfig;
1084
1085 OutputDataConfig m_outputDataConfig;
1086
1087 ResourceConfig m_resourceConfig;
1088
1089 WarmPoolStatus m_warmPoolStatus;
1090
1091 VpcConfig m_vpcConfig;
1092
1093 StoppingCondition m_stoppingCondition;
1094
1095 Aws::Utils::DateTime m_creationTime{};
1096
1097 Aws::Utils::DateTime m_trainingStartTime{};
1098
1099 Aws::Utils::DateTime m_trainingEndTime{};
1100
1101 Aws::Utils::DateTime m_lastModifiedTime{};
1102
1103 Aws::Vector<SecondaryStatusTransition> m_secondaryStatusTransitions;
1104
1105 Aws::Vector<MetricData> m_finalMetricDataList;
1106
1107 bool m_enableNetworkIsolation{false};
1108
1109 bool m_enableInterContainerTrafficEncryption{false};
1110
1111 bool m_enableManagedSpotTraining{false};
1112
1113 CheckpointConfig m_checkpointConfig;
1114
1115 int m_trainingTimeInSeconds{0};
1116
1117 int m_billableTimeInSeconds{0};
1118
1119 long long m_billableTokenCount{0};
1120
1121 DebugHookConfig m_debugHookConfig;
1122
1123 ExperimentConfig m_experimentConfig;
1124
1125 Aws::Vector<DebugRuleConfiguration> m_debugRuleConfigurations;
1126
1127 TensorBoardOutputConfig m_tensorBoardOutputConfig;
1128
1129 Aws::Vector<DebugRuleEvaluationStatus> m_debugRuleEvaluationStatuses;
1130
1131 ProfilerConfig m_profilerConfig;
1132
1133 Aws::Vector<ProfilerRuleConfiguration> m_profilerRuleConfigurations;
1134
1135 Aws::Vector<ProfilerRuleEvaluationStatus> m_profilerRuleEvaluationStatuses;
1136
1137 ProfilingStatus m_profilingStatus{ProfilingStatus::NOT_SET};
1138
1140
1141 RetryStrategy m_retryStrategy;
1142
1143 RemoteDebugConfig m_remoteDebugConfig;
1144
1145 InfraCheckConfig m_infraCheckConfig;
1146
1147 ServerlessJobConfig m_serverlessJobConfig;
1148
1149 MlflowConfig m_mlflowConfig;
1150
1151 ModelPackageConfig m_modelPackageConfig;
1152
1153 MlflowDetails m_mlflowDetails;
1154
1155 TrainingProgressInfo m_progressInfo;
1156
1157 Aws::String m_outputModelPackageArn;
1158
1159 Aws::String m_requestId;
1160 bool m_trainingJobNameHasBeenSet = false;
1161 bool m_trainingJobArnHasBeenSet = false;
1162 bool m_tuningJobArnHasBeenSet = false;
1163 bool m_labelingJobArnHasBeenSet = false;
1164 bool m_autoMLJobArnHasBeenSet = false;
1165 bool m_modelArtifactsHasBeenSet = false;
1166 bool m_trainingJobStatusHasBeenSet = false;
1167 bool m_secondaryStatusHasBeenSet = false;
1168 bool m_failureReasonHasBeenSet = false;
1169 bool m_hyperParametersHasBeenSet = false;
1170 bool m_algorithmSpecificationHasBeenSet = false;
1171 bool m_roleArnHasBeenSet = false;
1172 bool m_inputDataConfigHasBeenSet = false;
1173 bool m_outputDataConfigHasBeenSet = false;
1174 bool m_resourceConfigHasBeenSet = false;
1175 bool m_warmPoolStatusHasBeenSet = false;
1176 bool m_vpcConfigHasBeenSet = false;
1177 bool m_stoppingConditionHasBeenSet = false;
1178 bool m_creationTimeHasBeenSet = false;
1179 bool m_trainingStartTimeHasBeenSet = false;
1180 bool m_trainingEndTimeHasBeenSet = false;
1181 bool m_lastModifiedTimeHasBeenSet = false;
1182 bool m_secondaryStatusTransitionsHasBeenSet = false;
1183 bool m_finalMetricDataListHasBeenSet = false;
1184 bool m_enableNetworkIsolationHasBeenSet = false;
1185 bool m_enableInterContainerTrafficEncryptionHasBeenSet = false;
1186 bool m_enableManagedSpotTrainingHasBeenSet = false;
1187 bool m_checkpointConfigHasBeenSet = false;
1188 bool m_trainingTimeInSecondsHasBeenSet = false;
1189 bool m_billableTimeInSecondsHasBeenSet = false;
1190 bool m_billableTokenCountHasBeenSet = false;
1191 bool m_debugHookConfigHasBeenSet = false;
1192 bool m_experimentConfigHasBeenSet = false;
1193 bool m_debugRuleConfigurationsHasBeenSet = false;
1194 bool m_tensorBoardOutputConfigHasBeenSet = false;
1195 bool m_debugRuleEvaluationStatusesHasBeenSet = false;
1196 bool m_profilerConfigHasBeenSet = false;
1197 bool m_profilerRuleConfigurationsHasBeenSet = false;
1198 bool m_profilerRuleEvaluationStatusesHasBeenSet = false;
1199 bool m_profilingStatusHasBeenSet = false;
1200 bool m_environmentHasBeenSet = false;
1201 bool m_retryStrategyHasBeenSet = false;
1202 bool m_remoteDebugConfigHasBeenSet = false;
1203 bool m_infraCheckConfigHasBeenSet = false;
1204 bool m_serverlessJobConfigHasBeenSet = false;
1205 bool m_mlflowConfigHasBeenSet = false;
1206 bool m_modelPackageConfigHasBeenSet = false;
1207 bool m_mlflowDetailsHasBeenSet = false;
1208 bool m_progressInfoHasBeenSet = false;
1209 bool m_outputModelPackageArnHasBeenSet = false;
1210 bool m_requestIdHasBeenSet = false;
1211};
1212
1213} // namespace Model
1214} // namespace SageMaker
1215} // namespace Aws
DescribeTrainingJobResult & WithDebugHookConfig(DebugHookConfigT &&value)
const Aws::Vector< Channel > & GetInputDataConfig() const
DescribeTrainingJobResult & WithProfilerRuleEvaluationStatuses(ProfilerRuleEvaluationStatusesT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::Vector< ProfilerRuleEvaluationStatus > & GetProfilerRuleEvaluationStatuses() const
DescribeTrainingJobResult & WithProfilingStatus(ProfilingStatus value)
const AlgorithmSpecification & GetAlgorithmSpecification() const
DescribeTrainingJobResult & WithTuningJobArn(TuningJobArnT &&value)
DescribeTrainingJobResult & AddSecondaryStatusTransitions(SecondaryStatusTransitionsT &&value)
DescribeTrainingJobResult & AddProfilerRuleEvaluationStatuses(ProfilerRuleEvaluationStatusesT &&value)
AWS_SAGEMAKER_API DescribeTrainingJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrainingJobResult & AddDebugRuleEvaluationStatuses(DebugRuleEvaluationStatusesT &&value)
const TensorBoardOutputConfig & GetTensorBoardOutputConfig() const
DescribeTrainingJobResult & WithDebugRuleEvaluationStatuses(DebugRuleEvaluationStatusesT &&value)
DescribeTrainingJobResult & WithAutoMLJobArn(AutoMLJobArnT &&value)
void SetDebugRuleConfigurations(DebugRuleConfigurationsT &&value)
DescribeTrainingJobResult & WithTrainingJobArn(TrainingJobArnT &&value)
DescribeTrainingJobResult & WithFinalMetricDataList(FinalMetricDataListT &&value)
void SetAlgorithmSpecification(AlgorithmSpecificationT &&value)
DescribeTrainingJobResult & WithTrainingStartTime(TrainingStartTimeT &&value)
DescribeTrainingJobResult & WithInputDataConfig(InputDataConfigT &&value)
void SetProfilerRuleConfigurations(ProfilerRuleConfigurationsT &&value)
DescribeTrainingJobResult & WithFailureReason(FailureReasonT &&value)
void SetOutputModelPackageArn(OutputModelPackageArnT &&value)
void SetDebugRuleEvaluationStatuses(DebugRuleEvaluationStatusesT &&value)
DescribeTrainingJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Vector< DebugRuleEvaluationStatus > & GetDebugRuleEvaluationStatuses() const
DescribeTrainingJobResult & WithSecondaryStatusTransitions(SecondaryStatusTransitionsT &&value)
DescribeTrainingJobResult & AddFinalMetricDataList(FinalMetricDataListT &&value)
const Aws::Vector< MetricData > & GetFinalMetricDataList() const
DescribeTrainingJobResult & WithModelPackageConfig(ModelPackageConfigT &&value)
DescribeTrainingJobResult & WithCheckpointConfig(CheckpointConfigT &&value)
DescribeTrainingJobResult & WithEnableInterContainerTrafficEncryption(bool value)
DescribeTrainingJobResult & WithHyperParameters(HyperParametersT &&value)
const Aws::Map< Aws::String, Aws::String > & GetHyperParameters() const
const Aws::Utils::DateTime & GetTrainingEndTime() const
DescribeTrainingJobResult & AddDebugRuleConfigurations(DebugRuleConfigurationsT &&value)
void SetProfilerRuleEvaluationStatuses(ProfilerRuleEvaluationStatusesT &&value)
DescribeTrainingJobResult & WithAlgorithmSpecification(AlgorithmSpecificationT &&value)
DescribeTrainingJobResult & WithStoppingCondition(StoppingConditionT &&value)
DescribeTrainingJobResult & WithRoleArn(RoleArnT &&value)
DescribeTrainingJobResult & WithResourceConfig(ResourceConfigT &&value)
void SetSecondaryStatusTransitions(SecondaryStatusTransitionsT &&value)
void SetTensorBoardOutputConfig(TensorBoardOutputConfigT &&value)
DescribeTrainingJobResult & WithMlflowDetails(MlflowDetailsT &&value)
DescribeTrainingJobResult & WithRemoteDebugConfig(RemoteDebugConfigT &&value)
DescribeTrainingJobResult & WithExperimentConfig(ExperimentConfigT &&value)
DescribeTrainingJobResult & AddInputDataConfig(InputDataConfigT &&value)
DescribeTrainingJobResult & WithVpcConfig(VpcConfigT &&value)
AWS_SAGEMAKER_API DescribeTrainingJobResult()=default
DescribeTrainingJobResult & WithSecondaryStatus(SecondaryStatus value)
DescribeTrainingJobResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
DescribeTrainingJobResult & WithDebugRuleConfigurations(DebugRuleConfigurationsT &&value)
DescribeTrainingJobResult & WithEnvironment(EnvironmentT &&value)
DescribeTrainingJobResult & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
DescribeTrainingJobResult & WithTrainingJobName(TrainingJobNameT &&value)
DescribeTrainingJobResult & WithModelArtifacts(ModelArtifactsT &&value)
DescribeTrainingJobResult & WithEnableManagedSpotTraining(bool value)
DescribeTrainingJobResult & WithProgressInfo(ProgressInfoT &&value)
AWS_SAGEMAKER_API DescribeTrainingJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrainingJobResult & AddProfilerRuleConfigurations(ProfilerRuleConfigurationsT &&value)
DescribeTrainingJobResult & AddHyperParameters(HyperParametersKeyT &&key, HyperParametersValueT &&value)
const ServerlessJobConfig & GetServerlessJobConfig() const
DescribeTrainingJobResult & WithTrainingTimeInSeconds(int value)
DescribeTrainingJobResult & WithTrainingJobStatus(TrainingJobStatus value)
DescribeTrainingJobResult & WithMlflowConfig(MlflowConfigT &&value)
DescribeTrainingJobResult & WithProfilerRuleConfigurations(ProfilerRuleConfigurationsT &&value)
const Aws::Vector< ProfilerRuleConfiguration > & GetProfilerRuleConfigurations() const
DescribeTrainingJobResult & WithServerlessJobConfig(ServerlessJobConfigT &&value)
DescribeTrainingJobResult & WithCreationTime(CreationTimeT &&value)
DescribeTrainingJobResult & WithOutputDataConfig(OutputDataConfigT &&value)
const Aws::Vector< DebugRuleConfiguration > & GetDebugRuleConfigurations() const
DescribeTrainingJobResult & WithTensorBoardOutputConfig(TensorBoardOutputConfigT &&value)
DescribeTrainingJobResult & WithRetryStrategy(RetryStrategyT &&value)
DescribeTrainingJobResult & WithBillableTimeInSeconds(int value)
const Aws::Utils::DateTime & GetTrainingStartTime() const
DescribeTrainingJobResult & WithOutputModelPackageArn(OutputModelPackageArnT &&value)
const Aws::Vector< SecondaryStatusTransition > & GetSecondaryStatusTransitions() const
DescribeTrainingJobResult & WithTrainingEndTime(TrainingEndTimeT &&value)
DescribeTrainingJobResult & WithEnableNetworkIsolation(bool value)
DescribeTrainingJobResult & WithProfilerConfig(ProfilerConfigT &&value)
DescribeTrainingJobResult & WithBillableTokenCount(long long value)
DescribeTrainingJobResult & WithWarmPoolStatus(WarmPoolStatusT &&value)
DescribeTrainingJobResult & WithLabelingJobArn(LabelingJobArnT &&value)
DescribeTrainingJobResult & WithInfraCheckConfig(InfraCheckConfigT &&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