AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RequestImpactStatistics.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:
37
38
40
43 inline long long GetFaultCount() const{ return m_faultCount; }
44 inline bool FaultCountHasBeenSet() const { return m_faultCountHasBeenSet; }
45 inline void SetFaultCount(long long value) { m_faultCountHasBeenSet = true; m_faultCount = value; }
46 inline RequestImpactStatistics& WithFaultCount(long long value) { SetFaultCount(value); return *this;}
48
50
53 inline long long GetOkCount() const{ return m_okCount; }
54 inline bool OkCountHasBeenSet() const { return m_okCountHasBeenSet; }
55 inline void SetOkCount(long long value) { m_okCountHasBeenSet = true; m_okCount = value; }
56 inline RequestImpactStatistics& WithOkCount(long long value) { SetOkCount(value); return *this;}
58
60
63 inline long long GetTotalCount() const{ return m_totalCount; }
64 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
65 inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
66 inline RequestImpactStatistics& WithTotalCount(long long value) { SetTotalCount(value); return *this;}
68 private:
69
70 long long m_faultCount;
71 bool m_faultCountHasBeenSet = false;
72
73 long long m_okCount;
74 bool m_okCountHasBeenSet = false;
75
76 long long m_totalCount;
77 bool m_totalCountHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace XRay
82} // namespace Aws
RequestImpactStatistics & WithTotalCount(long long value)
RequestImpactStatistics & WithFaultCount(long long value)
AWS_XRAY_API RequestImpactStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
RequestImpactStatistics & WithOkCount(long long value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API RequestImpactStatistics(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue