/* * 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 connect-2017-08-08.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.Connect.Model { /// /// Contains information about a historical metric. For a description of each metric, /// see Historical /// Metrics Definitions in the Amazon Connect Administrator Guide. /// public partial class HistoricalMetric { private HistoricalMetricName _name; private Statistic _statistic; private Threshold _threshold; private Unit _unit; /// /// Gets and sets the property Name. /// /// The name of the metric. /// /// public HistoricalMetricName Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property Statistic. /// /// The statistic for the metric. /// /// public Statistic Statistic { get { return this._statistic; } set { this._statistic = value; } } // Check to see if Statistic property is set internal bool IsSetStatistic() { return this._statistic != null; } /// /// Gets and sets the property Threshold. /// /// The threshold for the metric, used with service level metrics. /// /// public Threshold Threshold { get { return this._threshold; } set { this._threshold = value; } } // Check to see if Threshold property is set internal bool IsSetThreshold() { return this._threshold != null; } /// /// Gets and sets the property Unit. /// /// The unit for the metric. /// /// public Unit Unit { get { return this._unit; } set { this._unit = value; } } // Check to see if Unit property is set internal bool IsSetUnit() { return this._unit != null; } } }