/** * 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 { /** *

Provides configuration information for auto-labeling of your data objects. A * LabelingJobAlgorithmsConfig object must be supplied in order to use * auto-labeling.

See Also:

AWS * API Reference

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

Specifies the Amazon Resource Name (ARN) of the algorithm used for * auto-labeling. You must select one of the following ARNs:

  • * Image classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification *

  • Text classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification *

  • Object detection

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection *

  • Semantic Segmentation

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation *

*/ inline const Aws::String& GetLabelingJobAlgorithmSpecificationArn() const{ return m_labelingJobAlgorithmSpecificationArn; } /** *

Specifies the Amazon Resource Name (ARN) of the algorithm used for * auto-labeling. You must select one of the following ARNs:

  • * Image classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification *

  • Text classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification *

  • Object detection

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection *

  • Semantic Segmentation

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation *

*/ inline bool LabelingJobAlgorithmSpecificationArnHasBeenSet() const { return m_labelingJobAlgorithmSpecificationArnHasBeenSet; } /** *

Specifies the Amazon Resource Name (ARN) of the algorithm used for * auto-labeling. You must select one of the following ARNs:

  • * Image classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification *

  • Text classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification *

  • Object detection

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection *

  • Semantic Segmentation

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation *

*/ inline void SetLabelingJobAlgorithmSpecificationArn(const Aws::String& value) { m_labelingJobAlgorithmSpecificationArnHasBeenSet = true; m_labelingJobAlgorithmSpecificationArn = value; } /** *

Specifies the Amazon Resource Name (ARN) of the algorithm used for * auto-labeling. You must select one of the following ARNs:

  • * Image classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification *

  • Text classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification *

  • Object detection

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection *

  • Semantic Segmentation

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation *

*/ inline void SetLabelingJobAlgorithmSpecificationArn(Aws::String&& value) { m_labelingJobAlgorithmSpecificationArnHasBeenSet = true; m_labelingJobAlgorithmSpecificationArn = std::move(value); } /** *

Specifies the Amazon Resource Name (ARN) of the algorithm used for * auto-labeling. You must select one of the following ARNs:

  • * Image classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification *

  • Text classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification *

  • Object detection

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection *

  • Semantic Segmentation

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation *

*/ inline void SetLabelingJobAlgorithmSpecificationArn(const char* value) { m_labelingJobAlgorithmSpecificationArnHasBeenSet = true; m_labelingJobAlgorithmSpecificationArn.assign(value); } /** *

Specifies the Amazon Resource Name (ARN) of the algorithm used for * auto-labeling. You must select one of the following ARNs:

  • * Image classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification *

  • Text classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification *

  • Object detection

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection *

  • Semantic Segmentation

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation *

*/ inline LabelingJobAlgorithmsConfig& WithLabelingJobAlgorithmSpecificationArn(const Aws::String& value) { SetLabelingJobAlgorithmSpecificationArn(value); return *this;} /** *

Specifies the Amazon Resource Name (ARN) of the algorithm used for * auto-labeling. You must select one of the following ARNs:

  • * Image classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification *

  • Text classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification *

  • Object detection

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection *

  • Semantic Segmentation

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation *

*/ inline LabelingJobAlgorithmsConfig& WithLabelingJobAlgorithmSpecificationArn(Aws::String&& value) { SetLabelingJobAlgorithmSpecificationArn(std::move(value)); return *this;} /** *

Specifies the Amazon Resource Name (ARN) of the algorithm used for * auto-labeling. You must select one of the following ARNs:

  • * Image classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification *

  • Text classification

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification *

  • Object detection

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection *

  • Semantic Segmentation

    * arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation *

*/ inline LabelingJobAlgorithmsConfig& WithLabelingJobAlgorithmSpecificationArn(const char* value) { SetLabelingJobAlgorithmSpecificationArn(value); return *this;} /** *

At the end of an auto-label job Ground Truth sends the Amazon Resource Name * (ARN) of the final model used for auto-labeling. You can use this model as the * starting point for subsequent similar jobs by providing the ARN of the model * here.

*/ inline const Aws::String& GetInitialActiveLearningModelArn() const{ return m_initialActiveLearningModelArn; } /** *

At the end of an auto-label job Ground Truth sends the Amazon Resource Name * (ARN) of the final model used for auto-labeling. You can use this model as the * starting point for subsequent similar jobs by providing the ARN of the model * here.

*/ inline bool InitialActiveLearningModelArnHasBeenSet() const { return m_initialActiveLearningModelArnHasBeenSet; } /** *

At the end of an auto-label job Ground Truth sends the Amazon Resource Name * (ARN) of the final model used for auto-labeling. You can use this model as the * starting point for subsequent similar jobs by providing the ARN of the model * here.

*/ inline void SetInitialActiveLearningModelArn(const Aws::String& value) { m_initialActiveLearningModelArnHasBeenSet = true; m_initialActiveLearningModelArn = value; } /** *

At the end of an auto-label job Ground Truth sends the Amazon Resource Name * (ARN) of the final model used for auto-labeling. You can use this model as the * starting point for subsequent similar jobs by providing the ARN of the model * here.

*/ inline void SetInitialActiveLearningModelArn(Aws::String&& value) { m_initialActiveLearningModelArnHasBeenSet = true; m_initialActiveLearningModelArn = std::move(value); } /** *

At the end of an auto-label job Ground Truth sends the Amazon Resource Name * (ARN) of the final model used for auto-labeling. You can use this model as the * starting point for subsequent similar jobs by providing the ARN of the model * here.

*/ inline void SetInitialActiveLearningModelArn(const char* value) { m_initialActiveLearningModelArnHasBeenSet = true; m_initialActiveLearningModelArn.assign(value); } /** *

At the end of an auto-label job Ground Truth sends the Amazon Resource Name * (ARN) of the final model used for auto-labeling. You can use this model as the * starting point for subsequent similar jobs by providing the ARN of the model * here.

*/ inline LabelingJobAlgorithmsConfig& WithInitialActiveLearningModelArn(const Aws::String& value) { SetInitialActiveLearningModelArn(value); return *this;} /** *

At the end of an auto-label job Ground Truth sends the Amazon Resource Name * (ARN) of the final model used for auto-labeling. You can use this model as the * starting point for subsequent similar jobs by providing the ARN of the model * here.

*/ inline LabelingJobAlgorithmsConfig& WithInitialActiveLearningModelArn(Aws::String&& value) { SetInitialActiveLearningModelArn(std::move(value)); return *this;} /** *

At the end of an auto-label job Ground Truth sends the Amazon Resource Name * (ARN) of the final model used for auto-labeling. You can use this model as the * starting point for subsequent similar jobs by providing the ARN of the model * here.

*/ inline LabelingJobAlgorithmsConfig& WithInitialActiveLearningModelArn(const char* value) { SetInitialActiveLearningModelArn(value); return *this;} /** *

Provides configuration information for a labeling job.

*/ inline const LabelingJobResourceConfig& GetLabelingJobResourceConfig() const{ return m_labelingJobResourceConfig; } /** *

Provides configuration information for a labeling job.

*/ inline bool LabelingJobResourceConfigHasBeenSet() const { return m_labelingJobResourceConfigHasBeenSet; } /** *

Provides configuration information for a labeling job.

*/ inline void SetLabelingJobResourceConfig(const LabelingJobResourceConfig& value) { m_labelingJobResourceConfigHasBeenSet = true; m_labelingJobResourceConfig = value; } /** *

Provides configuration information for a labeling job.

*/ inline void SetLabelingJobResourceConfig(LabelingJobResourceConfig&& value) { m_labelingJobResourceConfigHasBeenSet = true; m_labelingJobResourceConfig = std::move(value); } /** *

Provides configuration information for a labeling job.

*/ inline LabelingJobAlgorithmsConfig& WithLabelingJobResourceConfig(const LabelingJobResourceConfig& value) { SetLabelingJobResourceConfig(value); return *this;} /** *

Provides configuration information for a labeling job.

*/ inline LabelingJobAlgorithmsConfig& WithLabelingJobResourceConfig(LabelingJobResourceConfig&& value) { SetLabelingJobResourceConfig(std::move(value)); return *this;} private: Aws::String m_labelingJobAlgorithmSpecificationArn; bool m_labelingJobAlgorithmSpecificationArnHasBeenSet = false; Aws::String m_initialActiveLearningModelArn; bool m_initialActiveLearningModelArnHasBeenSet = false; LabelingJobResourceConfig m_labelingJobResourceConfig; bool m_labelingJobResourceConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws