/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about Performance Insights metrics. Amazon RDS Performance
* Insights enables you to monitor and explore different dimensions of database
* load based on data captured from a running DB instance. DB load is measured as
* average active sessions. Performance Insights provides the data to API consumers
* as a two-dimensional time-series dataset. The time dimension provides DB load
* data for each time point in the queried time range. Each time point decomposes
* overall load in relation to the requested dimensions, measured at that time
* point. Examples include SQL, Wait event, User, and Host. To
* learn more about Performance Insights and Amazon Aurora DB instances, go to the
*
* Amazon Aurora User Guide. To learn more about Performance
* Insights and Amazon RDS DB instances, go to the
* Amazon RDS User Guide.
See Also:
AWS
* API Reference
The name used for a specific Performance Insights metric.
*/ inline const Aws::String& GetMetricDisplayName() const{ return m_metricDisplayName; } /** *The name used for a specific Performance Insights metric.
*/ inline bool MetricDisplayNameHasBeenSet() const { return m_metricDisplayNameHasBeenSet; } /** *The name used for a specific Performance Insights metric.
*/ inline void SetMetricDisplayName(const Aws::String& value) { m_metricDisplayNameHasBeenSet = true; m_metricDisplayName = value; } /** *The name used for a specific Performance Insights metric.
*/ inline void SetMetricDisplayName(Aws::String&& value) { m_metricDisplayNameHasBeenSet = true; m_metricDisplayName = std::move(value); } /** *The name used for a specific Performance Insights metric.
*/ inline void SetMetricDisplayName(const char* value) { m_metricDisplayNameHasBeenSet = true; m_metricDisplayName.assign(value); } /** *The name used for a specific Performance Insights metric.
*/ inline PerformanceInsightsMetricsDetail& WithMetricDisplayName(const Aws::String& value) { SetMetricDisplayName(value); return *this;} /** *The name used for a specific Performance Insights metric.
*/ inline PerformanceInsightsMetricsDetail& WithMetricDisplayName(Aws::String&& value) { SetMetricDisplayName(std::move(value)); return *this;} /** *The name used for a specific Performance Insights metric.
*/ inline PerformanceInsightsMetricsDetail& WithMetricDisplayName(const char* value) { SetMetricDisplayName(value); return *this;} /** *The unit of measure for a metric. For example, a session or a process.
*/ inline const Aws::String& GetUnit() const{ return m_unit; } /** *The unit of measure for a metric. For example, a session or a process.
*/ inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; } /** *The unit of measure for a metric. For example, a session or a process.
*/ inline void SetUnit(const Aws::String& value) { m_unitHasBeenSet = true; m_unit = value; } /** *The unit of measure for a metric. For example, a session or a process.
*/ inline void SetUnit(Aws::String&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); } /** *The unit of measure for a metric. For example, a session or a process.
*/ inline void SetUnit(const char* value) { m_unitHasBeenSet = true; m_unit.assign(value); } /** *The unit of measure for a metric. For example, a session or a process.
*/ inline PerformanceInsightsMetricsDetail& WithUnit(const Aws::String& value) { SetUnit(value); return *this;} /** *The unit of measure for a metric. For example, a session or a process.
*/ inline PerformanceInsightsMetricsDetail& WithUnit(Aws::String&& value) { SetUnit(std::move(value)); return *this;} /** *The unit of measure for a metric. For example, a session or a process.
*/ inline PerformanceInsightsMetricsDetail& WithUnit(const char* value) { SetUnit(value); return *this;} /** *A single query to be processed for the metric. For more information, see
* PerformanceInsightsMetricQuery
*
.
A single query to be processed for the metric. For more information, see
* PerformanceInsightsMetricQuery
*
.
A single query to be processed for the metric. For more information, see
* PerformanceInsightsMetricQuery
*
.
A single query to be processed for the metric. For more information, see
* PerformanceInsightsMetricQuery
*
.
A single query to be processed for the metric. For more information, see
* PerformanceInsightsMetricQuery
*
.
A single query to be processed for the metric. For more information, see
* PerformanceInsightsMetricQuery
*
.
For more information, see PerformanceInsightsReferenceData
*
.
For more information, see PerformanceInsightsReferenceData
*
.
For more information, see PerformanceInsightsReferenceData
*
.
For more information, see PerformanceInsightsReferenceData
*
.
For more information, see PerformanceInsightsReferenceData
*
.
For more information, see PerformanceInsightsReferenceData
*
.
For more information, see PerformanceInsightsReferenceData
*
.
For more information, see PerformanceInsightsReferenceData
*
.
The metric statistics during the anomalous period detected by DevOps * Guru;
*/ inline const Aws::VectorThe metric statistics during the anomalous period detected by DevOps * Guru;
*/ inline bool StatsAtAnomalyHasBeenSet() const { return m_statsAtAnomalyHasBeenSet; } /** *The metric statistics during the anomalous period detected by DevOps * Guru;
*/ inline void SetStatsAtAnomaly(const Aws::VectorThe metric statistics during the anomalous period detected by DevOps * Guru;
*/ inline void SetStatsAtAnomaly(Aws::VectorThe metric statistics during the anomalous period detected by DevOps * Guru;
*/ inline PerformanceInsightsMetricsDetail& WithStatsAtAnomaly(const Aws::VectorThe metric statistics during the anomalous period detected by DevOps * Guru;
*/ inline PerformanceInsightsMetricsDetail& WithStatsAtAnomaly(Aws::VectorThe metric statistics during the anomalous period detected by DevOps * Guru;
*/ inline PerformanceInsightsMetricsDetail& AddStatsAtAnomaly(const PerformanceInsightsStat& value) { m_statsAtAnomalyHasBeenSet = true; m_statsAtAnomaly.push_back(value); return *this; } /** *The metric statistics during the anomalous period detected by DevOps * Guru;
*/ inline PerformanceInsightsMetricsDetail& AddStatsAtAnomaly(PerformanceInsightsStat&& value) { m_statsAtAnomalyHasBeenSet = true; m_statsAtAnomaly.push_back(std::move(value)); return *this; } /** *Typical metric statistics that are not considered anomalous. When DevOps Guru
* analyzes metrics, it compares them to StatsAtBaseline
to help
* determine if they are anomalous.
Typical metric statistics that are not considered anomalous. When DevOps Guru
* analyzes metrics, it compares them to StatsAtBaseline
to help
* determine if they are anomalous.
Typical metric statistics that are not considered anomalous. When DevOps Guru
* analyzes metrics, it compares them to StatsAtBaseline
to help
* determine if they are anomalous.
Typical metric statistics that are not considered anomalous. When DevOps Guru
* analyzes metrics, it compares them to StatsAtBaseline
to help
* determine if they are anomalous.
Typical metric statistics that are not considered anomalous. When DevOps Guru
* analyzes metrics, it compares them to StatsAtBaseline
to help
* determine if they are anomalous.
Typical metric statistics that are not considered anomalous. When DevOps Guru
* analyzes metrics, it compares them to StatsAtBaseline
to help
* determine if they are anomalous.
Typical metric statistics that are not considered anomalous. When DevOps Guru
* analyzes metrics, it compares them to StatsAtBaseline
to help
* determine if they are anomalous.
Typical metric statistics that are not considered anomalous. When DevOps Guru
* analyzes metrics, it compares them to StatsAtBaseline
to help
* determine if they are anomalous.