/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An error that occured when putting the metric data.See Also:
* AWS
* API Reference
The error code of an error that occured when attempting to put metrics.
* METRIC_LIMIT_EXCEEDED
: The maximum amount of metrics
* per resource is exceeded.
INTERNAL_ERROR
: An
* internal error occured.
VALIDATION_ERROR
: The
* metric data failed validation.
CONFLICT_ERROR
:
* Multiple requests attempted to modify the same data simultaneously.
The error code of an error that occured when attempting to put metrics.
* METRIC_LIMIT_EXCEEDED
: The maximum amount of metrics
* per resource is exceeded.
INTERNAL_ERROR
: An
* internal error occured.
VALIDATION_ERROR
: The
* metric data failed validation.
CONFLICT_ERROR
:
* Multiple requests attempted to modify the same data simultaneously.
The error code of an error that occured when attempting to put metrics.
* METRIC_LIMIT_EXCEEDED
: The maximum amount of metrics
* per resource is exceeded.
INTERNAL_ERROR
: An
* internal error occured.
VALIDATION_ERROR
: The
* metric data failed validation.
CONFLICT_ERROR
:
* Multiple requests attempted to modify the same data simultaneously.
The error code of an error that occured when attempting to put metrics.
* METRIC_LIMIT_EXCEEDED
: The maximum amount of metrics
* per resource is exceeded.
INTERNAL_ERROR
: An
* internal error occured.
VALIDATION_ERROR
: The
* metric data failed validation.
CONFLICT_ERROR
:
* Multiple requests attempted to modify the same data simultaneously.
The error code of an error that occured when attempting to put metrics.
* METRIC_LIMIT_EXCEEDED
: The maximum amount of metrics
* per resource is exceeded.
INTERNAL_ERROR
: An
* internal error occured.
VALIDATION_ERROR
: The
* metric data failed validation.
CONFLICT_ERROR
:
* Multiple requests attempted to modify the same data simultaneously.
The error code of an error that occured when attempting to put metrics.
* METRIC_LIMIT_EXCEEDED
: The maximum amount of metrics
* per resource is exceeded.
INTERNAL_ERROR
: An
* internal error occured.
VALIDATION_ERROR
: The
* metric data failed validation.
CONFLICT_ERROR
:
* Multiple requests attempted to modify the same data simultaneously.
An index that corresponds to the metric in the request.
*/ inline int GetMetricIndex() const{ return m_metricIndex; } /** *An index that corresponds to the metric in the request.
*/ inline bool MetricIndexHasBeenSet() const { return m_metricIndexHasBeenSet; } /** *An index that corresponds to the metric in the request.
*/ inline void SetMetricIndex(int value) { m_metricIndexHasBeenSet = true; m_metricIndex = value; } /** *An index that corresponds to the metric in the request.
*/ inline BatchPutMetricsError& WithMetricIndex(int value) { SetMetricIndex(value); return *this;} private: PutMetricsErrorCode m_code; bool m_codeHasBeenSet = false; int m_metricIndex; bool m_metricIndexHasBeenSet = false; }; } // namespace Model } // namespace SageMakerMetrics } // namespace Aws