7#include <aws/sagemaker-metrics/SageMakerMetrics_EXPORTS.h>
8#include <aws/sagemaker-metrics/model/PutMetricsErrorCode.h>
21namespace SageMakerMetrics
65 inline void SetMetricIndex(
int value) { m_metricIndexHasBeenSet =
true; m_metricIndex = value; }
71 bool m_codeHasBeenSet =
false;
74 bool m_metricIndexHasBeenSet =
false;
BatchPutMetricsError & WithCode(const PutMetricsErrorCode &value)
AWS_SAGEMAKERMETRICS_API BatchPutMetricsError()
AWS_SAGEMAKERMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
int GetMetricIndex() const
void SetMetricIndex(int value)
BatchPutMetricsError & WithMetricIndex(int value)
void SetCode(const PutMetricsErrorCode &value)
void SetCode(PutMetricsErrorCode &&value)
bool MetricIndexHasBeenSet() const
AWS_SAGEMAKERMETRICS_API BatchPutMetricsError(Aws::Utils::Json::JsonView jsonValue)
bool CodeHasBeenSet() const
AWS_SAGEMAKERMETRICS_API BatchPutMetricsError & operator=(Aws::Utils::Json::JsonView jsonValue)
const PutMetricsErrorCode & GetCode() const
BatchPutMetricsError & WithCode(PutMetricsErrorCode &&value)
Aws::Utils::Json::JsonValue JsonValue