/* * 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 { /// /// A pair that contains metric values at the respective timestamp. /// public partial class TimestampMetricValuePair { private double? _metricValue; private DateTime? _timestamp; /// /// Gets and sets the property MetricValue. /// /// Value of the anomalous metric data point at respective Timestamp. /// /// public double MetricValue { get { return this._metricValue.GetValueOrDefault(); } set { this._metricValue = value; } } // Check to see if MetricValue property is set internal bool IsSetMetricValue() { return this._metricValue.HasValue; } /// /// Gets and sets the property Timestamp. /// /// A Timestamp that specifies the time the event occurred. /// /// public DateTime Timestamp { get { return this._timestamp.GetValueOrDefault(); } set { this._timestamp = value; } } // Check to see if Timestamp property is set internal bool IsSetTimestamp() { return this._timestamp.HasValue; } } }