/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Internal only. Collects Apache Airflow metrics. To learn more about
* the metrics published to Amazon CloudWatch, see Amazon
* MWAA performance metrics in Amazon CloudWatch.See Also:
AWS
* API Reference
Internal only. The dimensions associated with the metric.
*/ inline const Aws::VectorInternal only. The dimensions associated with the metric.
*/ inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; } /** *Internal only. The dimensions associated with the metric.
*/ inline void SetDimensions(const Aws::VectorInternal only. The dimensions associated with the metric.
*/ inline void SetDimensions(Aws::VectorInternal only. The dimensions associated with the metric.
*/ inline MetricDatum& WithDimensions(const Aws::VectorInternal only. The dimensions associated with the metric.
*/ inline MetricDatum& WithDimensions(Aws::VectorInternal only. The dimensions associated with the metric.
*/ inline MetricDatum& AddDimensions(const Dimension& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; } /** *Internal only. The dimensions associated with the metric.
*/ inline MetricDatum& AddDimensions(Dimension&& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(std::move(value)); return *this; } /** *Internal only. The name of the metric.
*/ inline const Aws::String& GetMetricName() const{ return m_metricName; } /** *Internal only. The name of the metric.
*/ inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; } /** *Internal only. The name of the metric.
*/ inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; } /** *Internal only. The name of the metric.
*/ inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); } /** *Internal only. The name of the metric.
*/ inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); } /** *Internal only. The name of the metric.
*/ inline MetricDatum& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;} /** *Internal only. The name of the metric.
*/ inline MetricDatum& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;} /** *Internal only. The name of the metric.
*/ inline MetricDatum& WithMetricName(const char* value) { SetMetricName(value); return *this;} /** *Internal only. The statistical values for the metric.
*/ inline const StatisticSet& GetStatisticValues() const{ return m_statisticValues; } /** *Internal only. The statistical values for the metric.
*/ inline bool StatisticValuesHasBeenSet() const { return m_statisticValuesHasBeenSet; } /** *Internal only. The statistical values for the metric.
*/ inline void SetStatisticValues(const StatisticSet& value) { m_statisticValuesHasBeenSet = true; m_statisticValues = value; } /** *Internal only. The statistical values for the metric.
*/ inline void SetStatisticValues(StatisticSet&& value) { m_statisticValuesHasBeenSet = true; m_statisticValues = std::move(value); } /** *Internal only. The statistical values for the metric.
*/ inline MetricDatum& WithStatisticValues(const StatisticSet& value) { SetStatisticValues(value); return *this;} /** *Internal only. The statistical values for the metric.
*/ inline MetricDatum& WithStatisticValues(StatisticSet&& value) { SetStatisticValues(std::move(value)); return *this;} /** *Internal only. The time the metric data was received.
*/ inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; } /** *Internal only. The time the metric data was received.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *Internal only. The time the metric data was received.
*/ inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *Internal only. The time the metric data was received.
*/ inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); } /** *Internal only. The time the metric data was received.
*/ inline MetricDatum& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;} /** *Internal only. The time the metric data was received.
*/ inline MetricDatum& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;} /** *Internal only. The unit used to store the metric.
*/ inline const Unit& GetUnit() const{ return m_unit; } /** *Internal only. The unit used to store the metric.
*/ inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; } /** *Internal only. The unit used to store the metric.
*/ inline void SetUnit(const Unit& value) { m_unitHasBeenSet = true; m_unit = value; } /** *Internal only. The unit used to store the metric.
*/ inline void SetUnit(Unit&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); } /** *Internal only. The unit used to store the metric.
*/ inline MetricDatum& WithUnit(const Unit& value) { SetUnit(value); return *this;} /** *Internal only. The unit used to store the metric.
*/ inline MetricDatum& WithUnit(Unit&& value) { SetUnit(std::move(value)); return *this;} /** *Internal only. The value for the metric.
*/ inline double GetValue() const{ return m_value; } /** *Internal only. The value for the metric.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *Internal only. The value for the metric.
*/ inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } /** *Internal only. The value for the metric.
*/ inline MetricDatum& WithValue(double value) { SetValue(value); return *this;} private: Aws::Vector