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

Provides a breakdown of the number of objects labeled.

See * Also:

AWS * API Reference

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

The total number of objects labeled.

*/ inline int GetTotalLabeled() const{ return m_totalLabeled; } /** *

The total number of objects labeled.

*/ inline bool TotalLabeledHasBeenSet() const { return m_totalLabeledHasBeenSet; } /** *

The total number of objects labeled.

*/ inline void SetTotalLabeled(int value) { m_totalLabeledHasBeenSet = true; m_totalLabeled = value; } /** *

The total number of objects labeled.

*/ inline LabelCounters& WithTotalLabeled(int value) { SetTotalLabeled(value); return *this;} /** *

The total number of objects labeled by a human worker.

*/ inline int GetHumanLabeled() const{ return m_humanLabeled; } /** *

The total number of objects labeled by a human worker.

*/ inline bool HumanLabeledHasBeenSet() const { return m_humanLabeledHasBeenSet; } /** *

The total number of objects labeled by a human worker.

*/ inline void SetHumanLabeled(int value) { m_humanLabeledHasBeenSet = true; m_humanLabeled = value; } /** *

The total number of objects labeled by a human worker.

*/ inline LabelCounters& WithHumanLabeled(int value) { SetHumanLabeled(value); return *this;} /** *

The total number of objects labeled by automated data labeling.

*/ inline int GetMachineLabeled() const{ return m_machineLabeled; } /** *

The total number of objects labeled by automated data labeling.

*/ inline bool MachineLabeledHasBeenSet() const { return m_machineLabeledHasBeenSet; } /** *

The total number of objects labeled by automated data labeling.

*/ inline void SetMachineLabeled(int value) { m_machineLabeledHasBeenSet = true; m_machineLabeled = value; } /** *

The total number of objects labeled by automated data labeling.

*/ inline LabelCounters& WithMachineLabeled(int value) { SetMachineLabeled(value); return *this;} /** *

The total number of objects that could not be labeled due to an error.

*/ inline int GetFailedNonRetryableError() const{ return m_failedNonRetryableError; } /** *

The total number of objects that could not be labeled due to an error.

*/ inline bool FailedNonRetryableErrorHasBeenSet() const { return m_failedNonRetryableErrorHasBeenSet; } /** *

The total number of objects that could not be labeled due to an error.

*/ inline void SetFailedNonRetryableError(int value) { m_failedNonRetryableErrorHasBeenSet = true; m_failedNonRetryableError = value; } /** *

The total number of objects that could not be labeled due to an error.

*/ inline LabelCounters& WithFailedNonRetryableError(int value) { SetFailedNonRetryableError(value); return *this;} /** *

The total number of objects not yet labeled.

*/ inline int GetUnlabeled() const{ return m_unlabeled; } /** *

The total number of objects not yet labeled.

*/ inline bool UnlabeledHasBeenSet() const { return m_unlabeledHasBeenSet; } /** *

The total number of objects not yet labeled.

*/ inline void SetUnlabeled(int value) { m_unlabeledHasBeenSet = true; m_unlabeled = value; } /** *

The total number of objects not yet labeled.

*/ inline LabelCounters& WithUnlabeled(int value) { SetUnlabeled(value); return *this;} private: int m_totalLabeled; bool m_totalLabeledHasBeenSet = false; int m_humanLabeled; bool m_humanLabeledHasBeenSet = false; int m_machineLabeled; bool m_machineLabeledHasBeenSet = false; int m_failedNonRetryableError; bool m_failedNonRetryableErrorHasBeenSet = false; int m_unlabeled; bool m_unlabeledHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws