/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides summary information about a training job.See Also:
* AWS
* API Reference
The name of the training job that you want a summary for.
*/ inline const Aws::String& GetTrainingJobName() const{ return m_trainingJobName; } /** *The name of the training job that you want a summary for.
*/ inline bool TrainingJobNameHasBeenSet() const { return m_trainingJobNameHasBeenSet; } /** *The name of the training job that you want a summary for.
*/ inline void SetTrainingJobName(const Aws::String& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = value; } /** *The name of the training job that you want a summary for.
*/ inline void SetTrainingJobName(Aws::String&& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = std::move(value); } /** *The name of the training job that you want a summary for.
*/ inline void SetTrainingJobName(const char* value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName.assign(value); } /** *The name of the training job that you want a summary for.
*/ inline TrainingJobSummary& WithTrainingJobName(const Aws::String& value) { SetTrainingJobName(value); return *this;} /** *The name of the training job that you want a summary for.
*/ inline TrainingJobSummary& WithTrainingJobName(Aws::String&& value) { SetTrainingJobName(std::move(value)); return *this;} /** *The name of the training job that you want a summary for.
*/ inline TrainingJobSummary& WithTrainingJobName(const char* value) { SetTrainingJobName(value); return *this;} /** *The Amazon Resource Name (ARN) of the training job.
*/ inline const Aws::String& GetTrainingJobArn() const{ return m_trainingJobArn; } /** *The Amazon Resource Name (ARN) of the training job.
*/ inline bool TrainingJobArnHasBeenSet() const { return m_trainingJobArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the training job.
*/ inline void SetTrainingJobArn(const Aws::String& value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn = value; } /** *The Amazon Resource Name (ARN) of the training job.
*/ inline void SetTrainingJobArn(Aws::String&& value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the training job.
*/ inline void SetTrainingJobArn(const char* value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn.assign(value); } /** *The Amazon Resource Name (ARN) of the training job.
*/ inline TrainingJobSummary& WithTrainingJobArn(const Aws::String& value) { SetTrainingJobArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the training job.
*/ inline TrainingJobSummary& WithTrainingJobArn(Aws::String&& value) { SetTrainingJobArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the training job.
*/ inline TrainingJobSummary& WithTrainingJobArn(const char* value) { SetTrainingJobArn(value); return *this;} /** *A timestamp that shows when the training job was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *A timestamp that shows when the training job was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *A timestamp that shows when the training job was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *A timestamp that shows when the training job was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *A timestamp that shows when the training job was created.
*/ inline TrainingJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *A timestamp that shows when the training job was created.
*/ inline TrainingJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *A timestamp that shows when the training job ended. This field is set only if
* the training job has one of the terminal statuses (Completed
,
* Failed
, or Stopped
).
A timestamp that shows when the training job ended. This field is set only if
* the training job has one of the terminal statuses (Completed
,
* Failed
, or Stopped
).
A timestamp that shows when the training job ended. This field is set only if
* the training job has one of the terminal statuses (Completed
,
* Failed
, or Stopped
).
A timestamp that shows when the training job ended. This field is set only if
* the training job has one of the terminal statuses (Completed
,
* Failed
, or Stopped
).
A timestamp that shows when the training job ended. This field is set only if
* the training job has one of the terminal statuses (Completed
,
* Failed
, or Stopped
).
A timestamp that shows when the training job ended. This field is set only if
* the training job has one of the terminal statuses (Completed
,
* Failed
, or Stopped
).
Timestamp when the training job was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *Timestamp when the training job was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *Timestamp when the training job was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *Timestamp when the training job was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *Timestamp when the training job was last modified.
*/ inline TrainingJobSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *Timestamp when the training job was last modified.
*/ inline TrainingJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The status of the training job.
*/ inline const TrainingJobStatus& GetTrainingJobStatus() const{ return m_trainingJobStatus; } /** *The status of the training job.
*/ inline bool TrainingJobStatusHasBeenSet() const { return m_trainingJobStatusHasBeenSet; } /** *The status of the training job.
*/ inline void SetTrainingJobStatus(const TrainingJobStatus& value) { m_trainingJobStatusHasBeenSet = true; m_trainingJobStatus = value; } /** *The status of the training job.
*/ inline void SetTrainingJobStatus(TrainingJobStatus&& value) { m_trainingJobStatusHasBeenSet = true; m_trainingJobStatus = std::move(value); } /** *The status of the training job.
*/ inline TrainingJobSummary& WithTrainingJobStatus(const TrainingJobStatus& value) { SetTrainingJobStatus(value); return *this;} /** *The status of the training job.
*/ inline TrainingJobSummary& WithTrainingJobStatus(TrainingJobStatus&& value) { SetTrainingJobStatus(std::move(value)); return *this;} /** *The status of the warm pool associated with the training job.
*/ inline const WarmPoolStatus& GetWarmPoolStatus() const{ return m_warmPoolStatus; } /** *The status of the warm pool associated with the training job.
*/ inline bool WarmPoolStatusHasBeenSet() const { return m_warmPoolStatusHasBeenSet; } /** *The status of the warm pool associated with the training job.
*/ inline void SetWarmPoolStatus(const WarmPoolStatus& value) { m_warmPoolStatusHasBeenSet = true; m_warmPoolStatus = value; } /** *The status of the warm pool associated with the training job.
*/ inline void SetWarmPoolStatus(WarmPoolStatus&& value) { m_warmPoolStatusHasBeenSet = true; m_warmPoolStatus = std::move(value); } /** *The status of the warm pool associated with the training job.
*/ inline TrainingJobSummary& WithWarmPoolStatus(const WarmPoolStatus& value) { SetWarmPoolStatus(value); return *this;} /** *The status of the warm pool associated with the training job.
*/ inline TrainingJobSummary& WithWarmPoolStatus(WarmPoolStatus&& value) { SetWarmPoolStatus(std::move(value)); return *this;} private: Aws::String m_trainingJobName; bool m_trainingJobNameHasBeenSet = false; Aws::String m_trainingJobArn; bool m_trainingJobArnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_trainingEndTime; bool m_trainingEndTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; TrainingJobStatus m_trainingJobStatus; bool m_trainingJobStatusHasBeenSet = false; WarmPoolStatus m_warmPoolStatus; bool m_warmPoolStatusHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws