/** * 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 resolved attributes used to configure an AutoML job V2.

See * Also:

AWS * API Reference

*/ class AutoMLResolvedAttributes { public: AWS_SAGEMAKER_API AutoMLResolvedAttributes(); AWS_SAGEMAKER_API AutoMLResolvedAttributes(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API AutoMLResolvedAttributes& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; inline const AutoMLJobObjective& GetAutoMLJobObjective() const{ return m_autoMLJobObjective; } inline bool AutoMLJobObjectiveHasBeenSet() const { return m_autoMLJobObjectiveHasBeenSet; } inline void SetAutoMLJobObjective(const AutoMLJobObjective& value) { m_autoMLJobObjectiveHasBeenSet = true; m_autoMLJobObjective = value; } inline void SetAutoMLJobObjective(AutoMLJobObjective&& value) { m_autoMLJobObjectiveHasBeenSet = true; m_autoMLJobObjective = std::move(value); } inline AutoMLResolvedAttributes& WithAutoMLJobObjective(const AutoMLJobObjective& value) { SetAutoMLJobObjective(value); return *this;} inline AutoMLResolvedAttributes& WithAutoMLJobObjective(AutoMLJobObjective&& value) { SetAutoMLJobObjective(std::move(value)); return *this;} inline const AutoMLJobCompletionCriteria& GetCompletionCriteria() const{ return m_completionCriteria; } inline bool CompletionCriteriaHasBeenSet() const { return m_completionCriteriaHasBeenSet; } inline void SetCompletionCriteria(const AutoMLJobCompletionCriteria& value) { m_completionCriteriaHasBeenSet = true; m_completionCriteria = value; } inline void SetCompletionCriteria(AutoMLJobCompletionCriteria&& value) { m_completionCriteriaHasBeenSet = true; m_completionCriteria = std::move(value); } inline AutoMLResolvedAttributes& WithCompletionCriteria(const AutoMLJobCompletionCriteria& value) { SetCompletionCriteria(value); return *this;} inline AutoMLResolvedAttributes& WithCompletionCriteria(AutoMLJobCompletionCriteria&& value) { SetCompletionCriteria(std::move(value)); return *this;} /** *

Defines the resolved attributes specific to a problem type.

*/ inline const AutoMLProblemTypeResolvedAttributes& GetAutoMLProblemTypeResolvedAttributes() const{ return m_autoMLProblemTypeResolvedAttributes; } /** *

Defines the resolved attributes specific to a problem type.

*/ inline bool AutoMLProblemTypeResolvedAttributesHasBeenSet() const { return m_autoMLProblemTypeResolvedAttributesHasBeenSet; } /** *

Defines the resolved attributes specific to a problem type.

*/ inline void SetAutoMLProblemTypeResolvedAttributes(const AutoMLProblemTypeResolvedAttributes& value) { m_autoMLProblemTypeResolvedAttributesHasBeenSet = true; m_autoMLProblemTypeResolvedAttributes = value; } /** *

Defines the resolved attributes specific to a problem type.

*/ inline void SetAutoMLProblemTypeResolvedAttributes(AutoMLProblemTypeResolvedAttributes&& value) { m_autoMLProblemTypeResolvedAttributesHasBeenSet = true; m_autoMLProblemTypeResolvedAttributes = std::move(value); } /** *

Defines the resolved attributes specific to a problem type.

*/ inline AutoMLResolvedAttributes& WithAutoMLProblemTypeResolvedAttributes(const AutoMLProblemTypeResolvedAttributes& value) { SetAutoMLProblemTypeResolvedAttributes(value); return *this;} /** *

Defines the resolved attributes specific to a problem type.

*/ inline AutoMLResolvedAttributes& WithAutoMLProblemTypeResolvedAttributes(AutoMLProblemTypeResolvedAttributes&& value) { SetAutoMLProblemTypeResolvedAttributes(std::move(value)); return *this;} private: AutoMLJobObjective m_autoMLJobObjective; bool m_autoMLJobObjectiveHasBeenSet = false; AutoMLJobCompletionCriteria m_completionCriteria; bool m_completionCriteriaHasBeenSet = false; AutoMLProblemTypeResolvedAttributes m_autoMLProblemTypeResolvedAttributes; bool m_autoMLProblemTypeResolvedAttributesHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws