/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class AWS_SAGEMAKER_API DescribeAutoMLJobResult { public: DescribeAutoMLJobResult(); DescribeAutoMLJobResult(const Aws::AmazonWebServiceResult& result); DescribeAutoMLJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Returns the name of a job.

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

Returns the name of a job.

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

Returns the name of a job.

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

Returns the name of a job.

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

Returns the name of a job.

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

Returns the name of a job.

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

Returns the name of a job.

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

Returns the job's ARN.

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

Returns the job's ARN.

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

Returns the job's ARN.

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

Returns the job's ARN.

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

Returns the job's ARN.

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

Returns the job's ARN.

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

Returns the job's ARN.

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

Returns the job's input data config.

*/ inline const Aws::Vector& GetInputDataConfig() const{ return m_inputDataConfig; } /** *

Returns the job's input data config.

*/ inline void SetInputDataConfig(const Aws::Vector& value) { m_inputDataConfig = value; } /** *

Returns the job's input data config.

*/ inline void SetInputDataConfig(Aws::Vector&& value) { m_inputDataConfig = std::move(value); } /** *

Returns the job's input data config.

*/ inline DescribeAutoMLJobResult& WithInputDataConfig(const Aws::Vector& value) { SetInputDataConfig(value); return *this;} /** *

Returns the job's input data config.

*/ inline DescribeAutoMLJobResult& WithInputDataConfig(Aws::Vector&& value) { SetInputDataConfig(std::move(value)); return *this;} /** *

Returns the job's input data config.

*/ inline DescribeAutoMLJobResult& AddInputDataConfig(const AutoMLChannel& value) { m_inputDataConfig.push_back(value); return *this; } /** *

Returns the job's input data config.

*/ inline DescribeAutoMLJobResult& AddInputDataConfig(AutoMLChannel&& value) { m_inputDataConfig.push_back(std::move(value)); return *this; } /** *

Returns the job's output data config.

*/ inline const AutoMLOutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; } /** *

Returns the job's output data config.

*/ inline void SetOutputDataConfig(const AutoMLOutputDataConfig& value) { m_outputDataConfig = value; } /** *

Returns the job's output data config.

*/ inline void SetOutputDataConfig(AutoMLOutputDataConfig&& value) { m_outputDataConfig = std::move(value); } /** *

Returns the job's output data config.

*/ inline DescribeAutoMLJobResult& WithOutputDataConfig(const AutoMLOutputDataConfig& value) { SetOutputDataConfig(value); return *this;} /** *

Returns the job's output data config.

*/ inline DescribeAutoMLJobResult& WithOutputDataConfig(AutoMLOutputDataConfig&& value) { SetOutputDataConfig(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that has read permission to the input data location and write * permission to the output data location in Amazon S3.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that has read permission to the input data location and write * permission to the output data location in Amazon S3.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that has read permission to the input data location and write * permission to the output data location in Amazon S3.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that has read permission to the input data location and write * permission to the output data location in Amazon S3.

*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that has read permission to the input data location and write * permission to the output data location in Amazon S3.

*/ inline DescribeAutoMLJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that has read permission to the input data location and write * permission to the output data location in Amazon S3.

*/ inline DescribeAutoMLJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that has read permission to the input data location and write * permission to the output data location in Amazon S3.

*/ inline DescribeAutoMLJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

Returns the job's objective.

*/ inline const AutoMLJobObjective& GetAutoMLJobObjective() const{ return m_autoMLJobObjective; } /** *

Returns the job's objective.

*/ inline void SetAutoMLJobObjective(const AutoMLJobObjective& value) { m_autoMLJobObjective = value; } /** *

Returns the job's objective.

*/ inline void SetAutoMLJobObjective(AutoMLJobObjective&& value) { m_autoMLJobObjective = std::move(value); } /** *

Returns the job's objective.

*/ inline DescribeAutoMLJobResult& WithAutoMLJobObjective(const AutoMLJobObjective& value) { SetAutoMLJobObjective(value); return *this;} /** *

Returns the job's objective.

*/ inline DescribeAutoMLJobResult& WithAutoMLJobObjective(AutoMLJobObjective&& value) { SetAutoMLJobObjective(std::move(value)); return *this;} /** *

Returns the job's problem type.

*/ inline const ProblemType& GetProblemType() const{ return m_problemType; } /** *

Returns the job's problem type.

*/ inline void SetProblemType(const ProblemType& value) { m_problemType = value; } /** *

Returns the job's problem type.

*/ inline void SetProblemType(ProblemType&& value) { m_problemType = std::move(value); } /** *

Returns the job's problem type.

*/ inline DescribeAutoMLJobResult& WithProblemType(const ProblemType& value) { SetProblemType(value); return *this;} /** *

Returns the job's problem type.

*/ inline DescribeAutoMLJobResult& WithProblemType(ProblemType&& value) { SetProblemType(std::move(value)); return *this;} /** *

Returns the job's config.

*/ inline const AutoMLJobConfig& GetAutoMLJobConfig() const{ return m_autoMLJobConfig; } /** *

Returns the job's config.

*/ inline void SetAutoMLJobConfig(const AutoMLJobConfig& value) { m_autoMLJobConfig = value; } /** *

Returns the job's config.

*/ inline void SetAutoMLJobConfig(AutoMLJobConfig&& value) { m_autoMLJobConfig = std::move(value); } /** *

Returns the job's config.

*/ inline DescribeAutoMLJobResult& WithAutoMLJobConfig(const AutoMLJobConfig& value) { SetAutoMLJobConfig(value); return *this;} /** *

Returns the job's config.

*/ inline DescribeAutoMLJobResult& WithAutoMLJobConfig(AutoMLJobConfig&& value) { SetAutoMLJobConfig(std::move(value)); return *this;} /** *

Returns the job's creation time.

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

Returns the job's creation time.

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

Returns the job's creation time.

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

Returns the job's creation time.

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

Returns the job's creation time.

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

Returns the job's end time.

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

Returns the job's end time.

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

Returns the job's end time.

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

Returns the job's end time.

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

Returns the job's end time.

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

Returns the job's last modified time.

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

Returns the job's last modified time.

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

Returns the job's last modified time.

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

Returns the job's last modified time.

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

Returns the job's last modified time.

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

Returns the job's FailureReason.

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

Returns the job's FailureReason.

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

Returns the job's FailureReason.

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

Returns the job's FailureReason.

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

Returns the job's FailureReason.

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

Returns the job's FailureReason.

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

Returns the job's FailureReason.

*/ inline DescribeAutoMLJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

Returns the job's BestCandidate.

*/ inline const AutoMLCandidate& GetBestCandidate() const{ return m_bestCandidate; } /** *

Returns the job's BestCandidate.

*/ inline void SetBestCandidate(const AutoMLCandidate& value) { m_bestCandidate = value; } /** *

Returns the job's BestCandidate.

*/ inline void SetBestCandidate(AutoMLCandidate&& value) { m_bestCandidate = std::move(value); } /** *

Returns the job's BestCandidate.

*/ inline DescribeAutoMLJobResult& WithBestCandidate(const AutoMLCandidate& value) { SetBestCandidate(value); return *this;} /** *

Returns the job's BestCandidate.

*/ inline DescribeAutoMLJobResult& WithBestCandidate(AutoMLCandidate&& value) { SetBestCandidate(std::move(value)); return *this;} /** *

Returns the job's AutoMLJobStatus.

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

Returns the job's AutoMLJobStatus.

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

Returns the job's AutoMLJobStatus.

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

Returns the job's AutoMLJobStatus.

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

Returns the job's AutoMLJobStatus.

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

Returns the job's AutoMLJobSecondaryStatus.

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

Returns the job's AutoMLJobSecondaryStatus.

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

Returns the job's AutoMLJobSecondaryStatus.

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

Returns the job's AutoMLJobSecondaryStatus.

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

Returns the job's AutoMLJobSecondaryStatus.

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

Returns the job's output from GenerateCandidateDefinitionsOnly.

*/ inline bool GetGenerateCandidateDefinitionsOnly() const{ return m_generateCandidateDefinitionsOnly; } /** *

Returns the job's output from GenerateCandidateDefinitionsOnly.

*/ inline void SetGenerateCandidateDefinitionsOnly(bool value) { m_generateCandidateDefinitionsOnly = value; } /** *

Returns the job's output from GenerateCandidateDefinitionsOnly.

*/ inline DescribeAutoMLJobResult& WithGenerateCandidateDefinitionsOnly(bool value) { SetGenerateCandidateDefinitionsOnly(value); return *this;} /** *

Returns information on the job's artifacts found in AutoMLJobArtifacts.

*/ inline const AutoMLJobArtifacts& GetAutoMLJobArtifacts() const{ return m_autoMLJobArtifacts; } /** *

Returns information on the job's artifacts found in AutoMLJobArtifacts.

*/ inline void SetAutoMLJobArtifacts(const AutoMLJobArtifacts& value) { m_autoMLJobArtifacts = value; } /** *

Returns information on the job's artifacts found in AutoMLJobArtifacts.

*/ inline void SetAutoMLJobArtifacts(AutoMLJobArtifacts&& value) { m_autoMLJobArtifacts = std::move(value); } /** *

Returns information on the job's artifacts found in AutoMLJobArtifacts.

*/ inline DescribeAutoMLJobResult& WithAutoMLJobArtifacts(const AutoMLJobArtifacts& value) { SetAutoMLJobArtifacts(value); return *this;} /** *

Returns information on the job's artifacts found in AutoMLJobArtifacts.

*/ inline DescribeAutoMLJobResult& WithAutoMLJobArtifacts(AutoMLJobArtifacts&& value) { SetAutoMLJobArtifacts(std::move(value)); return *this;} /** *

This contains ProblemType, AutoMLJobObjective and CompletionCriteria. They're * auto-inferred values, if not provided by you. If you do provide them, then * they'll be the same as provided.

*/ inline const ResolvedAttributes& GetResolvedAttributes() const{ return m_resolvedAttributes; } /** *

This contains ProblemType, AutoMLJobObjective and CompletionCriteria. They're * auto-inferred values, if not provided by you. If you do provide them, then * they'll be the same as provided.

*/ inline void SetResolvedAttributes(const ResolvedAttributes& value) { m_resolvedAttributes = value; } /** *

This contains ProblemType, AutoMLJobObjective and CompletionCriteria. They're * auto-inferred values, if not provided by you. If you do provide them, then * they'll be the same as provided.

*/ inline void SetResolvedAttributes(ResolvedAttributes&& value) { m_resolvedAttributes = std::move(value); } /** *

This contains ProblemType, AutoMLJobObjective and CompletionCriteria. They're * auto-inferred values, if not provided by you. If you do provide them, then * they'll be the same as provided.

*/ inline DescribeAutoMLJobResult& WithResolvedAttributes(const ResolvedAttributes& value) { SetResolvedAttributes(value); return *this;} /** *

This contains ProblemType, AutoMLJobObjective and CompletionCriteria. They're * auto-inferred values, if not provided by you. If you do provide them, then * they'll be the same as provided.

*/ inline DescribeAutoMLJobResult& WithResolvedAttributes(ResolvedAttributes&& value) { SetResolvedAttributes(std::move(value)); return *this;} private: Aws::String m_autoMLJobName; Aws::String m_autoMLJobArn; Aws::Vector m_inputDataConfig; AutoMLOutputDataConfig m_outputDataConfig; Aws::String m_roleArn; AutoMLJobObjective m_autoMLJobObjective; ProblemType m_problemType; AutoMLJobConfig m_autoMLJobConfig; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_endTime; Aws::Utils::DateTime m_lastModifiedTime; Aws::String m_failureReason; AutoMLCandidate m_bestCandidate; AutoMLJobStatus m_autoMLJobStatus; AutoMLJobSecondaryStatus m_autoMLJobSecondaryStatus; bool m_generateCandidateDefinitionsOnly; AutoMLJobArtifacts m_autoMLJobArtifacts; ResolvedAttributes m_resolvedAttributes; }; } // namespace Model } // namespace SageMaker } // namespace Aws