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

Stores the configuration information for the image classification problem of * an AutoML job V2.

See Also:

AWS * API Reference

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

How long a job is allowed to run, or how many candidates a job is allowed to * generate.

*/ inline const AutoMLJobCompletionCriteria& GetCompletionCriteria() const{ return m_completionCriteria; } /** *

How long a job is allowed to run, or how many candidates a job is allowed to * generate.

*/ inline bool CompletionCriteriaHasBeenSet() const { return m_completionCriteriaHasBeenSet; } /** *

How long a job is allowed to run, or how many candidates a job is allowed to * generate.

*/ inline void SetCompletionCriteria(const AutoMLJobCompletionCriteria& value) { m_completionCriteriaHasBeenSet = true; m_completionCriteria = value; } /** *

How long a job is allowed to run, or how many candidates a job is allowed to * generate.

*/ inline void SetCompletionCriteria(AutoMLJobCompletionCriteria&& value) { m_completionCriteriaHasBeenSet = true; m_completionCriteria = std::move(value); } /** *

How long a job is allowed to run, or how many candidates a job is allowed to * generate.

*/ inline ImageClassificationJobConfig& WithCompletionCriteria(const AutoMLJobCompletionCriteria& value) { SetCompletionCriteria(value); return *this;} /** *

How long a job is allowed to run, or how many candidates a job is allowed to * generate.

*/ inline ImageClassificationJobConfig& WithCompletionCriteria(AutoMLJobCompletionCriteria&& value) { SetCompletionCriteria(std::move(value)); return *this;} private: AutoMLJobCompletionCriteria m_completionCriteria; bool m_completionCriteriaHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws