AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ErrorStatistics.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace XRay {
17namespace Model {
18
26 public:
27 AWS_XRAY_API ErrorStatistics() = default;
31
33
36 inline long long GetThrottleCount() const { return m_throttleCount; }
37 inline bool ThrottleCountHasBeenSet() const { return m_throttleCountHasBeenSet; }
38 inline void SetThrottleCount(long long value) {
39 m_throttleCountHasBeenSet = true;
40 m_throttleCount = value;
41 }
42 inline ErrorStatistics& WithThrottleCount(long long value) {
43 SetThrottleCount(value);
44 return *this;
45 }
47
49
53 inline long long GetOtherCount() const { return m_otherCount; }
54 inline bool OtherCountHasBeenSet() const { return m_otherCountHasBeenSet; }
55 inline void SetOtherCount(long long value) {
56 m_otherCountHasBeenSet = true;
57 m_otherCount = value;
58 }
59 inline ErrorStatistics& WithOtherCount(long long value) {
60 SetOtherCount(value);
61 return *this;
62 }
64
66
70 inline long long GetTotalCount() const { return m_totalCount; }
71 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
72 inline void SetTotalCount(long long value) {
73 m_totalCountHasBeenSet = true;
74 m_totalCount = value;
75 }
76 inline ErrorStatistics& WithTotalCount(long long value) {
77 SetTotalCount(value);
78 return *this;
79 }
81 private:
82 long long m_throttleCount{0};
83
84 long long m_otherCount{0};
85
86 long long m_totalCount{0};
87 bool m_throttleCountHasBeenSet = false;
88 bool m_otherCountHasBeenSet = false;
89 bool m_totalCountHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace XRay
94} // 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()=default
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