/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An Autopilot job returns recommendations, or candidates. Each candidate has
* futher details about the steps involed, and the status.See Also:
* AWS
* API Reference
The candidate name.
*/ inline const Aws::String& GetCandidateName() const{ return m_candidateName; } /** *The candidate name.
*/ inline bool CandidateNameHasBeenSet() const { return m_candidateNameHasBeenSet; } /** *The candidate name.
*/ inline void SetCandidateName(const Aws::String& value) { m_candidateNameHasBeenSet = true; m_candidateName = value; } /** *The candidate name.
*/ inline void SetCandidateName(Aws::String&& value) { m_candidateNameHasBeenSet = true; m_candidateName = std::move(value); } /** *The candidate name.
*/ inline void SetCandidateName(const char* value) { m_candidateNameHasBeenSet = true; m_candidateName.assign(value); } /** *The candidate name.
*/ inline AutoMLCandidate& WithCandidateName(const Aws::String& value) { SetCandidateName(value); return *this;} /** *The candidate name.
*/ inline AutoMLCandidate& WithCandidateName(Aws::String&& value) { SetCandidateName(std::move(value)); return *this;} /** *The candidate name.
*/ 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 status.
*/ inline const ObjectiveStatus& GetObjectiveStatus() const{ return m_objectiveStatus; } /** *The objective status.
*/ inline bool ObjectiveStatusHasBeenSet() const { return m_objectiveStatusHasBeenSet; } /** *The objective status.
*/ inline void SetObjectiveStatus(const ObjectiveStatus& value) { m_objectiveStatusHasBeenSet = true; m_objectiveStatus = value; } /** *The objective status.
*/ inline void SetObjectiveStatus(ObjectiveStatus&& value) { m_objectiveStatusHasBeenSet = true; m_objectiveStatus = std::move(value); } /** *The objective status.
*/ inline AutoMLCandidate& WithObjectiveStatus(const ObjectiveStatus& value) { SetObjectiveStatus(value); return *this;} /** *The objective status.
*/ inline AutoMLCandidate& WithObjectiveStatus(ObjectiveStatus&& value) { SetObjectiveStatus(std::move(value)); return *this;} /** *The candidate's steps.
*/ inline const Aws::VectorThe candidate's steps.
*/ inline bool CandidateStepsHasBeenSet() const { return m_candidateStepsHasBeenSet; } /** *The candidate's steps.
*/ inline void SetCandidateSteps(const Aws::VectorThe candidate's steps.
*/ inline void SetCandidateSteps(Aws::VectorThe candidate's steps.
*/ inline AutoMLCandidate& WithCandidateSteps(const Aws::VectorThe candidate's steps.
*/ inline AutoMLCandidate& WithCandidateSteps(Aws::VectorThe candidate's steps.
*/ inline AutoMLCandidate& AddCandidateSteps(const AutoMLCandidateStep& value) { m_candidateStepsHasBeenSet = true; m_candidateSteps.push_back(value); return *this; } /** *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;} /** *The inference containers.
*/ inline const Aws::VectorThe inference containers.
*/ inline bool InferenceContainersHasBeenSet() const { return m_inferenceContainersHasBeenSet; } /** *The inference containers.
*/ inline void SetInferenceContainers(const Aws::VectorThe inference containers.
*/ inline void SetInferenceContainers(Aws::VectorThe inference containers.
*/ inline AutoMLCandidate& WithInferenceContainers(const Aws::VectorThe inference containers.
*/ inline AutoMLCandidate& WithInferenceContainers(Aws::VectorThe inference containers.
*/ inline AutoMLCandidate& AddInferenceContainers(const AutoMLContainerDefinition& value) { m_inferenceContainersHasBeenSet = true; m_inferenceContainers.push_back(value); return *this; } /** *The inference containers.
*/ 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;} private: Aws::String m_candidateName; bool m_candidateNameHasBeenSet; FinalAutoMLJobObjectiveMetric m_finalAutoMLJobObjectiveMetric; bool m_finalAutoMLJobObjectiveMetricHasBeenSet; ObjectiveStatus m_objectiveStatus; bool m_objectiveStatusHasBeenSet; Aws::Vector