/* * 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 monitoring-2010-08-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.CloudWatch.Model { /// /// This is the response object from the GetMetricData operation. /// public partial class GetMetricDataResponse : AmazonWebServiceResponse { private List _messages = new List(); private List _metricDataResults = new List(); private string _nextToken; /// /// Gets and sets the property Messages. /// /// Contains a message about this GetMetricData operation, if the operation /// results in such a message. An example of a message that might be returned is Maximum /// number of allowed metrics exceeded. If there is a message, as much of the operation /// as possible is still executed. /// /// /// /// A message appears here only if it is related to the global GetMetricData /// operation. Any message about a specific metric returned by the operation appears in /// the MetricDataResult object returned for that metric. /// /// public List Messages { get { return this._messages; } set { this._messages = value; } } // Check to see if Messages property is set internal bool IsSetMessages() { return this._messages != null && this._messages.Count > 0; } /// /// Gets and sets the property MetricDataResults. /// /// The metrics that are returned, including the metric name, namespace, and dimensions. /// /// public List MetricDataResults { get { return this._metricDataResults; } set { this._metricDataResults = value; } } // Check to see if MetricDataResults property is set internal bool IsSetMetricDataResults() { return this._metricDataResults != null && this._metricDataResults.Count > 0; } /// /// Gets and sets the property NextToken. /// /// A token that marks the next batch of returned results. /// /// public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }