AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrainingJob.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/VpcConfig.h>
18#include <aws/sagemaker/model/StoppingCondition.h>
19#include <aws/core/utils/DateTime.h>
20#include <aws/sagemaker/model/CheckpointConfig.h>
21#include <aws/sagemaker/model/DebugHookConfig.h>
22#include <aws/sagemaker/model/ExperimentConfig.h>
23#include <aws/sagemaker/model/TensorBoardOutputConfig.h>
24#include <aws/sagemaker/model/ProfilerConfig.h>
25#include <aws/sagemaker/model/RetryStrategy.h>
26#include <aws/sagemaker/model/Channel.h>
27#include <aws/sagemaker/model/SecondaryStatusTransition.h>
28#include <aws/sagemaker/model/MetricData.h>
29#include <aws/sagemaker/model/DebugRuleConfiguration.h>
30#include <aws/sagemaker/model/DebugRuleEvaluationStatus.h>
31#include <aws/sagemaker/model/Tag.h>
32#include <utility>
33
34namespace Aws
35{
36namespace Utils
37{
38namespace Json
39{
40 class JsonValue;
41 class JsonView;
42} // namespace Json
43} // namespace Utils
44namespace SageMaker
45{
46namespace Model
47{
48
55 {
56 public:
57 AWS_SAGEMAKER_API TrainingJob();
58 AWS_SAGEMAKER_API TrainingJob(Aws::Utils::Json::JsonView jsonValue);
59 AWS_SAGEMAKER_API TrainingJob& operator=(Aws::Utils::Json::JsonView jsonValue);
60 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
61
62
64
67 inline const Aws::String& GetTrainingJobName() const{ return m_trainingJobName; }
68 inline bool TrainingJobNameHasBeenSet() const { return m_trainingJobNameHasBeenSet; }
69 inline void SetTrainingJobName(const Aws::String& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = value; }
70 inline void SetTrainingJobName(Aws::String&& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = std::move(value); }
71 inline void SetTrainingJobName(const char* value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName.assign(value); }
72 inline TrainingJob& WithTrainingJobName(const Aws::String& value) { SetTrainingJobName(value); return *this;}
73 inline TrainingJob& WithTrainingJobName(Aws::String&& value) { SetTrainingJobName(std::move(value)); return *this;}
74 inline TrainingJob& WithTrainingJobName(const char* value) { SetTrainingJobName(value); return *this;}
76
78
81 inline const Aws::String& GetTrainingJobArn() const{ return m_trainingJobArn; }
82 inline bool TrainingJobArnHasBeenSet() const { return m_trainingJobArnHasBeenSet; }
83 inline void SetTrainingJobArn(const Aws::String& value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn = value; }
84 inline void SetTrainingJobArn(Aws::String&& value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn = std::move(value); }
85 inline void SetTrainingJobArn(const char* value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn.assign(value); }
86 inline TrainingJob& WithTrainingJobArn(const Aws::String& value) { SetTrainingJobArn(value); return *this;}
87 inline TrainingJob& WithTrainingJobArn(Aws::String&& value) { SetTrainingJobArn(std::move(value)); return *this;}
88 inline TrainingJob& WithTrainingJobArn(const char* value) { SetTrainingJobArn(value); return *this;}
90
92
96 inline const Aws::String& GetTuningJobArn() const{ return m_tuningJobArn; }
97 inline bool TuningJobArnHasBeenSet() const { return m_tuningJobArnHasBeenSet; }
98 inline void SetTuningJobArn(const Aws::String& value) { m_tuningJobArnHasBeenSet = true; m_tuningJobArn = value; }
99 inline void SetTuningJobArn(Aws::String&& value) { m_tuningJobArnHasBeenSet = true; m_tuningJobArn = std::move(value); }
100 inline void SetTuningJobArn(const char* value) { m_tuningJobArnHasBeenSet = true; m_tuningJobArn.assign(value); }
101 inline TrainingJob& WithTuningJobArn(const Aws::String& value) { SetTuningJobArn(value); return *this;}
102 inline TrainingJob& WithTuningJobArn(Aws::String&& value) { SetTuningJobArn(std::move(value)); return *this;}
103 inline TrainingJob& WithTuningJobArn(const char* value) { SetTuningJobArn(value); return *this;}
105
107
110 inline const Aws::String& GetLabelingJobArn() const{ return m_labelingJobArn; }
111 inline bool LabelingJobArnHasBeenSet() const { return m_labelingJobArnHasBeenSet; }
112 inline void SetLabelingJobArn(const Aws::String& value) { m_labelingJobArnHasBeenSet = true; m_labelingJobArn = value; }
113 inline void SetLabelingJobArn(Aws::String&& value) { m_labelingJobArnHasBeenSet = true; m_labelingJobArn = std::move(value); }
114 inline void SetLabelingJobArn(const char* value) { m_labelingJobArnHasBeenSet = true; m_labelingJobArn.assign(value); }
115 inline TrainingJob& WithLabelingJobArn(const Aws::String& value) { SetLabelingJobArn(value); return *this;}
116 inline TrainingJob& WithLabelingJobArn(Aws::String&& value) { SetLabelingJobArn(std::move(value)); return *this;}
117 inline TrainingJob& WithLabelingJobArn(const char* value) { SetLabelingJobArn(value); return *this;}
119
121
124 inline const Aws::String& GetAutoMLJobArn() const{ return m_autoMLJobArn; }
125 inline bool AutoMLJobArnHasBeenSet() const { return m_autoMLJobArnHasBeenSet; }
126 inline void SetAutoMLJobArn(const Aws::String& value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn = value; }
127 inline void SetAutoMLJobArn(Aws::String&& value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn = std::move(value); }
128 inline void SetAutoMLJobArn(const char* value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn.assign(value); }
129 inline TrainingJob& WithAutoMLJobArn(const Aws::String& value) { SetAutoMLJobArn(value); return *this;}
130 inline TrainingJob& WithAutoMLJobArn(Aws::String&& value) { SetAutoMLJobArn(std::move(value)); return *this;}
131 inline TrainingJob& WithAutoMLJobArn(const char* value) { SetAutoMLJobArn(value); return *this;}
133
135
139 inline const ModelArtifacts& GetModelArtifacts() const{ return m_modelArtifacts; }
140 inline bool ModelArtifactsHasBeenSet() const { return m_modelArtifactsHasBeenSet; }
141 inline void SetModelArtifacts(const ModelArtifacts& value) { m_modelArtifactsHasBeenSet = true; m_modelArtifacts = value; }
142 inline void SetModelArtifacts(ModelArtifacts&& value) { m_modelArtifactsHasBeenSet = true; m_modelArtifacts = std::move(value); }
143 inline TrainingJob& WithModelArtifacts(const ModelArtifacts& value) { SetModelArtifacts(value); return *this;}
144 inline TrainingJob& WithModelArtifacts(ModelArtifacts&& value) { SetModelArtifacts(std::move(value)); return *this;}
146
148
159 inline const TrainingJobStatus& GetTrainingJobStatus() const{ return m_trainingJobStatus; }
160 inline bool TrainingJobStatusHasBeenSet() const { return m_trainingJobStatusHasBeenSet; }
161 inline void SetTrainingJobStatus(const TrainingJobStatus& value) { m_trainingJobStatusHasBeenSet = true; m_trainingJobStatus = value; }
162 inline void SetTrainingJobStatus(TrainingJobStatus&& value) { m_trainingJobStatusHasBeenSet = true; m_trainingJobStatus = std::move(value); }
163 inline TrainingJob& WithTrainingJobStatus(const TrainingJobStatus& value) { SetTrainingJobStatus(value); return *this;}
164 inline TrainingJob& WithTrainingJobStatus(TrainingJobStatus&& value) { SetTrainingJobStatus(std::move(value)); return *this;}
166
168
196 inline const SecondaryStatus& GetSecondaryStatus() const{ return m_secondaryStatus; }
197 inline bool SecondaryStatusHasBeenSet() const { return m_secondaryStatusHasBeenSet; }
198 inline void SetSecondaryStatus(const SecondaryStatus& value) { m_secondaryStatusHasBeenSet = true; m_secondaryStatus = value; }
199 inline void SetSecondaryStatus(SecondaryStatus&& value) { m_secondaryStatusHasBeenSet = true; m_secondaryStatus = std::move(value); }
200 inline TrainingJob& WithSecondaryStatus(const SecondaryStatus& value) { SetSecondaryStatus(value); return *this;}
201 inline TrainingJob& WithSecondaryStatus(SecondaryStatus&& value) { SetSecondaryStatus(std::move(value)); return *this;}
203
205
208 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
209 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
210 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
211 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
212 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
213 inline TrainingJob& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
214 inline TrainingJob& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
215 inline TrainingJob& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
217
219
222 inline const Aws::Map<Aws::String, Aws::String>& GetHyperParameters() const{ return m_hyperParameters; }
223 inline bool HyperParametersHasBeenSet() const { return m_hyperParametersHasBeenSet; }
224 inline void SetHyperParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters = value; }
225 inline void SetHyperParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters = std::move(value); }
228 inline TrainingJob& AddHyperParameters(const Aws::String& key, const Aws::String& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(key, value); return *this; }
229 inline TrainingJob& AddHyperParameters(Aws::String&& key, const Aws::String& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(std::move(key), value); return *this; }
230 inline TrainingJob& AddHyperParameters(const Aws::String& key, Aws::String&& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(key, std::move(value)); return *this; }
231 inline TrainingJob& AddHyperParameters(Aws::String&& key, Aws::String&& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(std::move(key), std::move(value)); return *this; }
232 inline TrainingJob& AddHyperParameters(const char* key, Aws::String&& value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(key, std::move(value)); return *this; }
233 inline TrainingJob& AddHyperParameters(Aws::String&& key, const char* value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(std::move(key), value); return *this; }
234 inline TrainingJob& AddHyperParameters(const char* key, const char* value) { m_hyperParametersHasBeenSet = true; m_hyperParameters.emplace(key, value); return *this; }
236
238
242 inline const AlgorithmSpecification& GetAlgorithmSpecification() const{ return m_algorithmSpecification; }
243 inline bool AlgorithmSpecificationHasBeenSet() const { return m_algorithmSpecificationHasBeenSet; }
244 inline void SetAlgorithmSpecification(const AlgorithmSpecification& value) { m_algorithmSpecificationHasBeenSet = true; m_algorithmSpecification = value; }
245 inline void SetAlgorithmSpecification(AlgorithmSpecification&& value) { m_algorithmSpecificationHasBeenSet = true; m_algorithmSpecification = std::move(value); }
249
251
255 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
256 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
257 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
258 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
259 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
260 inline TrainingJob& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
261 inline TrainingJob& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
262 inline TrainingJob& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
264
266
271 inline const Aws::Vector<Channel>& GetInputDataConfig() const{ return m_inputDataConfig; }
272 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
273 inline void SetInputDataConfig(const Aws::Vector<Channel>& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = value; }
274 inline void SetInputDataConfig(Aws::Vector<Channel>&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::move(value); }
275 inline TrainingJob& WithInputDataConfig(const Aws::Vector<Channel>& value) { SetInputDataConfig(value); return *this;}
276 inline TrainingJob& WithInputDataConfig(Aws::Vector<Channel>&& value) { SetInputDataConfig(std::move(value)); return *this;}
277 inline TrainingJob& AddInputDataConfig(const Channel& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig.push_back(value); return *this; }
278 inline TrainingJob& AddInputDataConfig(Channel&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig.push_back(std::move(value)); return *this; }
280
282
286 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
287 inline bool OutputDataConfigHasBeenSet() const { return m_outputDataConfigHasBeenSet; }
288 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = value; }
289 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::move(value); }
290 inline TrainingJob& WithOutputDataConfig(const OutputDataConfig& value) { SetOutputDataConfig(value); return *this;}
291 inline TrainingJob& WithOutputDataConfig(OutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;}
293
295
299 inline const ResourceConfig& GetResourceConfig() const{ return m_resourceConfig; }
300 inline bool ResourceConfigHasBeenSet() const { return m_resourceConfigHasBeenSet; }
301 inline void SetResourceConfig(const ResourceConfig& value) { m_resourceConfigHasBeenSet = true; m_resourceConfig = value; }
302 inline void SetResourceConfig(ResourceConfig&& value) { m_resourceConfigHasBeenSet = true; m_resourceConfig = std::move(value); }
303 inline TrainingJob& WithResourceConfig(const ResourceConfig& value) { SetResourceConfig(value); return *this;}
304 inline TrainingJob& WithResourceConfig(ResourceConfig&& value) { SetResourceConfig(std::move(value)); return *this;}
306
308
316 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
317 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
318 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
319 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
320 inline TrainingJob& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
321 inline TrainingJob& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
323
325
334 inline const StoppingCondition& GetStoppingCondition() const{ return m_stoppingCondition; }
335 inline bool StoppingConditionHasBeenSet() const { return m_stoppingConditionHasBeenSet; }
336 inline void SetStoppingCondition(const StoppingCondition& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = value; }
337 inline void SetStoppingCondition(StoppingCondition&& value) { m_stoppingConditionHasBeenSet = true; m_stoppingCondition = std::move(value); }
338 inline TrainingJob& WithStoppingCondition(const StoppingCondition& value) { SetStoppingCondition(value); return *this;}
339 inline TrainingJob& WithStoppingCondition(StoppingCondition&& value) { SetStoppingCondition(std::move(value)); return *this;}
341
343
346 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
347 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
348 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
349 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
350 inline TrainingJob& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
351 inline TrainingJob& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
353
355
362 inline const Aws::Utils::DateTime& GetTrainingStartTime() const{ return m_trainingStartTime; }
363 inline bool TrainingStartTimeHasBeenSet() const { return m_trainingStartTimeHasBeenSet; }
364 inline void SetTrainingStartTime(const Aws::Utils::DateTime& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = value; }
365 inline void SetTrainingStartTime(Aws::Utils::DateTime&& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = std::move(value); }
366 inline TrainingJob& WithTrainingStartTime(const Aws::Utils::DateTime& value) { SetTrainingStartTime(value); return *this;}
367 inline TrainingJob& WithTrainingStartTime(Aws::Utils::DateTime&& value) { SetTrainingStartTime(std::move(value)); return *this;}
369
371
378 inline const Aws::Utils::DateTime& GetTrainingEndTime() const{ return m_trainingEndTime; }
379 inline bool TrainingEndTimeHasBeenSet() const { return m_trainingEndTimeHasBeenSet; }
380 inline void SetTrainingEndTime(const Aws::Utils::DateTime& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = value; }
381 inline void SetTrainingEndTime(Aws::Utils::DateTime&& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = std::move(value); }
382 inline TrainingJob& WithTrainingEndTime(const Aws::Utils::DateTime& value) { SetTrainingEndTime(value); return *this;}
383 inline TrainingJob& WithTrainingEndTime(Aws::Utils::DateTime&& value) { SetTrainingEndTime(std::move(value)); return *this;}
385
387
391 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
392 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
393 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
394 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
395 inline TrainingJob& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
396 inline TrainingJob& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
398
400
404 inline const Aws::Vector<SecondaryStatusTransition>& GetSecondaryStatusTransitions() const{ return m_secondaryStatusTransitions; }
405 inline bool SecondaryStatusTransitionsHasBeenSet() const { return m_secondaryStatusTransitionsHasBeenSet; }
406 inline void SetSecondaryStatusTransitions(const Aws::Vector<SecondaryStatusTransition>& value) { m_secondaryStatusTransitionsHasBeenSet = true; m_secondaryStatusTransitions = value; }
407 inline void SetSecondaryStatusTransitions(Aws::Vector<SecondaryStatusTransition>&& value) { m_secondaryStatusTransitionsHasBeenSet = true; m_secondaryStatusTransitions = std::move(value); }
410 inline TrainingJob& AddSecondaryStatusTransitions(const SecondaryStatusTransition& value) { m_secondaryStatusTransitionsHasBeenSet = true; m_secondaryStatusTransitions.push_back(value); return *this; }
411 inline TrainingJob& AddSecondaryStatusTransitions(SecondaryStatusTransition&& value) { m_secondaryStatusTransitionsHasBeenSet = true; m_secondaryStatusTransitions.push_back(std::move(value)); return *this; }
413
415
419 inline const Aws::Vector<MetricData>& GetFinalMetricDataList() const{ return m_finalMetricDataList; }
420 inline bool FinalMetricDataListHasBeenSet() const { return m_finalMetricDataListHasBeenSet; }
421 inline void SetFinalMetricDataList(const Aws::Vector<MetricData>& value) { m_finalMetricDataListHasBeenSet = true; m_finalMetricDataList = value; }
422 inline void SetFinalMetricDataList(Aws::Vector<MetricData>&& value) { m_finalMetricDataListHasBeenSet = true; m_finalMetricDataList = std::move(value); }
424 inline TrainingJob& WithFinalMetricDataList(Aws::Vector<MetricData>&& value) { SetFinalMetricDataList(std::move(value)); return *this;}
425 inline TrainingJob& AddFinalMetricDataList(const MetricData& value) { m_finalMetricDataListHasBeenSet = true; m_finalMetricDataList.push_back(value); return *this; }
426 inline TrainingJob& AddFinalMetricDataList(MetricData&& value) { m_finalMetricDataListHasBeenSet = true; m_finalMetricDataList.push_back(std::move(value)); return *this; }
428
430
435 inline bool GetEnableNetworkIsolation() const{ return m_enableNetworkIsolation; }
436 inline bool EnableNetworkIsolationHasBeenSet() const { return m_enableNetworkIsolationHasBeenSet; }
437 inline void SetEnableNetworkIsolation(bool value) { m_enableNetworkIsolationHasBeenSet = true; m_enableNetworkIsolation = value; }
438 inline TrainingJob& WithEnableNetworkIsolation(bool value) { SetEnableNetworkIsolation(value); return *this;}
440
442
449 inline bool GetEnableInterContainerTrafficEncryption() const{ return m_enableInterContainerTrafficEncryption; }
450 inline bool EnableInterContainerTrafficEncryptionHasBeenSet() const { return m_enableInterContainerTrafficEncryptionHasBeenSet; }
451 inline void SetEnableInterContainerTrafficEncryption(bool value) { m_enableInterContainerTrafficEncryptionHasBeenSet = true; m_enableInterContainerTrafficEncryption = value; }
454
456
462 inline bool GetEnableManagedSpotTraining() const{ return m_enableManagedSpotTraining; }
463 inline bool EnableManagedSpotTrainingHasBeenSet() const { return m_enableManagedSpotTrainingHasBeenSet; }
464 inline void SetEnableManagedSpotTraining(bool value) { m_enableManagedSpotTrainingHasBeenSet = true; m_enableManagedSpotTraining = value; }
465 inline TrainingJob& WithEnableManagedSpotTraining(bool value) { SetEnableManagedSpotTraining(value); return *this;}
467
469
470 inline const CheckpointConfig& GetCheckpointConfig() const{ return m_checkpointConfig; }
471 inline bool CheckpointConfigHasBeenSet() const { return m_checkpointConfigHasBeenSet; }
472 inline void SetCheckpointConfig(const CheckpointConfig& value) { m_checkpointConfigHasBeenSet = true; m_checkpointConfig = value; }
473 inline void SetCheckpointConfig(CheckpointConfig&& value) { m_checkpointConfigHasBeenSet = true; m_checkpointConfig = std::move(value); }
474 inline TrainingJob& WithCheckpointConfig(const CheckpointConfig& value) { SetCheckpointConfig(value); return *this;}
475 inline TrainingJob& WithCheckpointConfig(CheckpointConfig&& value) { SetCheckpointConfig(std::move(value)); return *this;}
477
479
482 inline int GetTrainingTimeInSeconds() const{ return m_trainingTimeInSeconds; }
483 inline bool TrainingTimeInSecondsHasBeenSet() const { return m_trainingTimeInSecondsHasBeenSet; }
484 inline void SetTrainingTimeInSeconds(int value) { m_trainingTimeInSecondsHasBeenSet = true; m_trainingTimeInSeconds = value; }
485 inline TrainingJob& WithTrainingTimeInSeconds(int value) { SetTrainingTimeInSeconds(value); return *this;}
487
489
492 inline int GetBillableTimeInSeconds() const{ return m_billableTimeInSeconds; }
493 inline bool BillableTimeInSecondsHasBeenSet() const { return m_billableTimeInSecondsHasBeenSet; }
494 inline void SetBillableTimeInSeconds(int value) { m_billableTimeInSecondsHasBeenSet = true; m_billableTimeInSeconds = value; }
495 inline TrainingJob& WithBillableTimeInSeconds(int value) { SetBillableTimeInSeconds(value); return *this;}
497
499
500 inline const DebugHookConfig& GetDebugHookConfig() const{ return m_debugHookConfig; }
501 inline bool DebugHookConfigHasBeenSet() const { return m_debugHookConfigHasBeenSet; }
502 inline void SetDebugHookConfig(const DebugHookConfig& value) { m_debugHookConfigHasBeenSet = true; m_debugHookConfig = value; }
503 inline void SetDebugHookConfig(DebugHookConfig&& value) { m_debugHookConfigHasBeenSet = true; m_debugHookConfig = std::move(value); }
504 inline TrainingJob& WithDebugHookConfig(const DebugHookConfig& value) { SetDebugHookConfig(value); return *this;}
505 inline TrainingJob& WithDebugHookConfig(DebugHookConfig&& value) { SetDebugHookConfig(std::move(value)); return *this;}
507
509
510 inline const ExperimentConfig& GetExperimentConfig() const{ return m_experimentConfig; }
511 inline bool ExperimentConfigHasBeenSet() const { return m_experimentConfigHasBeenSet; }
512 inline void SetExperimentConfig(const ExperimentConfig& value) { m_experimentConfigHasBeenSet = true; m_experimentConfig = value; }
513 inline void SetExperimentConfig(ExperimentConfig&& value) { m_experimentConfigHasBeenSet = true; m_experimentConfig = std::move(value); }
514 inline TrainingJob& WithExperimentConfig(const ExperimentConfig& value) { SetExperimentConfig(value); return *this;}
515 inline TrainingJob& WithExperimentConfig(ExperimentConfig&& value) { SetExperimentConfig(std::move(value)); return *this;}
517
519
522 inline const Aws::Vector<DebugRuleConfiguration>& GetDebugRuleConfigurations() const{ return m_debugRuleConfigurations; }
523 inline bool DebugRuleConfigurationsHasBeenSet() const { return m_debugRuleConfigurationsHasBeenSet; }
524 inline void SetDebugRuleConfigurations(const Aws::Vector<DebugRuleConfiguration>& value) { m_debugRuleConfigurationsHasBeenSet = true; m_debugRuleConfigurations = value; }
525 inline void SetDebugRuleConfigurations(Aws::Vector<DebugRuleConfiguration>&& value) { m_debugRuleConfigurationsHasBeenSet = true; m_debugRuleConfigurations = std::move(value); }
528 inline TrainingJob& AddDebugRuleConfigurations(const DebugRuleConfiguration& value) { m_debugRuleConfigurationsHasBeenSet = true; m_debugRuleConfigurations.push_back(value); return *this; }
529 inline TrainingJob& AddDebugRuleConfigurations(DebugRuleConfiguration&& value) { m_debugRuleConfigurationsHasBeenSet = true; m_debugRuleConfigurations.push_back(std::move(value)); return *this; }
531
533
534 inline const TensorBoardOutputConfig& GetTensorBoardOutputConfig() const{ return m_tensorBoardOutputConfig; }
535 inline bool TensorBoardOutputConfigHasBeenSet() const { return m_tensorBoardOutputConfigHasBeenSet; }
536 inline void SetTensorBoardOutputConfig(const TensorBoardOutputConfig& value) { m_tensorBoardOutputConfigHasBeenSet = true; m_tensorBoardOutputConfig = value; }
537 inline void SetTensorBoardOutputConfig(TensorBoardOutputConfig&& value) { m_tensorBoardOutputConfigHasBeenSet = true; m_tensorBoardOutputConfig = std::move(value); }
541
543
547 inline const Aws::Vector<DebugRuleEvaluationStatus>& GetDebugRuleEvaluationStatuses() const{ return m_debugRuleEvaluationStatuses; }
548 inline bool DebugRuleEvaluationStatusesHasBeenSet() const { return m_debugRuleEvaluationStatusesHasBeenSet; }
549 inline void SetDebugRuleEvaluationStatuses(const Aws::Vector<DebugRuleEvaluationStatus>& value) { m_debugRuleEvaluationStatusesHasBeenSet = true; m_debugRuleEvaluationStatuses = value; }
550 inline void SetDebugRuleEvaluationStatuses(Aws::Vector<DebugRuleEvaluationStatus>&& value) { m_debugRuleEvaluationStatusesHasBeenSet = true; m_debugRuleEvaluationStatuses = std::move(value); }
553 inline TrainingJob& AddDebugRuleEvaluationStatuses(const DebugRuleEvaluationStatus& value) { m_debugRuleEvaluationStatusesHasBeenSet = true; m_debugRuleEvaluationStatuses.push_back(value); return *this; }
554 inline TrainingJob& AddDebugRuleEvaluationStatuses(DebugRuleEvaluationStatus&& value) { m_debugRuleEvaluationStatusesHasBeenSet = true; m_debugRuleEvaluationStatuses.push_back(std::move(value)); return *this; }
556
558
559 inline const ProfilerConfig& GetProfilerConfig() const{ return m_profilerConfig; }
560 inline bool ProfilerConfigHasBeenSet() const { return m_profilerConfigHasBeenSet; }
561 inline void SetProfilerConfig(const ProfilerConfig& value) { m_profilerConfigHasBeenSet = true; m_profilerConfig = value; }
562 inline void SetProfilerConfig(ProfilerConfig&& value) { m_profilerConfigHasBeenSet = true; m_profilerConfig = std::move(value); }
563 inline TrainingJob& WithProfilerConfig(const ProfilerConfig& value) { SetProfilerConfig(value); return *this;}
564 inline TrainingJob& WithProfilerConfig(ProfilerConfig&& value) { SetProfilerConfig(std::move(value)); return *this;}
566
568
571 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
572 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
573 inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
574 inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
576 inline TrainingJob& WithEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { SetEnvironment(std::move(value)); return *this;}
577 inline TrainingJob& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
578 inline TrainingJob& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
579 inline TrainingJob& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
580 inline TrainingJob& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
581 inline TrainingJob& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
582 inline TrainingJob& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
583 inline TrainingJob& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
585
587
591 inline const RetryStrategy& GetRetryStrategy() const{ return m_retryStrategy; }
592 inline bool RetryStrategyHasBeenSet() const { return m_retryStrategyHasBeenSet; }
593 inline void SetRetryStrategy(const RetryStrategy& value) { m_retryStrategyHasBeenSet = true; m_retryStrategy = value; }
594 inline void SetRetryStrategy(RetryStrategy&& value) { m_retryStrategyHasBeenSet = true; m_retryStrategy = std::move(value); }
595 inline TrainingJob& WithRetryStrategy(const RetryStrategy& value) { SetRetryStrategy(value); return *this;}
596 inline TrainingJob& WithRetryStrategy(RetryStrategy&& value) { SetRetryStrategy(std::move(value)); return *this;}
598
600
607 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
608 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
609 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
610 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
611 inline TrainingJob& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
612 inline TrainingJob& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
613 inline TrainingJob& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
614 inline TrainingJob& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
616 private:
617
618 Aws::String m_trainingJobName;
619 bool m_trainingJobNameHasBeenSet = false;
620
621 Aws::String m_trainingJobArn;
622 bool m_trainingJobArnHasBeenSet = false;
623
624 Aws::String m_tuningJobArn;
625 bool m_tuningJobArnHasBeenSet = false;
626
627 Aws::String m_labelingJobArn;
628 bool m_labelingJobArnHasBeenSet = false;
629
630 Aws::String m_autoMLJobArn;
631 bool m_autoMLJobArnHasBeenSet = false;
632
633 ModelArtifacts m_modelArtifacts;
634 bool m_modelArtifactsHasBeenSet = false;
635
636 TrainingJobStatus m_trainingJobStatus;
637 bool m_trainingJobStatusHasBeenSet = false;
638
639 SecondaryStatus m_secondaryStatus;
640 bool m_secondaryStatusHasBeenSet = false;
641
642 Aws::String m_failureReason;
643 bool m_failureReasonHasBeenSet = false;
644
645 Aws::Map<Aws::String, Aws::String> m_hyperParameters;
646 bool m_hyperParametersHasBeenSet = false;
647
648 AlgorithmSpecification m_algorithmSpecification;
649 bool m_algorithmSpecificationHasBeenSet = false;
650
651 Aws::String m_roleArn;
652 bool m_roleArnHasBeenSet = false;
653
654 Aws::Vector<Channel> m_inputDataConfig;
655 bool m_inputDataConfigHasBeenSet = false;
656
657 OutputDataConfig m_outputDataConfig;
658 bool m_outputDataConfigHasBeenSet = false;
659
660 ResourceConfig m_resourceConfig;
661 bool m_resourceConfigHasBeenSet = false;
662
663 VpcConfig m_vpcConfig;
664 bool m_vpcConfigHasBeenSet = false;
665
666 StoppingCondition m_stoppingCondition;
667 bool m_stoppingConditionHasBeenSet = false;
668
669 Aws::Utils::DateTime m_creationTime;
670 bool m_creationTimeHasBeenSet = false;
671
672 Aws::Utils::DateTime m_trainingStartTime;
673 bool m_trainingStartTimeHasBeenSet = false;
674
675 Aws::Utils::DateTime m_trainingEndTime;
676 bool m_trainingEndTimeHasBeenSet = false;
677
678 Aws::Utils::DateTime m_lastModifiedTime;
679 bool m_lastModifiedTimeHasBeenSet = false;
680
681 Aws::Vector<SecondaryStatusTransition> m_secondaryStatusTransitions;
682 bool m_secondaryStatusTransitionsHasBeenSet = false;
683
684 Aws::Vector<MetricData> m_finalMetricDataList;
685 bool m_finalMetricDataListHasBeenSet = false;
686
687 bool m_enableNetworkIsolation;
688 bool m_enableNetworkIsolationHasBeenSet = false;
689
690 bool m_enableInterContainerTrafficEncryption;
691 bool m_enableInterContainerTrafficEncryptionHasBeenSet = false;
692
693 bool m_enableManagedSpotTraining;
694 bool m_enableManagedSpotTrainingHasBeenSet = false;
695
696 CheckpointConfig m_checkpointConfig;
697 bool m_checkpointConfigHasBeenSet = false;
698
699 int m_trainingTimeInSeconds;
700 bool m_trainingTimeInSecondsHasBeenSet = false;
701
702 int m_billableTimeInSeconds;
703 bool m_billableTimeInSecondsHasBeenSet = false;
704
705 DebugHookConfig m_debugHookConfig;
706 bool m_debugHookConfigHasBeenSet = false;
707
708 ExperimentConfig m_experimentConfig;
709 bool m_experimentConfigHasBeenSet = false;
710
711 Aws::Vector<DebugRuleConfiguration> m_debugRuleConfigurations;
712 bool m_debugRuleConfigurationsHasBeenSet = false;
713
714 TensorBoardOutputConfig m_tensorBoardOutputConfig;
715 bool m_tensorBoardOutputConfigHasBeenSet = false;
716
717 Aws::Vector<DebugRuleEvaluationStatus> m_debugRuleEvaluationStatuses;
718 bool m_debugRuleEvaluationStatusesHasBeenSet = false;
719
720 ProfilerConfig m_profilerConfig;
721 bool m_profilerConfigHasBeenSet = false;
722
724 bool m_environmentHasBeenSet = false;
725
726 RetryStrategy m_retryStrategy;
727 bool m_retryStrategyHasBeenSet = false;
728
729 Aws::Vector<Tag> m_tags;
730 bool m_tagsHasBeenSet = false;
731 };
732
733} // namespace Model
734} // namespace SageMaker
735} // namespace Aws
TrainingJob & WithDebugRuleEvaluationStatuses(Aws::Vector< DebugRuleEvaluationStatus > &&value)
TrainingJob & WithHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
TrainingJob & AddDebugRuleEvaluationStatuses(const DebugRuleEvaluationStatus &value)
void SetResourceConfig(ResourceConfig &&value)
const ProfilerConfig & GetProfilerConfig() const
void SetTrainingJobStatus(const TrainingJobStatus &value)
void SetAlgorithmSpecification(AlgorithmSpecification &&value)
void SetTrainingJobArn(const Aws::String &value)
Definition TrainingJob.h:83
TrainingJob & AddInputDataConfig(Channel &&value)
TrainingJob & WithModelArtifacts(const ModelArtifacts &value)
TrainingJob & WithTags(const Aws::Vector< Tag > &value)
TrainingJob & WithRoleArn(const Aws::String &value)
TrainingJob & AddHyperParameters(const Aws::String &key, const Aws::String &value)
void SetTrainingStartTime(const Aws::Utils::DateTime &value)
void SetLabelingJobArn(const char *value)
TrainingJob & AddDebugRuleConfigurations(DebugRuleConfiguration &&value)
void SetRoleArn(Aws::String &&value)
TrainingJob & WithTrainingJobStatus(TrainingJobStatus &&value)
const Aws::Vector< SecondaryStatusTransition > & GetSecondaryStatusTransitions() const
TrainingJob & WithTrainingEndTime(Aws::Utils::DateTime &&value)
TrainingJob & AddFinalMetricDataList(const MetricData &value)
TrainingJob & AddHyperParameters(Aws::String &&key, const Aws::String &value)
void SetAutoMLJobArn(const char *value)
TrainingJob & WithTrainingJobName(Aws::String &&value)
Definition TrainingJob.h:73
TrainingJob & WithAutoMLJobArn(const Aws::String &value)
TrainingJob & WithOutputDataConfig(OutputDataConfig &&value)
TrainingJob & WithLabelingJobArn(Aws::String &&value)
void SetProfilerConfig(ProfilerConfig &&value)
TrainingJob & WithTuningJobArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
TrainingJob & AddHyperParameters(Aws::String &&key, Aws::String &&value)
const Aws::Vector< Channel > & GetInputDataConfig() const
void SetCreationTime(const Aws::Utils::DateTime &value)
TrainingJob & WithFailureReason(const Aws::String &value)
TrainingJob & WithHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetEnableManagedSpotTraining(bool value)
const VpcConfig & GetVpcConfig() const
bool SecondaryStatusTransitionsHasBeenSet() const
void SetTrainingJobName(Aws::String &&value)
Definition TrainingJob.h:70
TrainingJob & WithAlgorithmSpecification(const AlgorithmSpecification &value)
const Aws::Utils::DateTime & GetTrainingStartTime() const
void SetFinalMetricDataList(Aws::Vector< MetricData > &&value)
TrainingJob & WithTrainingJobArn(const Aws::String &value)
Definition TrainingJob.h:86
TrainingJob & WithCreationTime(const Aws::Utils::DateTime &value)
TrainingJob & AddDebugRuleConfigurations(const DebugRuleConfiguration &value)
TrainingJob & AddEnvironment(Aws::String &&key, const Aws::String &value)
TrainingJob & WithSecondaryStatus(SecondaryStatus &&value)
void SetTuningJobArn(Aws::String &&value)
Definition TrainingJob.h:99
TrainingJob & WithRoleArn(Aws::String &&value)
TrainingJob & WithInputDataConfig(const Aws::Vector< Channel > &value)
TrainingJob & WithDebugRuleConfigurations(const Aws::Vector< DebugRuleConfiguration > &value)
TrainingJob & WithDebugHookConfig(const DebugHookConfig &value)
void SetResourceConfig(const ResourceConfig &value)
void SetTrainingJobStatus(TrainingJobStatus &&value)
TrainingJob & WithStoppingCondition(const StoppingCondition &value)
const TensorBoardOutputConfig & GetTensorBoardOutputConfig() const
void SetFailureReason(const char *value)
TrainingJob & WithOutputDataConfig(const OutputDataConfig &value)
TrainingJob & WithExperimentConfig(const ExperimentConfig &value)
void SetTrainingJobName(const Aws::String &value)
Definition TrainingJob.h:69
TrainingJob & AddHyperParameters(const Aws::String &key, Aws::String &&value)
TrainingJob & AddEnvironment(const char *key, Aws::String &&value)
TrainingJob & WithSecondaryStatus(const SecondaryStatus &value)
TrainingJob & WithLabelingJobArn(const char *value)
void SetEnableNetworkIsolation(bool value)
TrainingJob & WithVpcConfig(const VpcConfig &value)
TrainingJob & WithDebugRuleConfigurations(Aws::Vector< DebugRuleConfiguration > &&value)
TrainingJob & WithEnableInterContainerTrafficEncryption(bool value)
void SetVpcConfig(VpcConfig &&value)
TrainingJob & WithProfilerConfig(ProfilerConfig &&value)
AWS_SAGEMAKER_API TrainingJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecondaryStatusTransitions(Aws::Vector< SecondaryStatusTransition > &&value)
bool EnableManagedSpotTrainingHasBeenSet() const
const Aws::Vector< DebugRuleConfiguration > & GetDebugRuleConfigurations() const
TrainingJob & WithResourceConfig(ResourceConfig &&value)
const SecondaryStatus & GetSecondaryStatus() const
TrainingJob & WithCreationTime(Aws::Utils::DateTime &&value)
TrainingJob & AddEnvironment(Aws::String &&key, Aws::String &&value)
void SetTrainingJobArn(Aws::String &&value)
Definition TrainingJob.h:84
TrainingJob & AddTags(const Tag &value)
void SetFailureReason(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
TrainingJob & WithTrainingStartTime(const Aws::Utils::DateTime &value)
const Aws::String & GetLabelingJobArn() const
const AlgorithmSpecification & GetAlgorithmSpecification() const
TrainingJob & WithExperimentConfig(ExperimentConfig &&value)
TrainingJob & AddTags(Tag &&value)
void SetOutputDataConfig(const OutputDataConfig &value)
void SetCheckpointConfig(const CheckpointConfig &value)
TrainingJob & WithTrainingJobStatus(const TrainingJobStatus &value)
void SetLabelingJobArn(Aws::String &&value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::DateTime & GetTrainingEndTime() const
TrainingJob & WithVpcConfig(VpcConfig &&value)
TrainingJob & WithRoleArn(const char *value)
TrainingJob & AddSecondaryStatusTransitions(const SecondaryStatusTransition &value)
bool DebugRuleEvaluationStatusesHasBeenSet() const
TrainingJob & WithRetryStrategy(RetryStrategy &&value)
void SetStoppingCondition(const StoppingCondition &value)
TrainingJob & WithAutoMLJobArn(const char *value)
const ExperimentConfig & GetExperimentConfig() const
void SetDebugRuleEvaluationStatuses(Aws::Vector< DebugRuleEvaluationStatus > &&value)
AWS_SAGEMAKER_API TrainingJob(Aws::Utils::Json::JsonView jsonValue)
TrainingJob & WithAutoMLJobArn(Aws::String &&value)
TrainingJob & WithTrainingJobName(const Aws::String &value)
Definition TrainingJob.h:72
void SetTrainingJobArn(const char *value)
Definition TrainingJob.h:85
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
void SetAutoMLJobArn(const Aws::String &value)
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const CheckpointConfig & GetCheckpointConfig() const
void SetRoleArn(const char *value)
void SetSecondaryStatus(const SecondaryStatus &value)
TrainingJob & AddHyperParameters(Aws::String &&key, const char *value)
const ModelArtifacts & GetModelArtifacts() const
TrainingJob & WithFinalMetricDataList(const Aws::Vector< MetricData > &value)
void SetOutputDataConfig(OutputDataConfig &&value)
TrainingJob & WithModelArtifacts(ModelArtifacts &&value)
TrainingJob & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
TrainingJob & WithSecondaryStatusTransitions(Aws::Vector< SecondaryStatusTransition > &&value)
void SetRoleArn(const Aws::String &value)
void SetRetryStrategy(RetryStrategy &&value)
const Aws::Map< Aws::String, Aws::String > & GetHyperParameters() const
const OutputDataConfig & GetOutputDataConfig() const
TrainingJob & WithLastModifiedTime(Aws::Utils::DateTime &&value)
TrainingJob & WithSecondaryStatusTransitions(const Aws::Vector< SecondaryStatusTransition > &value)
void SetVpcConfig(const VpcConfig &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSecondaryStatus(SecondaryStatus &&value)
void SetTags(const Aws::Vector< Tag > &value)
TrainingJob & WithFinalMetricDataList(Aws::Vector< MetricData > &&value)
const Aws::String & GetTrainingJobName() const
Definition TrainingJob.h:67
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const TrainingJobStatus & GetTrainingJobStatus() const
void SetCheckpointConfig(CheckpointConfig &&value)
void SetFinalMetricDataList(const Aws::Vector< MetricData > &value)
TrainingJob & WithLabelingJobArn(const Aws::String &value)
bool GetEnableInterContainerTrafficEncryption() const
void SetDebugRuleConfigurations(Aws::Vector< DebugRuleConfiguration > &&value)
TrainingJob & WithTrainingStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
TrainingJob & AddEnvironment(const Aws::String &key, Aws::String &&value)
const Aws::String & GetTrainingJobArn() const
Definition TrainingJob.h:81
TrainingJob & WithTuningJobArn(const char *value)
void SetTensorBoardOutputConfig(TensorBoardOutputConfig &&value)
TrainingJob & WithLastModifiedTime(const Aws::Utils::DateTime &value)
TrainingJob & WithEnableManagedSpotTraining(bool value)
TrainingJob & AddDebugRuleEvaluationStatuses(DebugRuleEvaluationStatus &&value)
void SetDebugHookConfig(const DebugHookConfig &value)
void SetExperimentConfig(const ExperimentConfig &value)
void SetStoppingCondition(StoppingCondition &&value)
void SetInputDataConfig(Aws::Vector< Channel > &&value)
TrainingJob & AddEnvironment(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Vector< MetricData > & GetFinalMetricDataList() const
void SetTuningJobArn(const Aws::String &value)
Definition TrainingJob.h:98
void SetHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetModelArtifacts(ModelArtifacts &&value)
void SetDebugRuleEvaluationStatuses(const Aws::Vector< DebugRuleEvaluationStatus > &value)
TrainingJob & WithTrainingJobName(const char *value)
Definition TrainingJob.h:74
const StoppingCondition & GetStoppingCondition() const
TrainingJob & WithTensorBoardOutputConfig(TensorBoardOutputConfig &&value)
TrainingJob & AddEnvironment(Aws::String &&key, const char *value)
const Aws::String & GetRoleArn() const
TrainingJob & WithEnableNetworkIsolation(bool value)
TrainingJob & AddHyperParameters(const char *key, Aws::String &&value)
void SetAutoMLJobArn(Aws::String &&value)
const Aws::Vector< DebugRuleEvaluationStatus > & GetDebugRuleEvaluationStatuses() const
void SetAlgorithmSpecification(const AlgorithmSpecification &value)
void SetRetryStrategy(const RetryStrategy &value)
TrainingJob & AddEnvironment(const char *key, const char *value)
void SetInputDataConfig(const Aws::Vector< Channel > &value)
const DebugHookConfig & GetDebugHookConfig() const
TrainingJob & WithTrainingTimeInSeconds(int value)
TrainingJob & WithRetryStrategy(const RetryStrategy &value)
bool EnableInterContainerTrafficEncryptionHasBeenSet() const
TrainingJob & WithTrainingJobArn(Aws::String &&value)
Definition TrainingJob.h:87
TrainingJob & WithTags(Aws::Vector< Tag > &&value)
TrainingJob & WithInputDataConfig(Aws::Vector< Channel > &&value)
TrainingJob & WithFailureReason(Aws::String &&value)
const RetryStrategy & GetRetryStrategy() const
void SetTensorBoardOutputConfig(const TensorBoardOutputConfig &value)
void SetTrainingStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetFailureReason() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetTuningJobArn() const
Definition TrainingJob.h:96
TrainingJob & WithResourceConfig(const ResourceConfig &value)
void SetDebugRuleConfigurations(const Aws::Vector< DebugRuleConfiguration > &value)
TrainingJob & WithTrainingJobArn(const char *value)
Definition TrainingJob.h:88
TrainingJob & WithDebugRuleEvaluationStatuses(const Aws::Vector< DebugRuleEvaluationStatus > &value)
TrainingJob & WithAlgorithmSpecification(AlgorithmSpecification &&value)
const Aws::String & GetAutoMLJobArn() const
void SetSecondaryStatusTransitions(const Aws::Vector< SecondaryStatusTransition > &value)
void SetExperimentConfig(ExperimentConfig &&value)
TrainingJob & WithCheckpointConfig(const CheckpointConfig &value)
void SetModelArtifacts(const ModelArtifacts &value)
void SetTrainingEndTime(const Aws::Utils::DateTime &value)
void SetTuningJobArn(const char *value)
TrainingJob & WithProfilerConfig(const ProfilerConfig &value)
TrainingJob & AddSecondaryStatusTransitions(SecondaryStatusTransition &&value)
TrainingJob & AddInputDataConfig(const Channel &value)
void SetDebugHookConfig(DebugHookConfig &&value)
void SetEnableInterContainerTrafficEncryption(bool value)
TrainingJob & WithTrainingEndTime(const Aws::Utils::DateTime &value)
const ResourceConfig & GetResourceConfig() const
void SetFailureReason(Aws::String &&value)
void SetProfilerConfig(const ProfilerConfig &value)
TrainingJob & WithDebugHookConfig(DebugHookConfig &&value)
void SetTrainingJobName(const char *value)
Definition TrainingJob.h:71
TrainingJob & AddHyperParameters(const char *key, const char *value)
TrainingJob & WithStoppingCondition(StoppingCondition &&value)
void SetLabelingJobArn(const Aws::String &value)
TrainingJob & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
TrainingJob & WithTuningJobArn(const Aws::String &value)
TrainingJob & AddFinalMetricDataList(MetricData &&value)
TrainingJob & WithCheckpointConfig(CheckpointConfig &&value)
TrainingJob & WithBillableTimeInSeconds(int value)
TrainingJob & WithTensorBoardOutputConfig(const TensorBoardOutputConfig &value)
void SetTrainingEndTime(Aws::Utils::DateTime &&value)
TrainingJob & WithFailureReason(const char *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