/*
* 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
{
///
/// This is the response object from the GetCurrentMetricData operation.
///
public partial class GetCurrentMetricDataResponse : AmazonWebServiceResponse
{
private long? _approximateTotalCount;
private DateTime? _dataSnapshotTime;
private List _metricResults = new List();
private string _nextToken;
///
/// Gets and sets the property ApproximateTotalCount.
///
/// The total count of the result, regardless of the current page size.
///
///
public long ApproximateTotalCount
{
get { return this._approximateTotalCount.GetValueOrDefault(); }
set { this._approximateTotalCount = value; }
}
// Check to see if ApproximateTotalCount property is set
internal bool IsSetApproximateTotalCount()
{
return this._approximateTotalCount.HasValue;
}
///
/// Gets and sets the property DataSnapshotTime.
///
/// The time at which the metrics were retrieved and cached for pagination.
///
///
public DateTime DataSnapshotTime
{
get { return this._dataSnapshotTime.GetValueOrDefault(); }
set { this._dataSnapshotTime = value; }
}
// Check to see if DataSnapshotTime property is set
internal bool IsSetDataSnapshotTime()
{
return this._dataSnapshotTime.HasValue;
}
///
/// Gets and sets the property MetricResults.
///
/// Information about the real-time metrics.
///
///
public List MetricResults
{
get { return this._metricResults; }
set { this._metricResults = value; }
}
// Check to see if MetricResults property is set
internal bool IsSetMetricResults()
{
return this._metricResults != null && this._metricResults.Count > 0;
}
///
/// Gets and sets the property NextToken.
///
/// If there are additional results, this is the token for the next set of results.
///
///
///
/// The token expires after 5 minutes from the time it is created. Subsequent requests
/// that use the token must use the same request parameters as the request that generated
/// the token.
///
///
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;
}
}
}