/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Provides a summary about a job.

See Also:

AWS * API Reference

*/ class AWS_SAGEMAKER_API AutoMLJobSummary { public: AutoMLJobSummary(); AutoMLJobSummary(Aws::Utils::Json::JsonView jsonValue); AutoMLJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the object you are requesting.

*/ inline const Aws::String& GetAutoMLJobName() const{ return m_autoMLJobName; } /** *

The name of the object you are requesting.

*/ inline bool AutoMLJobNameHasBeenSet() const { return m_autoMLJobNameHasBeenSet; } /** *

The name of the object you are requesting.

*/ inline void SetAutoMLJobName(const Aws::String& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = value; } /** *

The name of the object you are requesting.

*/ inline void SetAutoMLJobName(Aws::String&& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = std::move(value); } /** *

The name of the object you are requesting.

*/ inline void SetAutoMLJobName(const char* value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName.assign(value); } /** *

The name of the object you are requesting.

*/ inline AutoMLJobSummary& WithAutoMLJobName(const Aws::String& value) { SetAutoMLJobName(value); return *this;} /** *

The name of the object you are requesting.

*/ inline AutoMLJobSummary& WithAutoMLJobName(Aws::String&& value) { SetAutoMLJobName(std::move(value)); return *this;} /** *

The name of the object you are requesting.

*/ inline AutoMLJobSummary& WithAutoMLJobName(const char* value) { SetAutoMLJobName(value); return *this;} /** *

The ARN of the job.

*/ inline const Aws::String& GetAutoMLJobArn() const{ return m_autoMLJobArn; } /** *

The ARN of the job.

*/ inline bool AutoMLJobArnHasBeenSet() const { return m_autoMLJobArnHasBeenSet; } /** *

The ARN of the job.

*/ inline void SetAutoMLJobArn(const Aws::String& value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn = value; } /** *

The ARN of the job.

*/ inline void SetAutoMLJobArn(Aws::String&& value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn = std::move(value); } /** *

The ARN of the job.

*/ inline void SetAutoMLJobArn(const char* value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn.assign(value); } /** *

The ARN of the job.

*/ inline AutoMLJobSummary& WithAutoMLJobArn(const Aws::String& value) { SetAutoMLJobArn(value); return *this;} /** *

The ARN of the job.

*/ inline AutoMLJobSummary& WithAutoMLJobArn(Aws::String&& value) { SetAutoMLJobArn(std::move(value)); return *this;} /** *

The ARN of the job.

*/ inline AutoMLJobSummary& WithAutoMLJobArn(const char* value) { SetAutoMLJobArn(value); return *this;} /** *

The job's status.

*/ inline const AutoMLJobStatus& GetAutoMLJobStatus() const{ return m_autoMLJobStatus; } /** *

The job's status.

*/ inline bool AutoMLJobStatusHasBeenSet() const { return m_autoMLJobStatusHasBeenSet; } /** *

The job's status.

*/ inline void SetAutoMLJobStatus(const AutoMLJobStatus& value) { m_autoMLJobStatusHasBeenSet = true; m_autoMLJobStatus = value; } /** *

The job's status.

*/ inline void SetAutoMLJobStatus(AutoMLJobStatus&& value) { m_autoMLJobStatusHasBeenSet = true; m_autoMLJobStatus = std::move(value); } /** *

The job's status.

*/ inline AutoMLJobSummary& WithAutoMLJobStatus(const AutoMLJobStatus& value) { SetAutoMLJobStatus(value); return *this;} /** *

The job's status.

*/ inline AutoMLJobSummary& WithAutoMLJobStatus(AutoMLJobStatus&& value) { SetAutoMLJobStatus(std::move(value)); return *this;} /** *

The job's secondary status.

*/ inline const AutoMLJobSecondaryStatus& GetAutoMLJobSecondaryStatus() const{ return m_autoMLJobSecondaryStatus; } /** *

The job's secondary status.

*/ inline bool AutoMLJobSecondaryStatusHasBeenSet() const { return m_autoMLJobSecondaryStatusHasBeenSet; } /** *

The job's secondary status.

*/ inline void SetAutoMLJobSecondaryStatus(const AutoMLJobSecondaryStatus& value) { m_autoMLJobSecondaryStatusHasBeenSet = true; m_autoMLJobSecondaryStatus = value; } /** *

The job's secondary status.

*/ inline void SetAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus&& value) { m_autoMLJobSecondaryStatusHasBeenSet = true; m_autoMLJobSecondaryStatus = std::move(value); } /** *

The job's secondary status.

*/ inline AutoMLJobSummary& WithAutoMLJobSecondaryStatus(const AutoMLJobSecondaryStatus& value) { SetAutoMLJobSecondaryStatus(value); return *this;} /** *

The job's secondary status.

*/ inline AutoMLJobSummary& WithAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus&& value) { SetAutoMLJobSecondaryStatus(std::move(value)); return *this;} /** *

When the job was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When the job was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

When the job was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

When the job was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

When the job was created.

*/ inline AutoMLJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the job was created.

*/ inline AutoMLJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The end time of an AutoML job.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The end time of an AutoML job.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The end time of an AutoML job.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The end time of an AutoML job.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The end time of an AutoML job.

*/ inline AutoMLJobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The end time of an AutoML job.

*/ inline AutoMLJobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

When the job was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

When the job was last modified.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

When the job was last modified.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *

When the job was last modified.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *

When the job was last modified.

*/ inline AutoMLJobSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

When the job was last modified.

*/ inline AutoMLJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

The failure reason of a job.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

The failure reason of a job.

*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *

The failure reason of a job.

*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *

The failure reason of a job.

*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *

The failure reason of a job.

*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *

The failure reason of a job.

*/ inline AutoMLJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

The failure reason of a job.

*/ inline AutoMLJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

The failure reason of a job.

*/ inline AutoMLJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} private: Aws::String m_autoMLJobName; bool m_autoMLJobNameHasBeenSet; Aws::String m_autoMLJobArn; bool m_autoMLJobArnHasBeenSet; AutoMLJobStatus m_autoMLJobStatus; bool m_autoMLJobStatusHasBeenSet; AutoMLJobSecondaryStatus m_autoMLJobSecondaryStatus; bool m_autoMLJobSecondaryStatusHasBeenSet; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet; Aws::String m_failureReason; bool m_failureReasonHasBeenSet; }; } // namespace Model } // namespace SageMaker } // namespace Aws