This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-xray/include/aws/xray/model/FaultStatistics.h

100 lines
2.6 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/xray/XRay_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace XRay
{
namespace Model
{
/**
* <p>Information about requests that failed with a 5xx Server Error status
* code.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/FaultStatistics">AWS
* API Reference</a></p>
*/
class AWS_XRAY_API FaultStatistics
{
public:
FaultStatistics();
FaultStatistics(Aws::Utils::Json::JsonView jsonValue);
FaultStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The number of requests that failed with untracked 5xx Server Error status
* codes.</p>
*/
inline long long GetOtherCount() const{ return m_otherCount; }
/**
* <p>The number of requests that failed with untracked 5xx Server Error status
* codes.</p>
*/
inline bool OtherCountHasBeenSet() const { return m_otherCountHasBeenSet; }
/**
* <p>The number of requests that failed with untracked 5xx Server Error status
* codes.</p>
*/
inline void SetOtherCount(long long value) { m_otherCountHasBeenSet = true; m_otherCount = value; }
/**
* <p>The number of requests that failed with untracked 5xx Server Error status
* codes.</p>
*/
inline FaultStatistics& WithOtherCount(long long value) { SetOtherCount(value); return *this;}
/**
* <p>The total number of requests that failed with a 5xx Server Error status
* code.</p>
*/
inline long long GetTotalCount() const{ return m_totalCount; }
/**
* <p>The total number of requests that failed with a 5xx Server Error status
* code.</p>
*/
inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
/**
* <p>The total number of requests that failed with a 5xx Server Error status
* code.</p>
*/
inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
/**
* <p>The total number of requests that failed with a 5xx Server Error status
* code.</p>
*/
inline FaultStatistics& WithTotalCount(long long value) { SetTotalCount(value); return *this;}
private:
long long m_otherCount;
bool m_otherCountHasBeenSet;
long long m_totalCount;
bool m_totalCountHasBeenSet;
};
} // namespace Model
} // namespace XRay
} // namespace Aws