AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTrainingJobResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ModelArtifacts.h>
10#include <aws/sagemaker/model/TrainingJobStatus.h>
11#include <aws/sagemaker/model/SecondaryStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/sagemaker/model/AlgorithmSpecification.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/sagemaker/model/OutputDataConfig.h>
16#include <aws/sagemaker/model/ResourceConfig.h>
17#include <aws/sagemaker/model/WarmPoolStatus.h>
18#include <aws/sagemaker/model/VpcConfig.h>
19#include <aws/sagemaker/model/StoppingCondition.h>
20#include <aws/core/utils/DateTime.h>
21#include <aws/sagemaker/model/CheckpointConfig.h>
22#include <aws/sagemaker/model/DebugHookConfig.h>
23#include <aws/sagemaker/model/ExperimentConfig.h>
24#include <aws/sagemaker/model/TensorBoardOutputConfig.h>
25#include <aws/sagemaker/model/ProfilerConfig.h>
26#include <aws/sagemaker/model/ProfilingStatus.h>
27#include <aws/sagemaker/model/RetryStrategy.h>
28#include <aws/sagemaker/model/RemoteDebugConfig.h>
29#include <aws/sagemaker/model/InfraCheckConfig.h>
30#include <aws/sagemaker/model/Channel.h>
31#include <aws/sagemaker/model/SecondaryStatusTransition.h>
32#include <aws/sagemaker/model/MetricData.h>
33#include <aws/sagemaker/model/DebugRuleConfiguration.h>
34#include <aws/sagemaker/model/DebugRuleEvaluationStatus.h>
35#include <aws/sagemaker/model/ProfilerRuleConfiguration.h>
36#include <aws/sagemaker/model/ProfilerRuleEvaluationStatus.h>
37#include <utility>
38
39namespace Aws
40{
41template<typename RESULT_TYPE>
42class AmazonWebServiceResult;
43
44namespace Utils
45{
46namespace Json
47{
48 class JsonValue;
49} // namespace Json
50} // namespace Utils
51namespace SageMaker
52{
53namespace Model
54{
56 {
57 public:
58 AWS_SAGEMAKER_API DescribeTrainingJobResult();
61
62
64
67 inline const Aws::String& GetTrainingJobName() const{ return m_trainingJobName; }
68 inline void SetTrainingJobName(const Aws::String& value) { m_trainingJobName = value; }
69 inline void SetTrainingJobName(Aws::String&& value) { m_trainingJobName = std::move(value); }
70 inline void SetTrainingJobName(const char* value) { m_trainingJobName.assign(value); }
71 inline DescribeTrainingJobResult& WithTrainingJobName(const Aws::String& value) { SetTrainingJobName(value); return *this;}
72 inline DescribeTrainingJobResult& WithTrainingJobName(Aws::String&& value) { SetTrainingJobName(std::move(value)); return *this;}
73 inline DescribeTrainingJobResult& WithTrainingJobName(const char* value) { SetTrainingJobName(value); return *this;}
75
77
80 inline const Aws::String& GetTrainingJobArn() const{ return m_trainingJobArn; }
81 inline void SetTrainingJobArn(const Aws::String& value) { m_trainingJobArn = value; }
82 inline void SetTrainingJobArn(Aws::String&& value) { m_trainingJobArn = std::move(value); }
83 inline void SetTrainingJobArn(const char* value) { m_trainingJobArn.assign(value); }
84 inline DescribeTrainingJobResult& WithTrainingJobArn(const Aws::String& value) { SetTrainingJobArn(value); return *this;}
85 inline DescribeTrainingJobResult& WithTrainingJobArn(Aws::String&& value) { SetTrainingJobArn(std::move(value)); return *this;}
86 inline DescribeTrainingJobResult& WithTrainingJobArn(const char* value) { SetTrainingJobArn(value); return *this;}
88
90
94 inline const Aws::String& GetTuningJobArn() const{ return m_tuningJobArn; }
95 inline void SetTuningJobArn(const Aws::String& value) { m_tuningJobArn = value; }
96 inline void SetTuningJobArn(Aws::String&& value) { m_tuningJobArn = std::move(value); }
97 inline void SetTuningJobArn(const char* value) { m_tuningJobArn.assign(value); }
98 inline DescribeTrainingJobResult& WithTuningJobArn(const Aws::String& value) { SetTuningJobArn(value); return *this;}
99 inline DescribeTrainingJobResult& WithTuningJobArn(Aws::String&& value) { SetTuningJobArn(std::move(value)); return *this;}
100 inline DescribeTrainingJobResult& WithTuningJobArn(const char* value) { SetTuningJobArn(value); return *this;}
102
104
108 inline const Aws::String& GetLabelingJobArn() const{ return m_labelingJobArn; }
109 inline void SetLabelingJobArn(const Aws::String& value) { m_labelingJobArn = value; }
110 inline void SetLabelingJobArn(Aws::String&& value) { m_labelingJobArn = std::move(value); }
111 inline void SetLabelingJobArn(const char* value) { m_labelingJobArn.assign(value); }
112 inline DescribeTrainingJobResult& WithLabelingJobArn(const Aws::String& value) { SetLabelingJobArn(value); return *this;}
113 inline DescribeTrainingJobResult& WithLabelingJobArn(Aws::String&& value) { SetLabelingJobArn(std::move(value)); return *this;}
114 inline DescribeTrainingJobResult& WithLabelingJobArn(const char* value) { SetLabelingJobArn(value); return *this;}
116
118
121 inline const Aws::String& GetAutoMLJobArn() const{ return m_autoMLJobArn; }
122 inline void SetAutoMLJobArn(const Aws::String& value) { m_autoMLJobArn = value; }
123 inline void SetAutoMLJobArn(Aws::String&& value) { m_autoMLJobArn = std::move(value); }
124 inline void SetAutoMLJobArn(const char* value) { m_autoMLJobArn.assign(value); }
125 inline DescribeTrainingJobResult& WithAutoMLJobArn(const Aws::String& value) { SetAutoMLJobArn(value); return *this;}
126 inline DescribeTrainingJobResult& WithAutoMLJobArn(Aws::String&& value) { SetAutoMLJobArn(std::move(value)); return *this;}
127 inline DescribeTrainingJobResult& WithAutoMLJobArn(const char* value) { SetAutoMLJobArn(value); return *this;}
129
131
135 inline const ModelArtifacts& GetModelArtifacts() const{ return m_modelArtifacts; }
136 inline void SetModelArtifacts(const ModelArtifacts& value) { m_modelArtifacts = value; }
137 inline void SetModelArtifacts(ModelArtifacts&& value) { m_modelArtifacts = std::move(value); }
139 inline DescribeTrainingJobResult& WithModelArtifacts(ModelArtifacts&& value) { SetModelArtifacts(std::move(value)); return *this;}
141
143
154 inline const TrainingJobStatus& GetTrainingJobStatus() const{ return m_trainingJobStatus; }
155 inline void SetTrainingJobStatus(const TrainingJobStatus& value) { m_trainingJobStatus = value; }
156 inline void SetTrainingJobStatus(TrainingJobStatus&& value) { m_trainingJobStatus = std::move(value); }
160
162
193 inline const SecondaryStatus& GetSecondaryStatus() const{ return m_secondaryStatus; }
194 inline void SetSecondaryStatus(const SecondaryStatus& value) { m_secondaryStatus = value; }
195 inline void SetSecondaryStatus(SecondaryStatus&& value) { m_secondaryStatus = std::move(value); }
197 inline DescribeTrainingJobResult& WithSecondaryStatus(SecondaryStatus&& value) { SetSecondaryStatus(std::move(value)); return *this;}
199
201
204 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
205 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
206 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
207 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
208 inline DescribeTrainingJobResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
209 inline DescribeTrainingJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
210 inline DescribeTrainingJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
212
214
217 inline const Aws::Map<Aws::String, Aws::String>& GetHyperParameters() const{ return m_hyperParameters; }
218 inline void SetHyperParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_hyperParameters = value; }
219 inline void SetHyperParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_hyperParameters = std::move(value); }
222 inline DescribeTrainingJobResult& AddHyperParameters(const Aws::String& key, const Aws::String& value) { m_hyperParameters.emplace(key, value); return *this; }
223 inline DescribeTrainingJobResult& AddHyperParameters(Aws::String&& key, const Aws::String& value) { m_hyperParameters.emplace(std::move(key), value); return *this; }
224 inline DescribeTrainingJobResult& AddHyperParameters(const Aws::String& key, Aws::String&& value) { m_hyperParameters.emplace(key, std::move(value)); return *this; }
225 inline DescribeTrainingJobResult& AddHyperParameters(Aws::String&& key, Aws::String&& value) { m_hyperParameters.emplace(std::move(key), std::move(value)); return *this; }
226 inline DescribeTrainingJobResult& AddHyperParameters(const char* key, Aws::String&& value) { m_hyperParameters.emplace(key, std::move(value)); return *this; }
227 inline DescribeTrainingJobResult& AddHyperParameters(Aws::String&& key, const char* value) { m_hyperParameters.emplace(std::move(key), value); return *this; }
228 inline DescribeTrainingJobResult& AddHyperParameters(const char* key, const char* value) { m_hyperParameters.emplace(key, value); return *this; }
230
232
236 inline const AlgorithmSpecification& GetAlgorithmSpecification() const{ return m_algorithmSpecification; }
237 inline void SetAlgorithmSpecification(const AlgorithmSpecification& value) { m_algorithmSpecification = value; }
238 inline void SetAlgorithmSpecification(AlgorithmSpecification&& value) { m_algorithmSpecification = std::move(value); }
242
244
248 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
249 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
250 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
251 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
252 inline DescribeTrainingJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
253 inline DescribeTrainingJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
254 inline DescribeTrainingJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
256
258
262 inline const Aws::Vector<Channel>& GetInputDataConfig() const{ return m_inputDataConfig; }
263 inline void SetInputDataConfig(const Aws::Vector<Channel>& value) { m_inputDataConfig = value; }
264 inline void SetInputDataConfig(Aws::Vector<Channel>&& value) { m_inputDataConfig = std::move(value); }
267 inline DescribeTrainingJobResult& AddInputDataConfig(const Channel& value) { m_inputDataConfig.push_back(value); return *this; }
268 inline DescribeTrainingJobResult& AddInputDataConfig(Channel&& value) { m_inputDataConfig.push_back(std::move(value)); return *this; }
270
272
276 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
277 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfig = value; }
278 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfig = std::move(value); }
280 inline DescribeTrainingJobResult& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;}
282
284
288 inline const ResourceConfig& GetResourceConfig() const{ return m_resourceConfig; }
289 inline void SetResourceConfig(const ResourceConfig& value) { m_resourceConfig = value; }
290 inline void SetResourceConfig(ResourceConfig&& value) { m_resourceConfig = std::move(value); }
292 inline DescribeTrainingJobResult& WithResourceConfig(ResourceConfig&& value) { SetResourceConfig(std::move(value)); return *this;}
294
296
299 inline const WarmPoolStatus& GetWarmPoolStatus() const{ return m_warmPoolStatus; }
300 inline void SetWarmPoolStatus(const WarmPoolStatus& value) { m_warmPoolStatus = value; }
301 inline void SetWarmPoolStatus(WarmPoolStatus&& value) { m_warmPoolStatus = std::move(value); }
303 inline DescribeTrainingJobResult& WithWarmPoolStatus(WarmPoolStatus&& value) { SetWarmPoolStatus(std::move(value)); return *this;}
305
307
315 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
316 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfig = value; }
317 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfig = std::move(value); }
318 inline DescribeTrainingJobResult& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
319 inline DescribeTrainingJobResult& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
321
323
332 inline const StoppingCondition& GetStoppingCondition() const{ return m_stoppingCondition; }
333 inline void SetStoppingCondition(const StoppingCondition& value) { m_stoppingCondition = value; }
334 inline void SetStoppingCondition(StoppingCondition&& value) { m_stoppingCondition = std::move(value); }
338
340
343 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
344 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
345 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
347 inline DescribeTrainingJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
349
351
358 inline const Aws::Utils::DateTime& GetTrainingStartTime() const{ return m_trainingStartTime; }
359 inline void SetTrainingStartTime(const Aws::Utils::DateTime& value) { m_trainingStartTime = value; }
360 inline void SetTrainingStartTime(Aws::Utils::DateTime&& value) { m_trainingStartTime = std::move(value); }
364
366
373 inline const Aws::Utils::DateTime& GetTrainingEndTime() const{ return m_trainingEndTime; }
374 inline void SetTrainingEndTime(const Aws::Utils::DateTime& value) { m_trainingEndTime = value; }
375 inline void SetTrainingEndTime(Aws::Utils::DateTime&& value) { m_trainingEndTime = std::move(value); }
379
381
385 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
386 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
387 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
391
393
397 inline const Aws::Vector<SecondaryStatusTransition>& GetSecondaryStatusTransitions() const{ return m_secondaryStatusTransitions; }
398 inline void SetSecondaryStatusTransitions(const Aws::Vector<SecondaryStatusTransition>& value) { m_secondaryStatusTransitions = value; }
399 inline void SetSecondaryStatusTransitions(Aws::Vector<SecondaryStatusTransition>&& value) { m_secondaryStatusTransitions = std::move(value); }
402 inline DescribeTrainingJobResult& AddSecondaryStatusTransitions(const SecondaryStatusTransition& value) { m_secondaryStatusTransitions.push_back(value); return *this; }
403 inline DescribeTrainingJobResult& AddSecondaryStatusTransitions(SecondaryStatusTransition&& value) { m_secondaryStatusTransitions.push_back(std::move(value)); return *this; }
405
407
412 inline const Aws::Vector<MetricData>& GetFinalMetricDataList() const{ return m_finalMetricDataList; }
413 inline void SetFinalMetricDataList(const Aws::Vector<MetricData>& value) { m_finalMetricDataList = value; }
414 inline void SetFinalMetricDataList(Aws::Vector<MetricData>&& value) { m_finalMetricDataList = std::move(value); }
417 inline DescribeTrainingJobResult& AddFinalMetricDataList(const MetricData& value) { m_finalMetricDataList.push_back(value); return *this; }
418 inline DescribeTrainingJobResult& AddFinalMetricDataList(MetricData&& value) { m_finalMetricDataList.push_back(std::move(value)); return *this; }
420
422
430 inline bool GetEnableNetworkIsolation() const{ return m_enableNetworkIsolation; }
431 inline void SetEnableNetworkIsolation(bool value) { m_enableNetworkIsolation = value; }
434
436
443 inline bool GetEnableInterContainerTrafficEncryption() const{ return m_enableInterContainerTrafficEncryption; }
444 inline void SetEnableInterContainerTrafficEncryption(bool value) { m_enableInterContainerTrafficEncryption = value; }
447
449
453 inline bool GetEnableManagedSpotTraining() const{ return m_enableManagedSpotTraining; }
454 inline void SetEnableManagedSpotTraining(bool value) { m_enableManagedSpotTraining = value; }
457
459
460 inline const CheckpointConfig& GetCheckpointConfig() const{ return m_checkpointConfig; }
461 inline void SetCheckpointConfig(const CheckpointConfig& value) { m_checkpointConfig = value; }
462 inline void SetCheckpointConfig(CheckpointConfig&& value) { m_checkpointConfig = std::move(value); }
464 inline DescribeTrainingJobResult& WithCheckpointConfig(CheckpointConfig&& value) { SetCheckpointConfig(std::move(value)); return *this;}
466
468
471 inline int GetTrainingTimeInSeconds() const{ return m_trainingTimeInSeconds; }
472 inline void SetTrainingTimeInSeconds(int value) { m_trainingTimeInSeconds = value; }
475
477
488 inline int GetBillableTimeInSeconds() const{ return m_billableTimeInSeconds; }
489 inline void SetBillableTimeInSeconds(int value) { m_billableTimeInSeconds = value; }
492
494
495 inline const DebugHookConfig& GetDebugHookConfig() const{ return m_debugHookConfig; }
496 inline void SetDebugHookConfig(const DebugHookConfig& value) { m_debugHookConfig = value; }
497 inline void SetDebugHookConfig(DebugHookConfig&& value) { m_debugHookConfig = std::move(value); }
499 inline DescribeTrainingJobResult& WithDebugHookConfig(DebugHookConfig&& value) { SetDebugHookConfig(std::move(value)); return *this;}
501
503
504 inline const ExperimentConfig& GetExperimentConfig() const{ return m_experimentConfig; }
505 inline void SetExperimentConfig(const ExperimentConfig& value) { m_experimentConfig = value; }
506 inline void SetExperimentConfig(ExperimentConfig&& value) { m_experimentConfig = std::move(value); }
508 inline DescribeTrainingJobResult& WithExperimentConfig(ExperimentConfig&& value) { SetExperimentConfig(std::move(value)); return *this;}
510
512
516 inline const Aws::Vector<DebugRuleConfiguration>& GetDebugRuleConfigurations() const{ return m_debugRuleConfigurations; }
517 inline void SetDebugRuleConfigurations(const Aws::Vector<DebugRuleConfiguration>& value) { m_debugRuleConfigurations = value; }
518 inline void SetDebugRuleConfigurations(Aws::Vector<DebugRuleConfiguration>&& value) { m_debugRuleConfigurations = std::move(value); }
521 inline DescribeTrainingJobResult& AddDebugRuleConfigurations(const DebugRuleConfiguration& value) { m_debugRuleConfigurations.push_back(value); return *this; }
522 inline DescribeTrainingJobResult& AddDebugRuleConfigurations(DebugRuleConfiguration&& value) { m_debugRuleConfigurations.push_back(std::move(value)); return *this; }
524
526
527 inline const TensorBoardOutputConfig& GetTensorBoardOutputConfig() const{ return m_tensorBoardOutputConfig; }
528 inline void SetTensorBoardOutputConfig(const TensorBoardOutputConfig& value) { m_tensorBoardOutputConfig = value; }
529 inline void SetTensorBoardOutputConfig(TensorBoardOutputConfig&& value) { m_tensorBoardOutputConfig = std::move(value); }
533
535
539 inline const Aws::Vector<DebugRuleEvaluationStatus>& GetDebugRuleEvaluationStatuses() const{ return m_debugRuleEvaluationStatuses; }
540 inline void SetDebugRuleEvaluationStatuses(const Aws::Vector<DebugRuleEvaluationStatus>& value) { m_debugRuleEvaluationStatuses = value; }
541 inline void SetDebugRuleEvaluationStatuses(Aws::Vector<DebugRuleEvaluationStatus>&& value) { m_debugRuleEvaluationStatuses = std::move(value); }
544 inline DescribeTrainingJobResult& AddDebugRuleEvaluationStatuses(const DebugRuleEvaluationStatus& value) { m_debugRuleEvaluationStatuses.push_back(value); return *this; }
545 inline DescribeTrainingJobResult& AddDebugRuleEvaluationStatuses(DebugRuleEvaluationStatus&& value) { m_debugRuleEvaluationStatuses.push_back(std::move(value)); return *this; }
547
549
550 inline const ProfilerConfig& GetProfilerConfig() const{ return m_profilerConfig; }
551 inline void SetProfilerConfig(const ProfilerConfig& value) { m_profilerConfig = value; }
552 inline void SetProfilerConfig(ProfilerConfig&& value) { m_profilerConfig = std::move(value); }
554 inline DescribeTrainingJobResult& WithProfilerConfig(ProfilerConfig&& value) { SetProfilerConfig(std::move(value)); return *this;}
556
558
562 inline const Aws::Vector<ProfilerRuleConfiguration>& GetProfilerRuleConfigurations() const{ return m_profilerRuleConfigurations; }
563 inline void SetProfilerRuleConfigurations(const Aws::Vector<ProfilerRuleConfiguration>& value) { m_profilerRuleConfigurations = value; }
564 inline void SetProfilerRuleConfigurations(Aws::Vector<ProfilerRuleConfiguration>&& value) { m_profilerRuleConfigurations = std::move(value); }
567 inline DescribeTrainingJobResult& AddProfilerRuleConfigurations(const ProfilerRuleConfiguration& value) { m_profilerRuleConfigurations.push_back(value); return *this; }
568 inline DescribeTrainingJobResult& AddProfilerRuleConfigurations(ProfilerRuleConfiguration&& value) { m_profilerRuleConfigurations.push_back(std::move(value)); return *this; }
570
572
576 inline const Aws::Vector<ProfilerRuleEvaluationStatus>& GetProfilerRuleEvaluationStatuses() const{ return m_profilerRuleEvaluationStatuses; }
577 inline void SetProfilerRuleEvaluationStatuses(const Aws::Vector<ProfilerRuleEvaluationStatus>& value) { m_profilerRuleEvaluationStatuses = value; }
578 inline void SetProfilerRuleEvaluationStatuses(Aws::Vector<ProfilerRuleEvaluationStatus>&& value) { m_profilerRuleEvaluationStatuses = std::move(value); }
581 inline DescribeTrainingJobResult& AddProfilerRuleEvaluationStatuses(const ProfilerRuleEvaluationStatus& value) { m_profilerRuleEvaluationStatuses.push_back(value); return *this; }
582 inline DescribeTrainingJobResult& AddProfilerRuleEvaluationStatuses(ProfilerRuleEvaluationStatus&& value) { m_profilerRuleEvaluationStatuses.push_back(std::move(value)); return *this; }
584
586
589 inline const ProfilingStatus& GetProfilingStatus() const{ return m_profilingStatus; }
590 inline void SetProfilingStatus(const ProfilingStatus& value) { m_profilingStatus = value; }
591 inline void SetProfilingStatus(ProfilingStatus&& value) { m_profilingStatus = std::move(value); }
593 inline DescribeTrainingJobResult& WithProfilingStatus(ProfilingStatus&& value) { SetProfilingStatus(std::move(value)); return *this;}
595
597
600 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
601 inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environment = value; }
602 inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environment = std::move(value); }
605 inline DescribeTrainingJobResult& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environment.emplace(key, value); return *this; }
606 inline DescribeTrainingJobResult& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environment.emplace(std::move(key), value); return *this; }
607 inline DescribeTrainingJobResult& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environment.emplace(key, std::move(value)); return *this; }
608 inline DescribeTrainingJobResult& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environment.emplace(std::move(key), std::move(value)); return *this; }
609 inline DescribeTrainingJobResult& AddEnvironment(const char* key, Aws::String&& value) { m_environment.emplace(key, std::move(value)); return *this; }
610 inline DescribeTrainingJobResult& AddEnvironment(Aws::String&& key, const char* value) { m_environment.emplace(std::move(key), value); return *this; }
611 inline DescribeTrainingJobResult& AddEnvironment(const char* key, const char* value) { m_environment.emplace(key, value); return *this; }
613
615
619 inline const RetryStrategy& GetRetryStrategy() const{ return m_retryStrategy; }
620 inline void SetRetryStrategy(const RetryStrategy& value) { m_retryStrategy = value; }
621 inline void SetRetryStrategy(RetryStrategy&& value) { m_retryStrategy = std::move(value); }
622 inline DescribeTrainingJobResult& WithRetryStrategy(const RetryStrategy& value) { SetRetryStrategy(value); return *this;}
623 inline DescribeTrainingJobResult& WithRetryStrategy(RetryStrategy&& value) { SetRetryStrategy(std::move(value)); return *this;}
625
627
634 inline const RemoteDebugConfig& GetRemoteDebugConfig() const{ return m_remoteDebugConfig; }
635 inline void SetRemoteDebugConfig(const RemoteDebugConfig& value) { m_remoteDebugConfig = value; }
636 inline void SetRemoteDebugConfig(RemoteDebugConfig&& value) { m_remoteDebugConfig = std::move(value); }
640
642
646 inline const InfraCheckConfig& GetInfraCheckConfig() const{ return m_infraCheckConfig; }
647 inline void SetInfraCheckConfig(const InfraCheckConfig& value) { m_infraCheckConfig = value; }
648 inline void SetInfraCheckConfig(InfraCheckConfig&& value) { m_infraCheckConfig = std::move(value); }
650 inline DescribeTrainingJobResult& WithInfraCheckConfig(InfraCheckConfig&& value) { SetInfraCheckConfig(std::move(value)); return *this;}
652
654
655 inline const Aws::String& GetRequestId() const{ return m_requestId; }
656 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
657 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
658 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
659 inline DescribeTrainingJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
660 inline DescribeTrainingJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
661 inline DescribeTrainingJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
663 private:
664
665 Aws::String m_trainingJobName;
666
667 Aws::String m_trainingJobArn;
668
669 Aws::String m_tuningJobArn;
670
671 Aws::String m_labelingJobArn;
672
673 Aws::String m_autoMLJobArn;
674
675 ModelArtifacts m_modelArtifacts;
676
677 TrainingJobStatus m_trainingJobStatus;
678
679 SecondaryStatus m_secondaryStatus;
680
681 Aws::String m_failureReason;
682
683 Aws::Map<Aws::String, Aws::String> m_hyperParameters;
684
685 AlgorithmSpecification m_algorithmSpecification;
686
687 Aws::String m_roleArn;
688
689 Aws::Vector<Channel> m_inputDataConfig;
690
691 OutputDataConfig m_outputDataConfig;
692
693 ResourceConfig m_resourceConfig;
694
695 WarmPoolStatus m_warmPoolStatus;
696
697 VpcConfig m_vpcConfig;
698
699 StoppingCondition m_stoppingCondition;
700
701 Aws::Utils::DateTime m_creationTime;
702
703 Aws::Utils::DateTime m_trainingStartTime;
704
705 Aws::Utils::DateTime m_trainingEndTime;
706
707 Aws::Utils::DateTime m_lastModifiedTime;
708
709 Aws::Vector<SecondaryStatusTransition> m_secondaryStatusTransitions;
710
711 Aws::Vector<MetricData> m_finalMetricDataList;
712
713 bool m_enableNetworkIsolation;
714
715 bool m_enableInterContainerTrafficEncryption;
716
717 bool m_enableManagedSpotTraining;
718
719 CheckpointConfig m_checkpointConfig;
720
721 int m_trainingTimeInSeconds;
722
723 int m_billableTimeInSeconds;
724
725 DebugHookConfig m_debugHookConfig;
726
727 ExperimentConfig m_experimentConfig;
728
729 Aws::Vector<DebugRuleConfiguration> m_debugRuleConfigurations;
730
731 TensorBoardOutputConfig m_tensorBoardOutputConfig;
732
733 Aws::Vector<DebugRuleEvaluationStatus> m_debugRuleEvaluationStatuses;
734
735 ProfilerConfig m_profilerConfig;
736
737 Aws::Vector<ProfilerRuleConfiguration> m_profilerRuleConfigurations;
738
739 Aws::Vector<ProfilerRuleEvaluationStatus> m_profilerRuleEvaluationStatuses;
740
741 ProfilingStatus m_profilingStatus;
742
744
745 RetryStrategy m_retryStrategy;
746
747 RemoteDebugConfig m_remoteDebugConfig;
748
749 InfraCheckConfig m_infraCheckConfig;
750
751 Aws::String m_requestId;
752 };
753
754} // namespace Model
755} // namespace SageMaker
756} // namespace Aws
DescribeTrainingJobResult & AddProfilerRuleConfigurations(const ProfilerRuleConfiguration &value)
DescribeTrainingJobResult & AddInputDataConfig(const Channel &value)
DescribeTrainingJobResult & AddEnvironment(Aws::String &&key, Aws::String &&value)
DescribeTrainingJobResult & WithTrainingEndTime(const Aws::Utils::DateTime &value)
DescribeTrainingJobResult & WithTrainingJobStatus(TrainingJobStatus &&value)
const Aws::Vector< Channel > & GetInputDataConfig() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeTrainingJobResult & WithDebugRuleConfigurations(const Aws::Vector< DebugRuleConfiguration > &value)
const Aws::Vector< ProfilerRuleEvaluationStatus > & GetProfilerRuleEvaluationStatuses() const
const AlgorithmSpecification & GetAlgorithmSpecification() const
void SetProfilerRuleEvaluationStatuses(const Aws::Vector< ProfilerRuleEvaluationStatus > &value)
void SetTrainingEndTime(const Aws::Utils::DateTime &value)
DescribeTrainingJobResult & WithAlgorithmSpecification(AlgorithmSpecification &&value)
DescribeTrainingJobResult & AddSecondaryStatusTransitions(SecondaryStatusTransition &&value)
AWS_SAGEMAKER_API DescribeTrainingJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTrainingJobResult & AddHyperParameters(const char *key, const char *value)
DescribeTrainingJobResult & WithOutputDataConfig(const OutputDataConfig &value)
void SetDebugRuleConfigurations(const Aws::Vector< DebugRuleConfiguration > &value)
DescribeTrainingJobResult & WithLabelingJobArn(const char *value)
DescribeTrainingJobResult & WithFinalMetricDataList(Aws::Vector< MetricData > &&value)
DescribeTrainingJobResult & WithRequestId(const char *value)
DescribeTrainingJobResult & WithFailureReason(const char *value)
void SetDebugRuleEvaluationStatuses(Aws::Vector< DebugRuleEvaluationStatus > &&value)
DescribeTrainingJobResult & WithTrainingJobName(const Aws::String &value)
DescribeTrainingJobResult & AddHyperParameters(const Aws::String &key, Aws::String &&value)
DescribeTrainingJobResult & WithVpcConfig(VpcConfig &&value)
const TensorBoardOutputConfig & GetTensorBoardOutputConfig() const
DescribeTrainingJobResult & WithHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
DescribeTrainingJobResult & WithCheckpointConfig(const CheckpointConfig &value)
DescribeTrainingJobResult & AddEnvironment(const Aws::String &key, Aws::String &&value)
void SetProfilerRuleConfigurations(const Aws::Vector< ProfilerRuleConfiguration > &value)
DescribeTrainingJobResult & WithTrainingJobStatus(const TrainingJobStatus &value)
DescribeTrainingJobResult & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
void SetSecondaryStatusTransitions(const Aws::Vector< SecondaryStatusTransition > &value)
DescribeTrainingJobResult & AddDebugRuleEvaluationStatuses(const DebugRuleEvaluationStatus &value)
DescribeTrainingJobResult & WithRetryStrategy(const RetryStrategy &value)
DescribeTrainingJobResult & AddEnvironment(const char *key, const char *value)
DescribeTrainingJobResult & WithLabelingJobArn(Aws::String &&value)
DescribeTrainingJobResult & WithSecondaryStatusTransitions(Aws::Vector< SecondaryStatusTransition > &&value)
DescribeTrainingJobResult & WithOutputDataConfig(OutputDataConfig &&value)
DescribeTrainingJobResult & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeTrainingJobResult & WithStoppingCondition(const StoppingCondition &value)
const Aws::Vector< DebugRuleEvaluationStatus > & GetDebugRuleEvaluationStatuses() const
DescribeTrainingJobResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeTrainingJobResult & WithLabelingJobArn(const Aws::String &value)
DescribeTrainingJobResult & WithSecondaryStatusTransitions(const Aws::Vector< SecondaryStatusTransition > &value)
const Aws::Vector< MetricData > & GetFinalMetricDataList() const
DescribeTrainingJobResult & WithRequestId(Aws::String &&value)
DescribeTrainingJobResult & WithAlgorithmSpecification(const AlgorithmSpecification &value)
DescribeTrainingJobResult & WithInputDataConfig(Aws::Vector< Channel > &&value)
DescribeTrainingJobResult & AddEnvironment(const Aws::String &key, const Aws::String &value)
DescribeTrainingJobResult & AddHyperParameters(Aws::String &&key, Aws::String &&value)
void SetTensorBoardOutputConfig(TensorBoardOutputConfig &&value)
DescribeTrainingJobResult & WithHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
DescribeTrainingJobResult & WithProfilingStatus(const ProfilingStatus &value)
DescribeTrainingJobResult & WithEnableInterContainerTrafficEncryption(bool value)
DescribeTrainingJobResult & WithResourceConfig(ResourceConfig &&value)
DescribeTrainingJobResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeTrainingJobResult & AddProfilerRuleEvaluationStatuses(const ProfilerRuleEvaluationStatus &value)
const Aws::Map< Aws::String, Aws::String > & GetHyperParameters() const
DescribeTrainingJobResult & WithTrainingJobName(Aws::String &&value)
DescribeTrainingJobResult & AddHyperParameters(Aws::String &&key, const char *value)
DescribeTrainingJobResult & WithProfilerRuleConfigurations(Aws::Vector< ProfilerRuleConfiguration > &&value)
const Aws::Utils::DateTime & GetTrainingEndTime() const
DescribeTrainingJobResult & WithRemoteDebugConfig(RemoteDebugConfig &&value)
DescribeTrainingJobResult & AddProfilerRuleEvaluationStatuses(ProfilerRuleEvaluationStatus &&value)
DescribeTrainingJobResult & WithResourceConfig(const ResourceConfig &value)
void SetDebugRuleConfigurations(Aws::Vector< DebugRuleConfiguration > &&value)
DescribeTrainingJobResult & AddHyperParameters(const char *key, Aws::String &&value)
DescribeTrainingJobResult & WithAutoMLJobArn(Aws::String &&value)
DescribeTrainingJobResult & WithFailureReason(Aws::String &&value)
DescribeTrainingJobResult & WithTuningJobArn(const char *value)
DescribeTrainingJobResult & WithTrainingEndTime(Aws::Utils::DateTime &&value)
DescribeTrainingJobResult & WithInfraCheckConfig(InfraCheckConfig &&value)
DescribeTrainingJobResult & WithCheckpointConfig(CheckpointConfig &&value)
void SetAlgorithmSpecification(const AlgorithmSpecification &value)
void SetProfilerRuleEvaluationStatuses(Aws::Vector< ProfilerRuleEvaluationStatus > &&value)
DescribeTrainingJobResult & WithProfilerRuleEvaluationStatuses(const Aws::Vector< ProfilerRuleEvaluationStatus > &value)
DescribeTrainingJobResult & AddEnvironment(const char *key, Aws::String &&value)
DescribeTrainingJobResult & WithDebugRuleConfigurations(Aws::Vector< DebugRuleConfiguration > &&value)
DescribeTrainingJobResult & WithDebugRuleEvaluationStatuses(Aws::Vector< DebugRuleEvaluationStatus > &&value)
DescribeTrainingJobResult & WithProfilerConfig(ProfilerConfig &&value)
DescribeTrainingJobResult & AddHyperParameters(Aws::String &&key, const Aws::String &value)
DescribeTrainingJobResult & WithRoleArn(const Aws::String &value)
DescribeTrainingJobResult & WithAutoMLJobArn(const char *value)
void SetTrainingJobStatus(const TrainingJobStatus &value)
DescribeTrainingJobResult & WithVpcConfig(const VpcConfig &value)
void SetFinalMetricDataList(const Aws::Vector< MetricData > &value)
DescribeTrainingJobResult & WithInfraCheckConfig(const InfraCheckConfig &value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
DescribeTrainingJobResult & WithSecondaryStatus(const SecondaryStatus &value)
void SetProfilerRuleConfigurations(Aws::Vector< ProfilerRuleConfiguration > &&value)
DescribeTrainingJobResult & WithTrainingJobArn(const Aws::String &value)
DescribeTrainingJobResult & WithProfilerRuleConfigurations(const Aws::Vector< ProfilerRuleConfiguration > &value)
DescribeTrainingJobResult & AddHyperParameters(const Aws::String &key, const Aws::String &value)
DescribeTrainingJobResult & AddEnvironment(Aws::String &&key, const char *value)
DescribeTrainingJobResult & WithRoleArn(const char *value)
DescribeTrainingJobResult & WithProfilerRuleEvaluationStatuses(Aws::Vector< ProfilerRuleEvaluationStatus > &&value)
DescribeTrainingJobResult & WithWarmPoolStatus(const WarmPoolStatus &value)
DescribeTrainingJobResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeTrainingJobResult & WithTrainingStartTime(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
DescribeTrainingJobResult & WithFinalMetricDataList(const Aws::Vector< MetricData > &value)
DescribeTrainingJobResult & WithTrainingJobArn(Aws::String &&value)
void SetAlgorithmSpecification(AlgorithmSpecification &&value)
DescribeTrainingJobResult & WithEnableManagedSpotTraining(bool value)
DescribeTrainingJobResult & WithTensorBoardOutputConfig(const TensorBoardOutputConfig &value)
DescribeTrainingJobResult & WithTensorBoardOutputConfig(TensorBoardOutputConfig &&value)
void SetTensorBoardOutputConfig(const TensorBoardOutputConfig &value)
DescribeTrainingJobResult & WithExperimentConfig(const ExperimentConfig &value)
DescribeTrainingJobResult & AddDebugRuleEvaluationStatuses(DebugRuleEvaluationStatus &&value)
void SetFinalMetricDataList(Aws::Vector< MetricData > &&value)
DescribeTrainingJobResult & WithModelArtifacts(ModelArtifacts &&value)
AWS_SAGEMAKER_API DescribeTrainingJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
void SetStoppingCondition(const StoppingCondition &value)
DescribeTrainingJobResult & WithInputDataConfig(const Aws::Vector< Channel > &value)
DescribeTrainingJobResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetInputDataConfig(Aws::Vector< Channel > &&value)
DescribeTrainingJobResult & WithTrainingTimeInSeconds(int value)
DescribeTrainingJobResult & AddSecondaryStatusTransitions(const SecondaryStatusTransition &value)
DescribeTrainingJobResult & WithRetryStrategy(RetryStrategy &&value)
void SetTrainingStartTime(const Aws::Utils::DateTime &value)
DescribeTrainingJobResult & WithWarmPoolStatus(WarmPoolStatus &&value)
DescribeTrainingJobResult & WithDebugHookConfig(const DebugHookConfig &value)
DescribeTrainingJobResult & WithTrainingJobName(const char *value)
const Aws::Vector< ProfilerRuleConfiguration > & GetProfilerRuleConfigurations() const
void SetSecondaryStatusTransitions(Aws::Vector< SecondaryStatusTransition > &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetRemoteDebugConfig(const RemoteDebugConfig &value)
const Aws::Vector< DebugRuleConfiguration > & GetDebugRuleConfigurations() const
DescribeTrainingJobResult & WithTuningJobArn(const Aws::String &value)
void SetDebugRuleEvaluationStatuses(const Aws::Vector< DebugRuleEvaluationStatus > &value)
DescribeTrainingJobResult & AddEnvironment(Aws::String &&key, const Aws::String &value)
DescribeTrainingJobResult & WithBillableTimeInSeconds(int value)
DescribeTrainingJobResult & WithExperimentConfig(ExperimentConfig &&value)
DescribeTrainingJobResult & WithTrainingStartTime(const Aws::Utils::DateTime &value)
void SetHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Utils::DateTime & GetTrainingStartTime() const
DescribeTrainingJobResult & WithDebugRuleEvaluationStatuses(const Aws::Vector< DebugRuleEvaluationStatus > &value)
const Aws::Vector< SecondaryStatusTransition > & GetSecondaryStatusTransitions() const
DescribeTrainingJobResult & WithProfilerConfig(const ProfilerConfig &value)
DescribeTrainingJobResult & WithTuningJobArn(Aws::String &&value)
DescribeTrainingJobResult & WithTrainingJobArn(const char *value)
DescribeTrainingJobResult & AddFinalMetricDataList(const MetricData &value)
DescribeTrainingJobResult & AddDebugRuleConfigurations(DebugRuleConfiguration &&value)
DescribeTrainingJobResult & AddProfilerRuleConfigurations(ProfilerRuleConfiguration &&value)
void SetHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetInputDataConfig(const Aws::Vector< Channel > &value)
DescribeTrainingJobResult & WithAutoMLJobArn(const Aws::String &value)
DescribeTrainingJobResult & WithFailureReason(const Aws::String &value)
DescribeTrainingJobResult & WithEnableNetworkIsolation(bool value)
DescribeTrainingJobResult & WithSecondaryStatus(SecondaryStatus &&value)
DescribeTrainingJobResult & WithRoleArn(Aws::String &&value)
DescribeTrainingJobResult & WithStoppingCondition(StoppingCondition &&value)
DescribeTrainingJobResult & WithProfilingStatus(ProfilingStatus &&value)
DescribeTrainingJobResult & AddInputDataConfig(Channel &&value)
DescribeTrainingJobResult & WithDebugHookConfig(DebugHookConfig &&value)
DescribeTrainingJobResult & WithModelArtifacts(const ModelArtifacts &value)
DescribeTrainingJobResult & WithRequestId(const Aws::String &value)
DescribeTrainingJobResult & WithRemoteDebugConfig(const RemoteDebugConfig &value)
DescribeTrainingJobResult & AddDebugRuleConfigurations(const DebugRuleConfiguration &value)
DescribeTrainingJobResult & AddFinalMetricDataList(MetricData &&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