/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A set of conditions for stopping a labeling job. If any of the conditions are
* met, the job is automatically stopped. You can use these conditions to control
* the cost of data labeling. Labeling jobs fail after 30 days with
* an appropriate client error message.See Also:
AWS
* API Reference
The maximum number of objects that can be labeled by human workers.
*/ inline int GetMaxHumanLabeledObjectCount() const{ return m_maxHumanLabeledObjectCount; } /** *The maximum number of objects that can be labeled by human workers.
*/ inline bool MaxHumanLabeledObjectCountHasBeenSet() const { return m_maxHumanLabeledObjectCountHasBeenSet; } /** *The maximum number of objects that can be labeled by human workers.
*/ inline void SetMaxHumanLabeledObjectCount(int value) { m_maxHumanLabeledObjectCountHasBeenSet = true; m_maxHumanLabeledObjectCount = value; } /** *The maximum number of objects that can be labeled by human workers.
*/ inline LabelingJobStoppingConditions& WithMaxHumanLabeledObjectCount(int value) { SetMaxHumanLabeledObjectCount(value); return *this;} /** *The maximum number of input data objects that should be labeled.
*/ inline int GetMaxPercentageOfInputDatasetLabeled() const{ return m_maxPercentageOfInputDatasetLabeled; } /** *The maximum number of input data objects that should be labeled.
*/ inline bool MaxPercentageOfInputDatasetLabeledHasBeenSet() const { return m_maxPercentageOfInputDatasetLabeledHasBeenSet; } /** *The maximum number of input data objects that should be labeled.
*/ inline void SetMaxPercentageOfInputDatasetLabeled(int value) { m_maxPercentageOfInputDatasetLabeledHasBeenSet = true; m_maxPercentageOfInputDatasetLabeled = value; } /** *The maximum number of input data objects that should be labeled.
*/ inline LabelingJobStoppingConditions& WithMaxPercentageOfInputDatasetLabeled(int value) { SetMaxPercentageOfInputDatasetLabeled(value); return *this;} private: int m_maxHumanLabeledObjectCount; bool m_maxHumanLabeledObjectCountHasBeenSet = false; int m_maxPercentageOfInputDatasetLabeled; bool m_maxPercentageOfInputDatasetLabeledHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws