/*
* 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 xray-2016-04-12.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.XRay.Model
{
///
/// Information about requests that failed with a 4xx Client Error status code.
///
public partial class ErrorStatistics
{
private long? _otherCount;
private long? _throttleCount;
private long? _totalCount;
///
/// Gets and sets the property OtherCount.
///
/// The number of requests that failed with untracked 4xx Client Error status codes.
///
///
public long OtherCount
{
get { return this._otherCount.GetValueOrDefault(); }
set { this._otherCount = value; }
}
// Check to see if OtherCount property is set
internal bool IsSetOtherCount()
{
return this._otherCount.HasValue;
}
///
/// Gets and sets the property ThrottleCount.
///
/// The number of requests that failed with a 419 throttling status code.
///
///
public long ThrottleCount
{
get { return this._throttleCount.GetValueOrDefault(); }
set { this._throttleCount = value; }
}
// Check to see if ThrottleCount property is set
internal bool IsSetThrottleCount()
{
return this._throttleCount.HasValue;
}
///
/// Gets and sets the property TotalCount.
///
/// The total number of requests that failed with a 4xx Client Error status code.
///
///
public long TotalCount
{
get { return this._totalCount.GetValueOrDefault(); }
set { this._totalCount = value; }
}
// Check to see if TotalCount property is set
internal bool IsSetTotalCount()
{
return this._totalCount.HasValue;
}
}
}