/* * 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 { /// /// This is the response object from the DescribeMetricSet operation. /// public partial class DescribeMetricSetResponse : AmazonWebServiceResponse { private string _anomalyDetectorArn; private DateTime? _creationTime; private List _dimensionFilterList = new List(); private List _dimensionList = new List(); private DateTime? _lastModificationTime; private List _metricList = new List(); private string _metricSetArn; private string _metricSetDescription; private Frequency _metricSetFrequency; private string _metricSetName; private MetricSource _metricSource; private int? _offset; private TimestampColumn _timestampColumn; private string _timezone; /// /// Gets and sets the property AnomalyDetectorArn. /// /// The ARN of the detector that contains the dataset. /// /// [AWSProperty(Max=256)] public string AnomalyDetectorArn { get { return this._anomalyDetectorArn; } set { this._anomalyDetectorArn = value; } } // Check to see if AnomalyDetectorArn property is set internal bool IsSetAnomalyDetectorArn() { return this._anomalyDetectorArn != null; } /// /// Gets and sets the property CreationTime. /// /// The time at which the dataset was created. /// /// public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// /// Gets and sets the property DimensionFilterList. /// /// The dimensions and their values that were used to filter the dataset. /// /// public List DimensionFilterList { get { return this._dimensionFilterList; } set { this._dimensionFilterList = value; } } // Check to see if DimensionFilterList property is set internal bool IsSetDimensionFilterList() { return this._dimensionFilterList != null && this._dimensionFilterList.Count > 0; } /// /// Gets and sets the property DimensionList. /// /// A list of the dimensions chosen for analysis. /// /// [AWSProperty(Min=1)] 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 LastModificationTime. /// /// The time at which the dataset was last modified. /// /// public DateTime LastModificationTime { get { return this._lastModificationTime.GetValueOrDefault(); } set { this._lastModificationTime = value; } } // Check to see if LastModificationTime property is set internal bool IsSetLastModificationTime() { return this._lastModificationTime.HasValue; } /// /// Gets and sets the property MetricList. /// /// A list of the metrics defined by the dataset. /// /// [AWSProperty(Min=1)] public List MetricList { get { return this._metricList; } set { this._metricList = value; } } // Check to see if MetricList property is set internal bool IsSetMetricList() { return this._metricList != null && this._metricList.Count > 0; } /// /// Gets and sets the property MetricSetArn. /// /// The ARN of the dataset. /// /// [AWSProperty(Max=256)] public string MetricSetArn { get { return this._metricSetArn; } set { this._metricSetArn = value; } } // Check to see if MetricSetArn property is set internal bool IsSetMetricSetArn() { return this._metricSetArn != null; } /// /// Gets and sets the property MetricSetDescription. /// /// The dataset's description. /// /// [AWSProperty(Min=1, Max=256)] public string MetricSetDescription { get { return this._metricSetDescription; } set { this._metricSetDescription = value; } } // Check to see if MetricSetDescription property is set internal bool IsSetMetricSetDescription() { return this._metricSetDescription != null; } /// /// Gets and sets the property MetricSetFrequency. /// /// The interval at which the data will be analyzed for anomalies. /// /// public Frequency MetricSetFrequency { get { return this._metricSetFrequency; } set { this._metricSetFrequency = value; } } // Check to see if MetricSetFrequency property is set internal bool IsSetMetricSetFrequency() { return this._metricSetFrequency != null; } /// /// Gets and sets the property MetricSetName. /// /// The name of the dataset. /// /// [AWSProperty(Min=1, Max=63)] public string MetricSetName { get { return this._metricSetName; } set { this._metricSetName = value; } } // Check to see if MetricSetName property is set internal bool IsSetMetricSetName() { return this._metricSetName != null; } /// /// Gets and sets the property MetricSource. /// /// Contains information about the dataset's source data. /// /// public MetricSource MetricSource { get { return this._metricSource; } set { this._metricSource = value; } } // Check to see if MetricSource property is set internal bool IsSetMetricSource() { return this._metricSource != null; } /// /// Gets and sets the property Offset. /// /// After an interval ends, the amount of seconds that the detector waits before importing /// data. Offset is only supported for S3, Redshift, Athena and datasources. /// /// [AWSProperty(Min=0, Max=432000)] public int Offset { get { return this._offset.GetValueOrDefault(); } set { this._offset = value; } } // Check to see if Offset property is set internal bool IsSetOffset() { return this._offset.HasValue; } /// /// Gets and sets the property TimestampColumn. /// /// Contains information about the column used for tracking time in your source data. /// /// public TimestampColumn TimestampColumn { get { return this._timestampColumn; } set { this._timestampColumn = value; } } // Check to see if TimestampColumn property is set internal bool IsSetTimestampColumn() { return this._timestampColumn != null; } /// /// Gets and sets the property Timezone. /// /// The time zone in which the dataset's data was recorded. /// /// [AWSProperty(Max=60)] public string Timezone { get { return this._timezone; } set { this._timezone = value; } } // Check to see if Timezone property is set internal bool IsSetTimezone() { return this._timezone != null; } } }