AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LabelingJobStoppingConditions.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SageMaker {
17namespace Model {
18
28 public:
29 AWS_SAGEMAKER_API LabelingJobStoppingConditions() = default;
32 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline int GetMaxHumanLabeledObjectCount() const { return m_maxHumanLabeledObjectCount; }
39 inline bool MaxHumanLabeledObjectCountHasBeenSet() const { return m_maxHumanLabeledObjectCountHasBeenSet; }
40 inline void SetMaxHumanLabeledObjectCount(int value) {
41 m_maxHumanLabeledObjectCountHasBeenSet = true;
42 m_maxHumanLabeledObjectCount = value;
43 }
46 return *this;
47 }
49
51
54 inline int GetMaxPercentageOfInputDatasetLabeled() const { return m_maxPercentageOfInputDatasetLabeled; }
55 inline bool MaxPercentageOfInputDatasetLabeledHasBeenSet() const { return m_maxPercentageOfInputDatasetLabeledHasBeenSet; }
57 m_maxPercentageOfInputDatasetLabeledHasBeenSet = true;
58 m_maxPercentageOfInputDatasetLabeled = value;
59 }
62 return *this;
63 }
65 private:
66 int m_maxHumanLabeledObjectCount{0};
67
68 int m_maxPercentageOfInputDatasetLabeled{0};
69 bool m_maxHumanLabeledObjectCountHasBeenSet = false;
70 bool m_maxPercentageOfInputDatasetLabeledHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace SageMaker
75} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
LabelingJobStoppingConditions & WithMaxHumanLabeledObjectCount(int value)
AWS_SAGEMAKER_API LabelingJobStoppingConditions()=default
LabelingJobStoppingConditions & WithMaxPercentageOfInputDatasetLabeled(int value)
AWS_SAGEMAKER_API LabelingJobStoppingConditions(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API LabelingJobStoppingConditions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue