/** * 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 #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class DescribeAutoMLJobResult { public: AWS_SAGEMAKER_API DescribeAutoMLJobResult(); AWS_SAGEMAKER_API DescribeAutoMLJobResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeAutoMLJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Returns the name of the AutoML job.

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

Returns the name of the AutoML job.

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

Returns the name of the AutoML job.

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

Returns the name of the AutoML job.

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

Returns the name of the AutoML job.

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

Returns the name of the AutoML job.

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

Returns the name of the AutoML job.

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

Returns the ARN of the AutoML job.

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

Returns the ARN of the AutoML job.

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

Returns the ARN of the AutoML job.

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

Returns the ARN of the AutoML job.

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

Returns the ARN of the AutoML job.

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

Returns the ARN of the AutoML job.

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

Returns the ARN of the AutoML job.

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

Returns the input data configuration for the AutoML job.

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

Returns the input data configuration for the AutoML job.

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

Returns the input data configuration for the AutoML job.

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

Returns the input data configuration for the AutoML job.

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

Returns the input data configuration for the AutoML job.

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

Returns the input data configuration for the AutoML job.

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

Returns the input data configuration for the AutoML job.

*/ 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 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 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 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 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 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 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 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 configuration for the AutoML job.

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

Returns the configuration for the AutoML job.

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

Returns the configuration for the AutoML job.

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

Returns the configuration for the AutoML job.

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

Returns the configuration for the AutoML job.

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

Returns the creation time of the AutoML job.

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

Returns the creation time of the AutoML job.

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

Returns the creation time of the AutoML job.

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

Returns the creation time of the AutoML job.

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

Returns the creation time of the AutoML job.

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

Returns the end time of the AutoML job.

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

Returns the end time of the AutoML job.

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

Returns the end time of the AutoML job.

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

Returns the end time of the AutoML job.

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

Returns the end time of the AutoML job.

*/ 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 failure reason for an AutoML job, when applicable.

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

Returns the failure reason for an AutoML job, when applicable.

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

Returns the failure reason for an AutoML job, when applicable.

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

Returns the failure reason for an AutoML job, when applicable.

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

Returns the failure reason for an AutoML job, when applicable.

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

Returns the failure reason for an AutoML job, when applicable.

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

Returns the failure reason for an AutoML job, when applicable.

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

Returns a list of reasons for partial failures within an AutoML job.

*/ inline const Aws::Vector& GetPartialFailureReasons() const{ return m_partialFailureReasons; } /** *

Returns a list of reasons for partial failures within an AutoML job.

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

Returns a list of reasons for partial failures within an AutoML job.

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

Returns a list of reasons for partial failures within an AutoML job.

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

Returns a list of reasons for partial failures within an AutoML job.

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

Returns a list of reasons for partial failures within an AutoML job.

*/ inline DescribeAutoMLJobResult& AddPartialFailureReasons(const AutoMLPartialFailureReason& value) { m_partialFailureReasons.push_back(value); return *this; } /** *

Returns a list of reasons for partial failures within an AutoML job.

*/ inline DescribeAutoMLJobResult& AddPartialFailureReasons(AutoMLPartialFailureReason&& value) { m_partialFailureReasons.push_back(std::move(value)); return *this; } /** *

The best model candidate selected by SageMaker Autopilot using both the best * objective metric and lowest InferenceLatency * for an experiment.

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

The best model candidate selected by SageMaker Autopilot using both the best * objective metric and lowest InferenceLatency * for an experiment.

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

The best model candidate selected by SageMaker Autopilot using both the best * objective metric and lowest InferenceLatency * for an experiment.

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

The best model candidate selected by SageMaker Autopilot using both the best * objective metric and lowest InferenceLatency * for an experiment.

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

The best model candidate selected by SageMaker Autopilot using both the best * objective metric and lowest InferenceLatency * for an experiment.

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

Returns the status of the AutoML job.

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

Returns the status of the AutoML job.

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

Returns the status of the AutoML job.

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

Returns the status of the AutoML job.

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

Returns the status of the AutoML job.

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

Returns the secondary status of the AutoML job.

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

Returns the secondary status of the AutoML job.

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

Returns the secondary status of the AutoML job.

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

Returns the secondary status of the AutoML job.

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

Returns the secondary status of the AutoML job.

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

Indicates whether the output for an AutoML job generates candidate * definitions only.

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

Indicates whether the output for an AutoML job generates candidate * definitions only.

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

Indicates whether the output for an AutoML job generates candidate * definitions only.

*/ 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;} /** *

Contains ProblemType, AutoMLJobObjective, and * CompletionCriteria. If you do not provide these values, they are * inferred.

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

Contains ProblemType, AutoMLJobObjective, and * CompletionCriteria. If you do not provide these values, they are * inferred.

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

Contains ProblemType, AutoMLJobObjective, and * CompletionCriteria. If you do not provide these values, they are * inferred.

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

Contains ProblemType, AutoMLJobObjective, and * CompletionCriteria. If you do not provide these values, they are * inferred.

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

Contains ProblemType, AutoMLJobObjective, and * CompletionCriteria. If you do not provide these values, they are * inferred.

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

Indicates whether the model was deployed automatically to an endpoint and the * name of that endpoint if deployed automatically.

*/ inline const ModelDeployConfig& GetModelDeployConfig() const{ return m_modelDeployConfig; } /** *

Indicates whether the model was deployed automatically to an endpoint and the * name of that endpoint if deployed automatically.

*/ inline void SetModelDeployConfig(const ModelDeployConfig& value) { m_modelDeployConfig = value; } /** *

Indicates whether the model was deployed automatically to an endpoint and the * name of that endpoint if deployed automatically.

*/ inline void SetModelDeployConfig(ModelDeployConfig&& value) { m_modelDeployConfig = std::move(value); } /** *

Indicates whether the model was deployed automatically to an endpoint and the * name of that endpoint if deployed automatically.

*/ inline DescribeAutoMLJobResult& WithModelDeployConfig(const ModelDeployConfig& value) { SetModelDeployConfig(value); return *this;} /** *

Indicates whether the model was deployed automatically to an endpoint and the * name of that endpoint if deployed automatically.

*/ inline DescribeAutoMLJobResult& WithModelDeployConfig(ModelDeployConfig&& value) { SetModelDeployConfig(std::move(value)); return *this;} /** *

Provides information about endpoint for the model deployment.

*/ inline const ModelDeployResult& GetModelDeployResult() const{ return m_modelDeployResult; } /** *

Provides information about endpoint for the model deployment.

*/ inline void SetModelDeployResult(const ModelDeployResult& value) { m_modelDeployResult = value; } /** *

Provides information about endpoint for the model deployment.

*/ inline void SetModelDeployResult(ModelDeployResult&& value) { m_modelDeployResult = std::move(value); } /** *

Provides information about endpoint for the model deployment.

*/ inline DescribeAutoMLJobResult& WithModelDeployResult(const ModelDeployResult& value) { SetModelDeployResult(value); return *this;} /** *

Provides information about endpoint for the model deployment.

*/ inline DescribeAutoMLJobResult& WithModelDeployResult(ModelDeployResult&& value) { SetModelDeployResult(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeAutoMLJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAutoMLJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAutoMLJobResult& WithRequestId(const char* value) { SetRequestId(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; Aws::Vector m_partialFailureReasons; AutoMLCandidate m_bestCandidate; AutoMLJobStatus m_autoMLJobStatus; AutoMLJobSecondaryStatus m_autoMLJobSecondaryStatus; bool m_generateCandidateDefinitionsOnly; AutoMLJobArtifacts m_autoMLJobArtifacts; ResolvedAttributes m_resolvedAttributes; ModelDeployConfig m_modelDeployConfig; ModelDeployResult m_modelDeployResult; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws