AWS SDK for C++  1.9.155
AWS SDK for C++
TrainingJobStatusCounters.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 
43  inline int GetCompleted() const{ return m_completed; }
44 
49  inline bool CompletedHasBeenSet() const { return m_completedHasBeenSet; }
50 
55  inline void SetCompleted(int value) { m_completedHasBeenSet = true; m_completed = value; }
56 
61  inline TrainingJobStatusCounters& WithCompleted(int value) { SetCompleted(value); return *this;}
62 
63 
68  inline int GetInProgress() const{ return m_inProgress; }
69 
74  inline bool InProgressHasBeenSet() const { return m_inProgressHasBeenSet; }
75 
80  inline void SetInProgress(int value) { m_inProgressHasBeenSet = true; m_inProgress = value; }
81 
86  inline TrainingJobStatusCounters& WithInProgress(int value) { SetInProgress(value); return *this;}
87 
88 
94  inline int GetRetryableError() const{ return m_retryableError; }
95 
101  inline bool RetryableErrorHasBeenSet() const { return m_retryableErrorHasBeenSet; }
102 
108  inline void SetRetryableError(int value) { m_retryableErrorHasBeenSet = true; m_retryableError = value; }
109 
115  inline TrainingJobStatusCounters& WithRetryableError(int value) { SetRetryableError(value); return *this;}
116 
117 
122  inline int GetNonRetryableError() const{ return m_nonRetryableError; }
123 
128  inline bool NonRetryableErrorHasBeenSet() const { return m_nonRetryableErrorHasBeenSet; }
129 
134  inline void SetNonRetryableError(int value) { m_nonRetryableErrorHasBeenSet = true; m_nonRetryableError = value; }
135 
140  inline TrainingJobStatusCounters& WithNonRetryableError(int value) { SetNonRetryableError(value); return *this;}
141 
142 
147  inline int GetStopped() const{ return m_stopped; }
148 
153  inline bool StoppedHasBeenSet() const { return m_stoppedHasBeenSet; }
154 
159  inline void SetStopped(int value) { m_stoppedHasBeenSet = true; m_stopped = value; }
160 
165  inline TrainingJobStatusCounters& WithStopped(int value) { SetStopped(value); return *this;}
166 
167  private:
168 
169  int m_completed;
170  bool m_completedHasBeenSet;
171 
172  int m_inProgress;
173  bool m_inProgressHasBeenSet;
174 
175  int m_retryableError;
176  bool m_retryableErrorHasBeenSet;
177 
178  int m_nonRetryableError;
179  bool m_nonRetryableErrorHasBeenSet;
180 
181  int m_stopped;
182  bool m_stoppedHasBeenSet;
183  };
184 
185 } // namespace Model
186 } // namespace SageMaker
187 } // namespace Aws
Aws::SageMaker::Model::TrainingJobStatusCounters::WithInProgress
TrainingJobStatusCounters & WithInProgress(int value)
Definition: TrainingJobStatusCounters.h:86
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TrainingJobStatusCounters::WithCompleted
TrainingJobStatusCounters & WithCompleted(int value)
Definition: TrainingJobStatusCounters.h:61
Aws::SageMaker::Model::TrainingJobStatusCounters::SetRetryableError
void SetRetryableError(int value)
Definition: TrainingJobStatusCounters.h:108
Aws::SageMaker::Model::TrainingJobStatusCounters::SetCompleted
void SetCompleted(int value)
Definition: TrainingJobStatusCounters.h:55
Aws::SageMaker::Model::TrainingJobStatusCounters::InProgressHasBeenSet
bool InProgressHasBeenSet() const
Definition: TrainingJobStatusCounters.h:74
Aws::SageMaker::Model::TrainingJobStatusCounters::SetInProgress
void SetInProgress(int value)
Definition: TrainingJobStatusCounters.h:80
Aws::SageMaker::Model::TrainingJobStatusCounters
Definition: TrainingJobStatusCounters.h:31
Aws::SageMaker::Model::TrainingJobStatusCounters::SetStopped
void SetStopped(int value)
Definition: TrainingJobStatusCounters.h:159
Aws::SageMaker::Model::TrainingJobStatusCounters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::TrainingJobStatusCounters::TrainingJobStatusCounters
TrainingJobStatusCounters(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrainingJobStatusCounters::GetNonRetryableError
int GetNonRetryableError() const
Definition: TrainingJobStatusCounters.h:122
Aws::SageMaker::Model::TrainingJobStatusCounters::GetCompleted
int GetCompleted() const
Definition: TrainingJobStatusCounters.h:43
Aws::SageMaker::Model::TrainingJobStatusCounters::RetryableErrorHasBeenSet
bool RetryableErrorHasBeenSet() const
Definition: TrainingJobStatusCounters.h:101
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::TrainingJobStatusCounters::GetStopped
int GetStopped() const
Definition: TrainingJobStatusCounters.h:147
Aws::SageMaker::Model::TrainingJobStatusCounters::operator=
TrainingJobStatusCounters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::TrainingJobStatusCounters::GetInProgress
int GetInProgress() const
Definition: TrainingJobStatusCounters.h:68
Aws::SageMaker::Model::TrainingJobStatusCounters::CompletedHasBeenSet
bool CompletedHasBeenSet() const
Definition: TrainingJobStatusCounters.h:49
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::TrainingJobStatusCounters::SetNonRetryableError
void SetNonRetryableError(int value)
Definition: TrainingJobStatusCounters.h:134
Aws::SageMaker::Model::TrainingJobStatusCounters::NonRetryableErrorHasBeenSet
bool NonRetryableErrorHasBeenSet() const
Definition: TrainingJobStatusCounters.h:128
Aws::SageMaker::Model::TrainingJobStatusCounters::WithRetryableError
TrainingJobStatusCounters & WithRetryableError(int value)
Definition: TrainingJobStatusCounters.h:115
Aws::SageMaker::Model::TrainingJobStatusCounters::WithNonRetryableError
TrainingJobStatusCounters & WithNonRetryableError(int value)
Definition: TrainingJobStatusCounters.h:140
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::TrainingJobStatusCounters::TrainingJobStatusCounters
TrainingJobStatusCounters()
Aws::SageMaker::Model::TrainingJobStatusCounters::WithStopped
TrainingJobStatusCounters & WithStopped(int value)
Definition: TrainingJobStatusCounters.h:165
Aws::SageMaker::Model::TrainingJobStatusCounters::StoppedHasBeenSet
bool StoppedHasBeenSet() const
Definition: TrainingJobStatusCounters.h:153
Aws::SageMaker::Model::TrainingJobStatusCounters::GetRetryableError
int GetRetryableError() const
Definition: TrainingJobStatusCounters.h:94