7#include <aws/sagemaker/SageMaker_EXPORTS.h>
46 inline void SetCompleted(
int value) { m_completedHasBeenSet =
true; m_completed = value; }
57 inline void SetInProgress(
int value) { m_inProgressHasBeenSet =
true; m_inProgress = value; }
69 inline void SetRetryableError(
int value) { m_retryableErrorHasBeenSet =
true; m_retryableError = value; }
80 inline void SetNonRetryableError(
int value) { m_nonRetryableErrorHasBeenSet =
true; m_nonRetryableError = value; }
91 inline void SetStopped(
int value) { m_stoppedHasBeenSet =
true; m_stopped = value; }
97 bool m_completedHasBeenSet =
false;
100 bool m_inProgressHasBeenSet =
false;
102 int m_retryableError;
103 bool m_retryableErrorHasBeenSet =
false;
105 int m_nonRetryableError;
106 bool m_nonRetryableErrorHasBeenSet =
false;
109 bool m_stoppedHasBeenSet =
false;
AWS_SAGEMAKER_API TrainingJobStatusCounters & operator=(Aws::Utils::Json::JsonView jsonValue)
TrainingJobStatusCounters & WithStopped(int value)
TrainingJobStatusCounters & WithCompleted(int value)
AWS_SAGEMAKER_API TrainingJobStatusCounters()
bool NonRetryableErrorHasBeenSet() const
bool RetryableErrorHasBeenSet() const
void SetRetryableError(int value)
bool StoppedHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrainingJobStatusCounters & WithInProgress(int value)
TrainingJobStatusCounters & WithRetryableError(int value)
void SetCompleted(int value)
int GetInProgress() const
int GetRetryableError() const
bool CompletedHasBeenSet() const
AWS_SAGEMAKER_API TrainingJobStatusCounters(Aws::Utils::Json::JsonView jsonValue)
bool InProgressHasBeenSet() const
int GetNonRetryableError() const
TrainingJobStatusCounters & WithNonRetryableError(int value)
void SetStopped(int value)
void SetNonRetryableError(int value)
void SetInProgress(int value)
Aws::Utils::Json::JsonValue JsonValue