/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a summary of a transform job. Multiple
* TransformJobSummary
objects are returned as a list after in
* response to a ListTransformJobs
* call.See Also:
AWS
* API Reference
The name of the transform job.
*/ inline const Aws::String& GetTransformJobName() const{ return m_transformJobName; } /** *The name of the transform job.
*/ inline bool TransformJobNameHasBeenSet() const { return m_transformJobNameHasBeenSet; } /** *The name of the transform job.
*/ inline void SetTransformJobName(const Aws::String& value) { m_transformJobNameHasBeenSet = true; m_transformJobName = value; } /** *The name of the transform job.
*/ inline void SetTransformJobName(Aws::String&& value) { m_transformJobNameHasBeenSet = true; m_transformJobName = std::move(value); } /** *The name of the transform job.
*/ inline void SetTransformJobName(const char* value) { m_transformJobNameHasBeenSet = true; m_transformJobName.assign(value); } /** *The name of the transform job.
*/ inline TransformJobSummary& WithTransformJobName(const Aws::String& value) { SetTransformJobName(value); return *this;} /** *The name of the transform job.
*/ inline TransformJobSummary& WithTransformJobName(Aws::String&& value) { SetTransformJobName(std::move(value)); return *this;} /** *The name of the transform job.
*/ inline TransformJobSummary& WithTransformJobName(const char* value) { SetTransformJobName(value); return *this;} /** *The Amazon Resource Name (ARN) of the transform job.
*/ inline const Aws::String& GetTransformJobArn() const{ return m_transformJobArn; } /** *The Amazon Resource Name (ARN) of the transform job.
*/ inline bool TransformJobArnHasBeenSet() const { return m_transformJobArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the transform job.
*/ inline void SetTransformJobArn(const Aws::String& value) { m_transformJobArnHasBeenSet = true; m_transformJobArn = value; } /** *The Amazon Resource Name (ARN) of the transform job.
*/ inline void SetTransformJobArn(Aws::String&& value) { m_transformJobArnHasBeenSet = true; m_transformJobArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the transform job.
*/ inline void SetTransformJobArn(const char* value) { m_transformJobArnHasBeenSet = true; m_transformJobArn.assign(value); } /** *The Amazon Resource Name (ARN) of the transform job.
*/ inline TransformJobSummary& WithTransformJobArn(const Aws::String& value) { SetTransformJobArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the transform job.
*/ inline TransformJobSummary& WithTransformJobArn(Aws::String&& value) { SetTransformJobArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the transform job.
*/ inline TransformJobSummary& WithTransformJobArn(const char* value) { SetTransformJobArn(value); return *this;} /** *A timestamp that shows when the transform Job was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *A timestamp that shows when the transform Job was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *A timestamp that shows when the transform Job was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *A timestamp that shows when the transform Job was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *A timestamp that shows when the transform Job was created.
*/ inline TransformJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *A timestamp that shows when the transform Job was created.
*/ inline TransformJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *Indicates when the transform job ends on compute instances. For successful * jobs and stopped jobs, this is the exact time recorded after the results are * uploaded. For failed jobs, this is when Amazon SageMaker detected that the job * failed.
*/ inline const Aws::Utils::DateTime& GetTransformEndTime() const{ return m_transformEndTime; } /** *Indicates when the transform job ends on compute instances. For successful * jobs and stopped jobs, this is the exact time recorded after the results are * uploaded. For failed jobs, this is when Amazon SageMaker detected that the job * failed.
*/ inline bool TransformEndTimeHasBeenSet() const { return m_transformEndTimeHasBeenSet; } /** *Indicates when the transform job ends on compute instances. For successful * jobs and stopped jobs, this is the exact time recorded after the results are * uploaded. For failed jobs, this is when Amazon SageMaker detected that the job * failed.
*/ inline void SetTransformEndTime(const Aws::Utils::DateTime& value) { m_transformEndTimeHasBeenSet = true; m_transformEndTime = value; } /** *Indicates when the transform job ends on compute instances. For successful * jobs and stopped jobs, this is the exact time recorded after the results are * uploaded. For failed jobs, this is when Amazon SageMaker detected that the job * failed.
*/ inline void SetTransformEndTime(Aws::Utils::DateTime&& value) { m_transformEndTimeHasBeenSet = true; m_transformEndTime = std::move(value); } /** *Indicates when the transform job ends on compute instances. For successful * jobs and stopped jobs, this is the exact time recorded after the results are * uploaded. For failed jobs, this is when Amazon SageMaker detected that the job * failed.
*/ inline TransformJobSummary& WithTransformEndTime(const Aws::Utils::DateTime& value) { SetTransformEndTime(value); return *this;} /** *Indicates when the transform job ends on compute instances. For successful * jobs and stopped jobs, this is the exact time recorded after the results are * uploaded. For failed jobs, this is when Amazon SageMaker detected that the job * failed.
*/ inline TransformJobSummary& WithTransformEndTime(Aws::Utils::DateTime&& value) { SetTransformEndTime(std::move(value)); return *this;} /** *Indicates when the transform job was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *Indicates when the transform job was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *Indicates when the transform job was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *Indicates when the transform job was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *Indicates when the transform job was last modified.
*/ inline TransformJobSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *Indicates when the transform job was last modified.
*/ inline TransformJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The status of the transform job.
*/ inline const TransformJobStatus& GetTransformJobStatus() const{ return m_transformJobStatus; } /** *The status of the transform job.
*/ inline bool TransformJobStatusHasBeenSet() const { return m_transformJobStatusHasBeenSet; } /** *The status of the transform job.
*/ inline void SetTransformJobStatus(const TransformJobStatus& value) { m_transformJobStatusHasBeenSet = true; m_transformJobStatus = value; } /** *The status of the transform job.
*/ inline void SetTransformJobStatus(TransformJobStatus&& value) { m_transformJobStatusHasBeenSet = true; m_transformJobStatus = std::move(value); } /** *The status of the transform job.
*/ inline TransformJobSummary& WithTransformJobStatus(const TransformJobStatus& value) { SetTransformJobStatus(value); return *this;} /** *The status of the transform job.
*/ inline TransformJobSummary& WithTransformJobStatus(TransformJobStatus&& value) { SetTransformJobStatus(std::move(value)); return *this;} /** *If the transform job failed, the reason it failed.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *If the transform job failed, the reason it failed.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *If the transform job failed, the reason it failed.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *If the transform job failed, the reason it failed.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *If the transform job failed, the reason it failed.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *If the transform job failed, the reason it failed.
*/ inline TransformJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *If the transform job failed, the reason it failed.
*/ inline TransformJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *If the transform job failed, the reason it failed.
*/ inline TransformJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} private: Aws::String m_transformJobName; bool m_transformJobNameHasBeenSet = false; Aws::String m_transformJobArn; bool m_transformJobArnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_transformEndTime; bool m_transformEndTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; TransformJobStatus m_transformJobStatus; bool m_transformJobStatusHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws