AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LabelCounters.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SAGEMAKER_API LabelCounters();
34 AWS_SAGEMAKER_API LabelCounters(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SAGEMAKER_API LabelCounters& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetTotalLabeled() const{ return m_totalLabeled; }
44 inline bool TotalLabeledHasBeenSet() const { return m_totalLabeledHasBeenSet; }
45 inline void SetTotalLabeled(int value) { m_totalLabeledHasBeenSet = true; m_totalLabeled = value; }
46 inline LabelCounters& WithTotalLabeled(int value) { SetTotalLabeled(value); return *this;}
48
50
53 inline int GetHumanLabeled() const{ return m_humanLabeled; }
54 inline bool HumanLabeledHasBeenSet() const { return m_humanLabeledHasBeenSet; }
55 inline void SetHumanLabeled(int value) { m_humanLabeledHasBeenSet = true; m_humanLabeled = value; }
56 inline LabelCounters& WithHumanLabeled(int value) { SetHumanLabeled(value); return *this;}
58
60
63 inline int GetMachineLabeled() const{ return m_machineLabeled; }
64 inline bool MachineLabeledHasBeenSet() const { return m_machineLabeledHasBeenSet; }
65 inline void SetMachineLabeled(int value) { m_machineLabeledHasBeenSet = true; m_machineLabeled = value; }
66 inline LabelCounters& WithMachineLabeled(int value) { SetMachineLabeled(value); return *this;}
68
70
73 inline int GetFailedNonRetryableError() const{ return m_failedNonRetryableError; }
74 inline bool FailedNonRetryableErrorHasBeenSet() const { return m_failedNonRetryableErrorHasBeenSet; }
75 inline void SetFailedNonRetryableError(int value) { m_failedNonRetryableErrorHasBeenSet = true; m_failedNonRetryableError = value; }
76 inline LabelCounters& WithFailedNonRetryableError(int value) { SetFailedNonRetryableError(value); return *this;}
78
80
83 inline int GetUnlabeled() const{ return m_unlabeled; }
84 inline bool UnlabeledHasBeenSet() const { return m_unlabeledHasBeenSet; }
85 inline void SetUnlabeled(int value) { m_unlabeledHasBeenSet = true; m_unlabeled = value; }
86 inline LabelCounters& WithUnlabeled(int value) { SetUnlabeled(value); return *this;}
88 private:
89
90 int m_totalLabeled;
91 bool m_totalLabeledHasBeenSet = false;
92
93 int m_humanLabeled;
94 bool m_humanLabeledHasBeenSet = false;
95
96 int m_machineLabeled;
97 bool m_machineLabeledHasBeenSet = false;
98
99 int m_failedNonRetryableError;
100 bool m_failedNonRetryableErrorHasBeenSet = false;
101
102 int m_unlabeled;
103 bool m_unlabeledHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SageMaker
108} // namespace Aws
LabelCounters & WithFailedNonRetryableError(int value)
LabelCounters & WithUnlabeled(int value)
LabelCounters & WithHumanLabeled(int value)
LabelCounters & WithTotalLabeled(int value)
AWS_SAGEMAKER_API LabelCounters(Aws::Utils::Json::JsonView jsonValue)
LabelCounters & WithMachineLabeled(int value)
AWS_SAGEMAKER_API LabelCounters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue