/* * 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 lookoutmetrics-2017-07-25.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.LookoutMetrics.Model { /// /// 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. /// public partial class TimeSeries { private List _dimensionList = new List(); private List _metricValueList = new List(); private string _timeSeriesId; /// /// Gets and sets the property DimensionList. /// /// The dimensions of the metric. /// /// [AWSProperty(Required=true)] public List DimensionList { get { return this._dimensionList; } set { this._dimensionList = value; } } // Check to see if DimensionList property is set internal bool IsSetDimensionList() { return this._dimensionList != null && this._dimensionList.Count > 0; } /// /// Gets and sets the property MetricValueList. /// /// The values for the metric. /// /// [AWSProperty(Required=true)] public List MetricValueList { get { return this._metricValueList; } set { this._metricValueList = value; } } // Check to see if MetricValueList property is set internal bool IsSetMetricValueList() { return this._metricValueList != null && this._metricValueList.Count > 0; } /// /// Gets and sets the property TimeSeriesId. /// /// The ID of the metric. /// /// [AWSProperty(Required=true, Max=520)] public string TimeSeriesId { get { return this._timeSeriesId; } set { this._timeSeriesId = value; } } // Check to see if TimeSeriesId property is set internal bool IsSetTimeSeriesId() { return this._timeSeriesId != null; } } }