/* * 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 { /// /// An array that describes a data quality metric. Each DataQualityMetric /// object contains the data quality metric name, its value, a description of the metric, /// and the affected column. /// public partial class DataQualityMetric { private string _metricDescription; private DataQualityMetricType _metricType; private double? _metricValue; private string _relatedColumnName; /// /// Gets and sets the property MetricDescription. /// /// A description of the data quality metric. /// /// [AWSProperty(Min=1, Max=256)] public string MetricDescription { get { return this._metricDescription; } set { this._metricDescription = value; } } // Check to see if MetricDescription property is set internal bool IsSetMetricDescription() { return this._metricDescription != null; } /// /// Gets and sets the property MetricType. /// /// The name of the data quality metric. /// /// public DataQualityMetricType MetricType { get { return this._metricType; } set { this._metricType = value; } } // Check to see if MetricType property is set internal bool IsSetMetricType() { return this._metricType != null; } /// /// Gets and sets the property MetricValue. /// /// The value of the data quality metric. /// /// 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 RelatedColumnName. /// /// The column that is being monitored. /// /// [AWSProperty(Min=1, Max=256)] public string RelatedColumnName { get { return this._relatedColumnName; } set { this._relatedColumnName = value; } } // Check to see if RelatedColumnName property is set internal bool IsSetRelatedColumnName() { return this._relatedColumnName != null; } } }