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

The properties of an AutoML candidate job.

See Also:

AWS * API Reference

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

The Amazon S3 prefix to the artifacts generated for an AutoML candidate.

*/ inline const CandidateArtifactLocations& GetCandidateArtifactLocations() const{ return m_candidateArtifactLocations; } /** *

The Amazon S3 prefix to the artifacts generated for an AutoML candidate.

*/ inline bool CandidateArtifactLocationsHasBeenSet() const { return m_candidateArtifactLocationsHasBeenSet; } /** *

The Amazon S3 prefix to the artifacts generated for an AutoML candidate.

*/ inline void SetCandidateArtifactLocations(const CandidateArtifactLocations& value) { m_candidateArtifactLocationsHasBeenSet = true; m_candidateArtifactLocations = value; } /** *

The Amazon S3 prefix to the artifacts generated for an AutoML candidate.

*/ inline void SetCandidateArtifactLocations(CandidateArtifactLocations&& value) { m_candidateArtifactLocationsHasBeenSet = true; m_candidateArtifactLocations = std::move(value); } /** *

The Amazon S3 prefix to the artifacts generated for an AutoML candidate.

*/ inline CandidateProperties& WithCandidateArtifactLocations(const CandidateArtifactLocations& value) { SetCandidateArtifactLocations(value); return *this;} /** *

The Amazon S3 prefix to the artifacts generated for an AutoML candidate.

*/ inline CandidateProperties& WithCandidateArtifactLocations(CandidateArtifactLocations&& value) { SetCandidateArtifactLocations(std::move(value)); return *this;} /** *

Information about the candidate metrics for an AutoML job.

*/ inline const Aws::Vector& GetCandidateMetrics() const{ return m_candidateMetrics; } /** *

Information about the candidate metrics for an AutoML job.

*/ inline bool CandidateMetricsHasBeenSet() const { return m_candidateMetricsHasBeenSet; } /** *

Information about the candidate metrics for an AutoML job.

*/ inline void SetCandidateMetrics(const Aws::Vector& value) { m_candidateMetricsHasBeenSet = true; m_candidateMetrics = value; } /** *

Information about the candidate metrics for an AutoML job.

*/ inline void SetCandidateMetrics(Aws::Vector&& value) { m_candidateMetricsHasBeenSet = true; m_candidateMetrics = std::move(value); } /** *

Information about the candidate metrics for an AutoML job.

*/ inline CandidateProperties& WithCandidateMetrics(const Aws::Vector& value) { SetCandidateMetrics(value); return *this;} /** *

Information about the candidate metrics for an AutoML job.

*/ inline CandidateProperties& WithCandidateMetrics(Aws::Vector&& value) { SetCandidateMetrics(std::move(value)); return *this;} /** *

Information about the candidate metrics for an AutoML job.

*/ inline CandidateProperties& AddCandidateMetrics(const MetricDatum& value) { m_candidateMetricsHasBeenSet = true; m_candidateMetrics.push_back(value); return *this; } /** *

Information about the candidate metrics for an AutoML job.

*/ inline CandidateProperties& AddCandidateMetrics(MetricDatum&& value) { m_candidateMetricsHasBeenSet = true; m_candidateMetrics.push_back(std::move(value)); return *this; } private: CandidateArtifactLocations m_candidateArtifactLocations; bool m_candidateArtifactLocationsHasBeenSet = false; Aws::Vector m_candidateMetrics; bool m_candidateMetricsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws