/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a metric. A metric is an aggregation of the values of a measure
* for a dimension value, such as availability in the us-east-1
* Region.See Also:
AWS
* API Reference
The ID of the metric.
*/ inline const Aws::String& GetTimeSeriesId() const{ return m_timeSeriesId; } /** *The ID of the metric.
*/ inline bool TimeSeriesIdHasBeenSet() const { return m_timeSeriesIdHasBeenSet; } /** *The ID of the metric.
*/ inline void SetTimeSeriesId(const Aws::String& value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId = value; } /** *The ID of the metric.
*/ inline void SetTimeSeriesId(Aws::String&& value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId = std::move(value); } /** *The ID of the metric.
*/ inline void SetTimeSeriesId(const char* value) { m_timeSeriesIdHasBeenSet = true; m_timeSeriesId.assign(value); } /** *The ID of the metric.
*/ inline TimeSeries& WithTimeSeriesId(const Aws::String& value) { SetTimeSeriesId(value); return *this;} /** *The ID of the metric.
*/ inline TimeSeries& WithTimeSeriesId(Aws::String&& value) { SetTimeSeriesId(std::move(value)); return *this;} /** *The ID of the metric.
*/ inline TimeSeries& WithTimeSeriesId(const char* value) { SetTimeSeriesId(value); return *this;} /** *The dimensions of the metric.
*/ inline const Aws::VectorThe dimensions of the metric.
*/ inline bool DimensionListHasBeenSet() const { return m_dimensionListHasBeenSet; } /** *The dimensions of the metric.
*/ inline void SetDimensionList(const Aws::VectorThe dimensions of the metric.
*/ inline void SetDimensionList(Aws::VectorThe dimensions of the metric.
*/ inline TimeSeries& WithDimensionList(const Aws::VectorThe dimensions of the metric.
*/ inline TimeSeries& WithDimensionList(Aws::VectorThe dimensions of the metric.
*/ inline TimeSeries& AddDimensionList(const DimensionNameValue& value) { m_dimensionListHasBeenSet = true; m_dimensionList.push_back(value); return *this; } /** *The dimensions of the metric.
*/ inline TimeSeries& AddDimensionList(DimensionNameValue&& value) { m_dimensionListHasBeenSet = true; m_dimensionList.push_back(std::move(value)); return *this; } /** *The values for the metric.
*/ inline const Aws::VectorThe values for the metric.
*/ inline bool MetricValueListHasBeenSet() const { return m_metricValueListHasBeenSet; } /** *The values for the metric.
*/ inline void SetMetricValueList(const Aws::VectorThe values for the metric.
*/ inline void SetMetricValueList(Aws::VectorThe values for the metric.
*/ inline TimeSeries& WithMetricValueList(const Aws::VectorThe values for the metric.
*/ inline TimeSeries& WithMetricValueList(Aws::VectorThe values for the metric.
*/ inline TimeSeries& AddMetricValueList(double value) { m_metricValueListHasBeenSet = true; m_metricValueList.push_back(value); return *this; } private: Aws::String m_timeSeriesId; bool m_timeSeriesIdHasBeenSet = false; Aws::Vector