7#include <aws/sagemaker/SageMaker_EXPORTS.h>
40 m_completedHasBeenSet =
true;
57 m_inProgressHasBeenSet =
true;
75 m_retryableErrorHasBeenSet =
true;
76 m_retryableError = value;
92 m_nonRetryableErrorHasBeenSet =
true;
93 m_nonRetryableError = value;
109 m_stoppedHasBeenSet =
true;
122 int m_retryableError{0};
124 int m_nonRetryableError{0};
127 bool m_completedHasBeenSet =
false;
128 bool m_inProgressHasBeenSet =
false;
129 bool m_retryableErrorHasBeenSet =
false;
130 bool m_nonRetryableErrorHasBeenSet =
false;
131 bool m_stoppedHasBeenSet =
false;
AWS_SAGEMAKER_API TrainingJobStatusCounters()=default
AWS_SAGEMAKER_API TrainingJobStatusCounters & operator=(Aws::Utils::Json::JsonView jsonValue)
TrainingJobStatusCounters & WithStopped(int value)
TrainingJobStatusCounters & WithCompleted(int value)
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