/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a summary about an AutoML job.See Also:
AWS
* API Reference
The name of the AutoML job you are requesting.
*/ inline const Aws::String& GetAutoMLJobName() const{ return m_autoMLJobName; } /** *The name of the AutoML job you are requesting.
*/ inline bool AutoMLJobNameHasBeenSet() const { return m_autoMLJobNameHasBeenSet; } /** *The name of the AutoML job you are requesting.
*/ inline void SetAutoMLJobName(const Aws::String& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = value; } /** *The name of the AutoML job you are requesting.
*/ inline void SetAutoMLJobName(Aws::String&& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = std::move(value); } /** *The name of the AutoML job you are requesting.
*/ inline void SetAutoMLJobName(const char* value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName.assign(value); } /** *The name of the AutoML job you are requesting.
*/ inline AutoMLJobSummary& WithAutoMLJobName(const Aws::String& value) { SetAutoMLJobName(value); return *this;} /** *The name of the AutoML job you are requesting.
*/ inline AutoMLJobSummary& WithAutoMLJobName(Aws::String&& value) { SetAutoMLJobName(std::move(value)); return *this;} /** *The name of the AutoML job you are requesting.
*/ inline AutoMLJobSummary& WithAutoMLJobName(const char* value) { SetAutoMLJobName(value); return *this;} /** *The ARN of the AutoML job.
*/ inline const Aws::String& GetAutoMLJobArn() const{ return m_autoMLJobArn; } /** *The ARN of the AutoML job.
*/ inline bool AutoMLJobArnHasBeenSet() const { return m_autoMLJobArnHasBeenSet; } /** *The ARN of the AutoML job.
*/ inline void SetAutoMLJobArn(const Aws::String& value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn = value; } /** *The ARN of the AutoML job.
*/ inline void SetAutoMLJobArn(Aws::String&& value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn = std::move(value); } /** *The ARN of the AutoML job.
*/ inline void SetAutoMLJobArn(const char* value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn.assign(value); } /** *The ARN of the AutoML job.
*/ inline AutoMLJobSummary& WithAutoMLJobArn(const Aws::String& value) { SetAutoMLJobArn(value); return *this;} /** *The ARN of the AutoML job.
*/ inline AutoMLJobSummary& WithAutoMLJobArn(Aws::String&& value) { SetAutoMLJobArn(std::move(value)); return *this;} /** *The ARN of the AutoML job.
*/ inline AutoMLJobSummary& WithAutoMLJobArn(const char* value) { SetAutoMLJobArn(value); return *this;} /** *The status of the AutoML job.
*/ inline const AutoMLJobStatus& GetAutoMLJobStatus() const{ return m_autoMLJobStatus; } /** *The status of the AutoML job.
*/ inline bool AutoMLJobStatusHasBeenSet() const { return m_autoMLJobStatusHasBeenSet; } /** *The status of the AutoML job.
*/ inline void SetAutoMLJobStatus(const AutoMLJobStatus& value) { m_autoMLJobStatusHasBeenSet = true; m_autoMLJobStatus = value; } /** *The status of the AutoML job.
*/ inline void SetAutoMLJobStatus(AutoMLJobStatus&& value) { m_autoMLJobStatusHasBeenSet = true; m_autoMLJobStatus = std::move(value); } /** *The status of the AutoML job.
*/ inline AutoMLJobSummary& WithAutoMLJobStatus(const AutoMLJobStatus& value) { SetAutoMLJobStatus(value); return *this;} /** *The status of the AutoML job.
*/ inline AutoMLJobSummary& WithAutoMLJobStatus(AutoMLJobStatus&& value) { SetAutoMLJobStatus(std::move(value)); return *this;} /** *The secondary status of the AutoML job.
*/ inline const AutoMLJobSecondaryStatus& GetAutoMLJobSecondaryStatus() const{ return m_autoMLJobSecondaryStatus; } /** *The secondary status of the AutoML job.
*/ inline bool AutoMLJobSecondaryStatusHasBeenSet() const { return m_autoMLJobSecondaryStatusHasBeenSet; } /** *The secondary status of the AutoML job.
*/ inline void SetAutoMLJobSecondaryStatus(const AutoMLJobSecondaryStatus& value) { m_autoMLJobSecondaryStatusHasBeenSet = true; m_autoMLJobSecondaryStatus = value; } /** *The secondary status of the AutoML job.
*/ inline void SetAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus&& value) { m_autoMLJobSecondaryStatusHasBeenSet = true; m_autoMLJobSecondaryStatus = std::move(value); } /** *The secondary status of the AutoML job.
*/ inline AutoMLJobSummary& WithAutoMLJobSecondaryStatus(const AutoMLJobSecondaryStatus& value) { SetAutoMLJobSecondaryStatus(value); return *this;} /** *The secondary status of the AutoML job.
*/ inline AutoMLJobSummary& WithAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus&& value) { SetAutoMLJobSecondaryStatus(std::move(value)); return *this;} /** *When the AutoML job was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *When the AutoML job was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the AutoML job was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the AutoML job was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the AutoML job was created.
*/ inline AutoMLJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the AutoML 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 AutoML job was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *When the AutoML job was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *When the AutoML job was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *When the AutoML job was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *When the AutoML job was last modified.
*/ inline AutoMLJobSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *When the AutoML job was last modified.
*/ inline AutoMLJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The failure reason of an AutoML job.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *The failure reason of an AutoML job.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *The failure reason of an AutoML job.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *The failure reason of an AutoML job.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *The failure reason of an AutoML job.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *The failure reason of an AutoML job.
*/ inline AutoMLJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *The failure reason of an AutoML job.
*/ inline AutoMLJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *The failure reason of an AutoML job.
*/ inline AutoMLJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *The list of reasons for partial failures within an AutoML job.
*/ inline const Aws::VectorThe list of reasons for partial failures within an AutoML job.
*/ inline bool PartialFailureReasonsHasBeenSet() const { return m_partialFailureReasonsHasBeenSet; } /** *The list of reasons for partial failures within an AutoML job.
*/ inline void SetPartialFailureReasons(const Aws::VectorThe list of reasons for partial failures within an AutoML job.
*/ inline void SetPartialFailureReasons(Aws::VectorThe list of reasons for partial failures within an AutoML job.
*/ inline AutoMLJobSummary& WithPartialFailureReasons(const Aws::VectorThe list of reasons for partial failures within an AutoML job.
*/ inline AutoMLJobSummary& WithPartialFailureReasons(Aws::VectorThe list of reasons for partial failures within an AutoML job.
*/ inline AutoMLJobSummary& AddPartialFailureReasons(const AutoMLPartialFailureReason& value) { m_partialFailureReasonsHasBeenSet = true; m_partialFailureReasons.push_back(value); return *this; } /** *The list of reasons for partial failures within an AutoML job.
*/ inline AutoMLJobSummary& AddPartialFailureReasons(AutoMLPartialFailureReason&& value) { m_partialFailureReasonsHasBeenSet = true; m_partialFailureReasons.push_back(std::move(value)); return *this; } private: Aws::String m_autoMLJobName; bool m_autoMLJobNameHasBeenSet = false; Aws::String m_autoMLJobArn; bool m_autoMLJobArnHasBeenSet = false; AutoMLJobStatus m_autoMLJobStatus; bool m_autoMLJobStatusHasBeenSet = false; AutoMLJobSecondaryStatus m_autoMLJobSecondaryStatus; bool m_autoMLJobSecondaryStatusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; Aws::Vector