AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ErrorStatistics.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace XRay
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_XRAY_API ErrorStatistics();
37
38
40
43 inline long long GetThrottleCount() const{ return m_throttleCount; }
44 inline bool ThrottleCountHasBeenSet() const { return m_throttleCountHasBeenSet; }
45 inline void SetThrottleCount(long long value) { m_throttleCountHasBeenSet = true; m_throttleCount = value; }
46 inline ErrorStatistics& WithThrottleCount(long long value) { SetThrottleCount(value); return *this;}
48
50
54 inline long long GetOtherCount() const{ return m_otherCount; }
55 inline bool OtherCountHasBeenSet() const { return m_otherCountHasBeenSet; }
56 inline void SetOtherCount(long long value) { m_otherCountHasBeenSet = true; m_otherCount = value; }
57 inline ErrorStatistics& WithOtherCount(long long value) { SetOtherCount(value); return *this;}
59
61
65 inline long long GetTotalCount() const{ return m_totalCount; }
66 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
67 inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
68 inline ErrorStatistics& WithTotalCount(long long value) { SetTotalCount(value); return *this;}
70 private:
71
72 long long m_throttleCount;
73 bool m_throttleCountHasBeenSet = false;
74
75 long long m_otherCount;
76 bool m_otherCountHasBeenSet = false;
77
78 long long m_totalCount;
79 bool m_totalCountHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace XRay
84} // namespace Aws
void SetThrottleCount(long long value)
AWS_XRAY_API ErrorStatistics(Aws::Utils::Json::JsonView jsonValue)
void SetOtherCount(long long value)
ErrorStatistics & WithTotalCount(long long value)
AWS_XRAY_API ErrorStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
ErrorStatistics & WithThrottleCount(long long value)
ErrorStatistics & WithOtherCount(long long value)
void SetTotalCount(long long value)
Aws::Utils::Json::JsonValue JsonValue