/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the devops-guru-2020-12-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.DevOpsGuru.Model { /// /// 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. /// /// /// public partial class PerformanceInsightsMetricsDetail { private string _metricDisplayName; private PerformanceInsightsMetricQuery _metricQuery; private List _referenceData = new List(); private List _statsAtAnomaly = new List(); private List _statsAtBaseline = new List(); private string _unit; /// /// Gets and sets the property MetricDisplayName. /// /// The name used for a specific Performance Insights metric. /// /// public string MetricDisplayName { get { return this._metricDisplayName; } set { this._metricDisplayName = value; } } // Check to see if MetricDisplayName property is set internal bool IsSetMetricDisplayName() { return this._metricDisplayName != null; } /// /// Gets and sets the property MetricQuery. /// /// A single query to be processed for the metric. For more information, see PerformanceInsightsMetricQuery /// . /// /// public PerformanceInsightsMetricQuery MetricQuery { get { return this._metricQuery; } set { this._metricQuery = value; } } // Check to see if MetricQuery property is set internal bool IsSetMetricQuery() { return this._metricQuery != null; } /// /// Gets and sets the property ReferenceData. /// /// For more information, see PerformanceInsightsReferenceData /// . /// /// public List ReferenceData { get { return this._referenceData; } set { this._referenceData = value; } } // Check to see if ReferenceData property is set internal bool IsSetReferenceData() { return this._referenceData != null && this._referenceData.Count > 0; } /// /// Gets and sets the property StatsAtAnomaly. /// /// The metric statistics during the anomalous period detected by DevOps Guru; /// /// public List StatsAtAnomaly { get { return this._statsAtAnomaly; } set { this._statsAtAnomaly = value; } } // Check to see if StatsAtAnomaly property is set internal bool IsSetStatsAtAnomaly() { return this._statsAtAnomaly != null && this._statsAtAnomaly.Count > 0; } /// /// Gets and sets the property StatsAtBaseline. /// /// 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. /// /// public List StatsAtBaseline { get { return this._statsAtBaseline; } set { this._statsAtBaseline = value; } } // Check to see if StatsAtBaseline property is set internal bool IsSetStatsAtBaseline() { return this._statsAtBaseline != null && this._statsAtBaseline.Count > 0; } /// /// Gets and sets the property Unit. /// /// The unit of measure for a metric. For example, a session or a process. /// /// public string Unit { get { return this._unit; } set { this._unit = value; } } // Check to see if Unit property is set internal bool IsSetUnit() { return this._unit != null; } } }