/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a candidate produced by an AutoML training job, including
* its status, steps, and other properties.See Also:
AWS
* API Reference
The name of the candidate.
*/ inline const Aws::String& GetCandidateName() const{ return m_candidateName; } /** *The name of the candidate.
*/ inline bool CandidateNameHasBeenSet() const { return m_candidateNameHasBeenSet; } /** *The name of the candidate.
*/ inline void SetCandidateName(const Aws::String& value) { m_candidateNameHasBeenSet = true; m_candidateName = value; } /** *The name of the candidate.
*/ inline void SetCandidateName(Aws::String&& value) { m_candidateNameHasBeenSet = true; m_candidateName = std::move(value); } /** *The name of the candidate.
*/ inline void SetCandidateName(const char* value) { m_candidateNameHasBeenSet = true; m_candidateName.assign(value); } /** *The name of the candidate.
*/ inline AutoMLCandidate& WithCandidateName(const Aws::String& value) { SetCandidateName(value); return *this;} /** *The name of the candidate.
*/ inline AutoMLCandidate& WithCandidateName(Aws::String&& value) { SetCandidateName(std::move(value)); return *this;} /** *The name of the candidate.
*/ inline AutoMLCandidate& WithCandidateName(const char* value) { SetCandidateName(value); return *this;} inline const FinalAutoMLJobObjectiveMetric& GetFinalAutoMLJobObjectiveMetric() const{ return m_finalAutoMLJobObjectiveMetric; } inline bool FinalAutoMLJobObjectiveMetricHasBeenSet() const { return m_finalAutoMLJobObjectiveMetricHasBeenSet; } inline void SetFinalAutoMLJobObjectiveMetric(const FinalAutoMLJobObjectiveMetric& value) { m_finalAutoMLJobObjectiveMetricHasBeenSet = true; m_finalAutoMLJobObjectiveMetric = value; } inline void SetFinalAutoMLJobObjectiveMetric(FinalAutoMLJobObjectiveMetric&& value) { m_finalAutoMLJobObjectiveMetricHasBeenSet = true; m_finalAutoMLJobObjectiveMetric = std::move(value); } inline AutoMLCandidate& WithFinalAutoMLJobObjectiveMetric(const FinalAutoMLJobObjectiveMetric& value) { SetFinalAutoMLJobObjectiveMetric(value); return *this;} inline AutoMLCandidate& WithFinalAutoMLJobObjectiveMetric(FinalAutoMLJobObjectiveMetric&& value) { SetFinalAutoMLJobObjectiveMetric(std::move(value)); return *this;} /** *The objective's status.
*/ inline const ObjectiveStatus& GetObjectiveStatus() const{ return m_objectiveStatus; } /** *The objective's status.
*/ inline bool ObjectiveStatusHasBeenSet() const { return m_objectiveStatusHasBeenSet; } /** *The objective's status.
*/ inline void SetObjectiveStatus(const ObjectiveStatus& value) { m_objectiveStatusHasBeenSet = true; m_objectiveStatus = value; } /** *The objective's status.
*/ inline void SetObjectiveStatus(ObjectiveStatus&& value) { m_objectiveStatusHasBeenSet = true; m_objectiveStatus = std::move(value); } /** *The objective's status.
*/ inline AutoMLCandidate& WithObjectiveStatus(const ObjectiveStatus& value) { SetObjectiveStatus(value); return *this;} /** *The objective's status.
*/ inline AutoMLCandidate& WithObjectiveStatus(ObjectiveStatus&& value) { SetObjectiveStatus(std::move(value)); return *this;} /** *Information about the candidate's steps.
*/ inline const Aws::VectorInformation about the candidate's steps.
*/ inline bool CandidateStepsHasBeenSet() const { return m_candidateStepsHasBeenSet; } /** *Information about the candidate's steps.
*/ inline void SetCandidateSteps(const Aws::VectorInformation about the candidate's steps.
*/ inline void SetCandidateSteps(Aws::VectorInformation about the candidate's steps.
*/ inline AutoMLCandidate& WithCandidateSteps(const Aws::VectorInformation about the candidate's steps.
*/ inline AutoMLCandidate& WithCandidateSteps(Aws::VectorInformation about the candidate's steps.
*/ inline AutoMLCandidate& AddCandidateSteps(const AutoMLCandidateStep& value) { m_candidateStepsHasBeenSet = true; m_candidateSteps.push_back(value); return *this; } /** *Information about the candidate's steps.
*/ inline AutoMLCandidate& AddCandidateSteps(AutoMLCandidateStep&& value) { m_candidateStepsHasBeenSet = true; m_candidateSteps.push_back(std::move(value)); return *this; } /** *The candidate's status.
*/ inline const CandidateStatus& GetCandidateStatus() const{ return m_candidateStatus; } /** *The candidate's status.
*/ inline bool CandidateStatusHasBeenSet() const { return m_candidateStatusHasBeenSet; } /** *The candidate's status.
*/ inline void SetCandidateStatus(const CandidateStatus& value) { m_candidateStatusHasBeenSet = true; m_candidateStatus = value; } /** *The candidate's status.
*/ inline void SetCandidateStatus(CandidateStatus&& value) { m_candidateStatusHasBeenSet = true; m_candidateStatus = std::move(value); } /** *The candidate's status.
*/ inline AutoMLCandidate& WithCandidateStatus(const CandidateStatus& value) { SetCandidateStatus(value); return *this;} /** *The candidate's status.
*/ inline AutoMLCandidate& WithCandidateStatus(CandidateStatus&& value) { SetCandidateStatus(std::move(value)); return *this;} /** *Information about the recommended inference container definitions.
*/ inline const Aws::VectorInformation about the recommended inference container definitions.
*/ inline bool InferenceContainersHasBeenSet() const { return m_inferenceContainersHasBeenSet; } /** *Information about the recommended inference container definitions.
*/ inline void SetInferenceContainers(const Aws::VectorInformation about the recommended inference container definitions.
*/ inline void SetInferenceContainers(Aws::VectorInformation about the recommended inference container definitions.
*/ inline AutoMLCandidate& WithInferenceContainers(const Aws::VectorInformation about the recommended inference container definitions.
*/ inline AutoMLCandidate& WithInferenceContainers(Aws::VectorInformation about the recommended inference container definitions.
*/ inline AutoMLCandidate& AddInferenceContainers(const AutoMLContainerDefinition& value) { m_inferenceContainersHasBeenSet = true; m_inferenceContainers.push_back(value); return *this; } /** *Information about the recommended inference container definitions.
*/ inline AutoMLCandidate& AddInferenceContainers(AutoMLContainerDefinition&& value) { m_inferenceContainersHasBeenSet = true; m_inferenceContainers.push_back(std::move(value)); return *this; } /** *The creation time.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The creation time.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The creation time.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The creation time.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The creation time.
*/ inline AutoMLCandidate& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The creation time.
*/ inline AutoMLCandidate& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The end time.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The end time.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The end time.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The end time.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The end time.
*/ inline AutoMLCandidate& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The end time.
*/ inline AutoMLCandidate& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *The last modified time.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The last modified time.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The last modified time.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The last modified time.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The last modified time.
*/ inline AutoMLCandidate& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The last modified time.
*/ inline AutoMLCandidate& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The failure reason.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *The failure reason.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *The failure reason.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *The failure reason.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *The failure reason.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *The failure reason.
*/ inline AutoMLCandidate& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *The failure reason.
*/ inline AutoMLCandidate& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *The failure reason.
*/ inline AutoMLCandidate& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *The properties of an AutoML candidate job.
*/ inline const CandidateProperties& GetCandidateProperties() const{ return m_candidateProperties; } /** *The properties of an AutoML candidate job.
*/ inline bool CandidatePropertiesHasBeenSet() const { return m_candidatePropertiesHasBeenSet; } /** *The properties of an AutoML candidate job.
*/ inline void SetCandidateProperties(const CandidateProperties& value) { m_candidatePropertiesHasBeenSet = true; m_candidateProperties = value; } /** *The properties of an AutoML candidate job.
*/ inline void SetCandidateProperties(CandidateProperties&& value) { m_candidatePropertiesHasBeenSet = true; m_candidateProperties = std::move(value); } /** *The properties of an AutoML candidate job.
*/ inline AutoMLCandidate& WithCandidateProperties(const CandidateProperties& value) { SetCandidateProperties(value); return *this;} /** *The properties of an AutoML candidate job.
*/ inline AutoMLCandidate& WithCandidateProperties(CandidateProperties&& value) { SetCandidateProperties(std::move(value)); return *this;} /** *The mapping of all supported processing unit (CPU, GPU, etc...) to inference
* container definitions for the candidate. This field is populated for the AutoML
* jobs V2 (for example, for jobs created by calling
* CreateAutoMLJobV2
) related to image or text classification problem
* types only.
The mapping of all supported processing unit (CPU, GPU, etc...) to inference
* container definitions for the candidate. This field is populated for the AutoML
* jobs V2 (for example, for jobs created by calling
* CreateAutoMLJobV2
) related to image or text classification problem
* types only.
The mapping of all supported processing unit (CPU, GPU, etc...) to inference
* container definitions for the candidate. This field is populated for the AutoML
* jobs V2 (for example, for jobs created by calling
* CreateAutoMLJobV2
) related to image or text classification problem
* types only.
The mapping of all supported processing unit (CPU, GPU, etc...) to inference
* container definitions for the candidate. This field is populated for the AutoML
* jobs V2 (for example, for jobs created by calling
* CreateAutoMLJobV2
) related to image or text classification problem
* types only.
The mapping of all supported processing unit (CPU, GPU, etc...) to inference
* container definitions for the candidate. This field is populated for the AutoML
* jobs V2 (for example, for jobs created by calling
* CreateAutoMLJobV2
) related to image or text classification problem
* types only.
The mapping of all supported processing unit (CPU, GPU, etc...) to inference
* container definitions for the candidate. This field is populated for the AutoML
* jobs V2 (for example, for jobs created by calling
* CreateAutoMLJobV2
) related to image or text classification problem
* types only.
The mapping of all supported processing unit (CPU, GPU, etc...) to inference
* container definitions for the candidate. This field is populated for the AutoML
* jobs V2 (for example, for jobs created by calling
* CreateAutoMLJobV2
) related to image or text classification problem
* types only.
The mapping of all supported processing unit (CPU, GPU, etc...) to inference
* container definitions for the candidate. This field is populated for the AutoML
* jobs V2 (for example, for jobs created by calling
* CreateAutoMLJobV2
) related to image or text classification problem
* types only.
The mapping of all supported processing unit (CPU, GPU, etc...) to inference
* container definitions for the candidate. This field is populated for the AutoML
* jobs V2 (for example, for jobs created by calling
* CreateAutoMLJobV2
) related to image or text classification problem
* types only.
The mapping of all supported processing unit (CPU, GPU, etc...) to inference
* container definitions for the candidate. This field is populated for the AutoML
* jobs V2 (for example, for jobs created by calling
* CreateAutoMLJobV2
) related to image or text classification problem
* types only.