AWS SDK for C++  1.9.160
AWS SDK for C++
LabelCounters.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace SageMaker
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
42  inline int GetTotalLabeled() const{ return m_totalLabeled; }
43 
47  inline bool TotalLabeledHasBeenSet() const { return m_totalLabeledHasBeenSet; }
48 
52  inline void SetTotalLabeled(int value) { m_totalLabeledHasBeenSet = true; m_totalLabeled = value; }
53 
57  inline LabelCounters& WithTotalLabeled(int value) { SetTotalLabeled(value); return *this;}
58 
59 
63  inline int GetHumanLabeled() const{ return m_humanLabeled; }
64 
68  inline bool HumanLabeledHasBeenSet() const { return m_humanLabeledHasBeenSet; }
69 
73  inline void SetHumanLabeled(int value) { m_humanLabeledHasBeenSet = true; m_humanLabeled = value; }
74 
78  inline LabelCounters& WithHumanLabeled(int value) { SetHumanLabeled(value); return *this;}
79 
80 
84  inline int GetMachineLabeled() const{ return m_machineLabeled; }
85 
89  inline bool MachineLabeledHasBeenSet() const { return m_machineLabeledHasBeenSet; }
90 
94  inline void SetMachineLabeled(int value) { m_machineLabeledHasBeenSet = true; m_machineLabeled = value; }
95 
99  inline LabelCounters& WithMachineLabeled(int value) { SetMachineLabeled(value); return *this;}
100 
101 
105  inline int GetFailedNonRetryableError() const{ return m_failedNonRetryableError; }
106 
110  inline bool FailedNonRetryableErrorHasBeenSet() const { return m_failedNonRetryableErrorHasBeenSet; }
111 
115  inline void SetFailedNonRetryableError(int value) { m_failedNonRetryableErrorHasBeenSet = true; m_failedNonRetryableError = value; }
116 
120  inline LabelCounters& WithFailedNonRetryableError(int value) { SetFailedNonRetryableError(value); return *this;}
121 
122 
126  inline int GetUnlabeled() const{ return m_unlabeled; }
127 
131  inline bool UnlabeledHasBeenSet() const { return m_unlabeledHasBeenSet; }
132 
136  inline void SetUnlabeled(int value) { m_unlabeledHasBeenSet = true; m_unlabeled = value; }
137 
141  inline LabelCounters& WithUnlabeled(int value) { SetUnlabeled(value); return *this;}
142 
143  private:
144 
145  int m_totalLabeled;
146  bool m_totalLabeledHasBeenSet;
147 
148  int m_humanLabeled;
149  bool m_humanLabeledHasBeenSet;
150 
151  int m_machineLabeled;
152  bool m_machineLabeledHasBeenSet;
153 
154  int m_failedNonRetryableError;
155  bool m_failedNonRetryableErrorHasBeenSet;
156 
157  int m_unlabeled;
158  bool m_unlabeledHasBeenSet;
159  };
160 
161 } // namespace Model
162 } // namespace SageMaker
163 } // namespace Aws
Aws::SageMaker::Model::LabelCounters::WithFailedNonRetryableError
LabelCounters & WithFailedNonRetryableError(int value)
Definition: LabelCounters.h:120
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::LabelCounters::WithHumanLabeled
LabelCounters & WithHumanLabeled(int value)
Definition: LabelCounters.h:78
Aws::SageMaker::Model::LabelCounters::FailedNonRetryableErrorHasBeenSet
bool FailedNonRetryableErrorHasBeenSet() const
Definition: LabelCounters.h:110
Aws::SageMaker::Model::LabelCounters::LabelCounters
LabelCounters(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::LabelCounters
Definition: LabelCounters.h:31
Aws::SageMaker::Model::LabelCounters::WithUnlabeled
LabelCounters & WithUnlabeled(int value)
Definition: LabelCounters.h:141
Aws::SageMaker::Model::LabelCounters::GetHumanLabeled
int GetHumanLabeled() const
Definition: LabelCounters.h:63
Aws::SageMaker::Model::LabelCounters::GetMachineLabeled
int GetMachineLabeled() const
Definition: LabelCounters.h:84
Aws::SageMaker::Model::LabelCounters::GetUnlabeled
int GetUnlabeled() const
Definition: LabelCounters.h:126
Aws::SageMaker::Model::LabelCounters::SetTotalLabeled
void SetTotalLabeled(int value)
Definition: LabelCounters.h:52
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::LabelCounters::SetHumanLabeled
void SetHumanLabeled(int value)
Definition: LabelCounters.h:73
Aws::SageMaker::Model::LabelCounters::TotalLabeledHasBeenSet
bool TotalLabeledHasBeenSet() const
Definition: LabelCounters.h:47
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::LabelCounters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::LabelCounters::WithTotalLabeled
LabelCounters & WithTotalLabeled(int value)
Definition: LabelCounters.h:57
Aws::SageMaker::Model::LabelCounters::SetFailedNonRetryableError
void SetFailedNonRetryableError(int value)
Definition: LabelCounters.h:115
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::LabelCounters::SetMachineLabeled
void SetMachineLabeled(int value)
Definition: LabelCounters.h:94
Aws::SageMaker::Model::LabelCounters::UnlabeledHasBeenSet
bool UnlabeledHasBeenSet() const
Definition: LabelCounters.h:131
Aws::SageMaker::Model::LabelCounters::GetTotalLabeled
int GetTotalLabeled() const
Definition: LabelCounters.h:42
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::LabelCounters::SetUnlabeled
void SetUnlabeled(int value)
Definition: LabelCounters.h:136
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::LabelCounters::HumanLabeledHasBeenSet
bool HumanLabeledHasBeenSet() const
Definition: LabelCounters.h:68
Aws::SageMaker::Model::LabelCounters::MachineLabeledHasBeenSet
bool MachineLabeledHasBeenSet() const
Definition: LabelCounters.h:89
Aws::SageMaker::Model::LabelCounters::GetFailedNonRetryableError
int GetFailedNonRetryableError() const
Definition: LabelCounters.h:105
Aws::SageMaker::Model::LabelCounters::LabelCounters
LabelCounters()
Aws::SageMaker::Model::LabelCounters::operator=
LabelCounters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::LabelCounters::WithMachineLabeled
LabelCounters & WithMachineLabeled(int value)
Definition: LabelCounters.h:99