/** * 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 counts for human-labeled tasks in the labeling job.

See * Also:

AWS * API Reference

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

The total number of data objects labeled by a human worker.

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

The total number of data objects labeled by a human worker.

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

The total number of data objects labeled by a human worker.

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

The total number of data objects labeled by a human worker.

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

The total number of data objects that need to be labeled by a human * worker.

*/ inline int GetPendingHuman() const{ return m_pendingHuman; } /** *

The total number of data objects that need to be labeled by a human * worker.

*/ inline bool PendingHumanHasBeenSet() const { return m_pendingHumanHasBeenSet; } /** *

The total number of data objects that need to be labeled by a human * worker.

*/ inline void SetPendingHuman(int value) { m_pendingHumanHasBeenSet = true; m_pendingHuman = value; } /** *

The total number of data objects that need to be labeled by a human * worker.

*/ inline LabelCountersForWorkteam& WithPendingHuman(int value) { SetPendingHuman(value); return *this;} /** *

The total number of tasks in the labeling job.

*/ inline int GetTotal() const{ return m_total; } /** *

The total number of tasks in the labeling job.

*/ inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; } /** *

The total number of tasks in the labeling job.

*/ inline void SetTotal(int value) { m_totalHasBeenSet = true; m_total = value; } /** *

The total number of tasks in the labeling job.

*/ inline LabelCountersForWorkteam& WithTotal(int value) { SetTotal(value); return *this;} private: int m_humanLabeled; bool m_humanLabeledHasBeenSet = false; int m_pendingHuman; bool m_pendingHumanHasBeenSet = false; int m_total; bool m_totalHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws