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

Information about the steps for a candidate and what step it is working * on.

See Also:

AWS * API Reference

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

Whether the candidate is at the transform, training, or processing step.

*/ inline const CandidateStepType& GetCandidateStepType() const{ return m_candidateStepType; } /** *

Whether the candidate is at the transform, training, or processing step.

*/ inline bool CandidateStepTypeHasBeenSet() const { return m_candidateStepTypeHasBeenSet; } /** *

Whether the candidate is at the transform, training, or processing step.

*/ inline void SetCandidateStepType(const CandidateStepType& value) { m_candidateStepTypeHasBeenSet = true; m_candidateStepType = value; } /** *

Whether the candidate is at the transform, training, or processing step.

*/ inline void SetCandidateStepType(CandidateStepType&& value) { m_candidateStepTypeHasBeenSet = true; m_candidateStepType = std::move(value); } /** *

Whether the candidate is at the transform, training, or processing step.

*/ inline AutoMLCandidateStep& WithCandidateStepType(const CandidateStepType& value) { SetCandidateStepType(value); return *this;} /** *

Whether the candidate is at the transform, training, or processing step.

*/ inline AutoMLCandidateStep& WithCandidateStepType(CandidateStepType&& value) { SetCandidateStepType(std::move(value)); return *this;} /** *

The ARN for the candidate's step.

*/ inline const Aws::String& GetCandidateStepArn() const{ return m_candidateStepArn; } /** *

The ARN for the candidate's step.

*/ inline bool CandidateStepArnHasBeenSet() const { return m_candidateStepArnHasBeenSet; } /** *

The ARN for the candidate's step.

*/ inline void SetCandidateStepArn(const Aws::String& value) { m_candidateStepArnHasBeenSet = true; m_candidateStepArn = value; } /** *

The ARN for the candidate's step.

*/ inline void SetCandidateStepArn(Aws::String&& value) { m_candidateStepArnHasBeenSet = true; m_candidateStepArn = std::move(value); } /** *

The ARN for the candidate's step.

*/ inline void SetCandidateStepArn(const char* value) { m_candidateStepArnHasBeenSet = true; m_candidateStepArn.assign(value); } /** *

The ARN for the candidate's step.

*/ inline AutoMLCandidateStep& WithCandidateStepArn(const Aws::String& value) { SetCandidateStepArn(value); return *this;} /** *

The ARN for the candidate's step.

*/ inline AutoMLCandidateStep& WithCandidateStepArn(Aws::String&& value) { SetCandidateStepArn(std::move(value)); return *this;} /** *

The ARN for the candidate's step.

*/ inline AutoMLCandidateStep& WithCandidateStepArn(const char* value) { SetCandidateStepArn(value); return *this;} /** *

The name for the candidate's step.

*/ inline const Aws::String& GetCandidateStepName() const{ return m_candidateStepName; } /** *

The name for the candidate's step.

*/ inline bool CandidateStepNameHasBeenSet() const { return m_candidateStepNameHasBeenSet; } /** *

The name for the candidate's step.

*/ inline void SetCandidateStepName(const Aws::String& value) { m_candidateStepNameHasBeenSet = true; m_candidateStepName = value; } /** *

The name for the candidate's step.

*/ inline void SetCandidateStepName(Aws::String&& value) { m_candidateStepNameHasBeenSet = true; m_candidateStepName = std::move(value); } /** *

The name for the candidate's step.

*/ inline void SetCandidateStepName(const char* value) { m_candidateStepNameHasBeenSet = true; m_candidateStepName.assign(value); } /** *

The name for the candidate's step.

*/ inline AutoMLCandidateStep& WithCandidateStepName(const Aws::String& value) { SetCandidateStepName(value); return *this;} /** *

The name for the candidate's step.

*/ inline AutoMLCandidateStep& WithCandidateStepName(Aws::String&& value) { SetCandidateStepName(std::move(value)); return *this;} /** *

The name for the candidate's step.

*/ inline AutoMLCandidateStep& WithCandidateStepName(const char* value) { SetCandidateStepName(value); return *this;} private: CandidateStepType m_candidateStepType; bool m_candidateStepTypeHasBeenSet = false; Aws::String m_candidateStepArn; bool m_candidateStepArnHasBeenSet = false; Aws::String m_candidateStepName; bool m_candidateStepNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws