/*
* 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
{
///
///
///
public partial class BackendConnectionErrors
{
private int? _connectionRefusedCount;
private int? _httpCode4XXCount;
private int? _httpCode5XXCount;
private int? _otherCount;
private int? _timeoutCount;
private int? _unknownHostCount;
///
/// Gets and sets the property ConnectionRefusedCount.
///
public int ConnectionRefusedCount
{
get { return this._connectionRefusedCount.GetValueOrDefault(); }
set { this._connectionRefusedCount = value; }
}
// Check to see if ConnectionRefusedCount property is set
internal bool IsSetConnectionRefusedCount()
{
return this._connectionRefusedCount.HasValue;
}
///
/// Gets and sets the property HTTPCode4XXCount.
///
public int HTTPCode4XXCount
{
get { return this._httpCode4XXCount.GetValueOrDefault(); }
set { this._httpCode4XXCount = value; }
}
// Check to see if HTTPCode4XXCount property is set
internal bool IsSetHTTPCode4XXCount()
{
return this._httpCode4XXCount.HasValue;
}
///
/// Gets and sets the property HTTPCode5XXCount.
///
public int HTTPCode5XXCount
{
get { return this._httpCode5XXCount.GetValueOrDefault(); }
set { this._httpCode5XXCount = value; }
}
// Check to see if HTTPCode5XXCount property is set
internal bool IsSetHTTPCode5XXCount()
{
return this._httpCode5XXCount.HasValue;
}
///
/// Gets and sets the property OtherCount.
///
public int 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 TimeoutCount.
///
public int TimeoutCount
{
get { return this._timeoutCount.GetValueOrDefault(); }
set { this._timeoutCount = value; }
}
// Check to see if TimeoutCount property is set
internal bool IsSetTimeoutCount()
{
return this._timeoutCount.HasValue;
}
///
/// Gets and sets the property UnknownHostCount.
///
public int UnknownHostCount
{
get { return this._unknownHostCount.GetValueOrDefault(); }
set { this._unknownHostCount = value; }
}
// Check to see if UnknownHostCount property is set
internal bool IsSetUnknownHostCount()
{
return this._unknownHostCount.HasValue;
}
}
}