AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
FaultStatistics.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 FaultStatistics() = default;
31
33
37 inline long long GetOtherCount() const { return m_otherCount; }
38 inline bool OtherCountHasBeenSet() const { return m_otherCountHasBeenSet; }
39 inline void SetOtherCount(long long value) {
40 m_otherCountHasBeenSet = true;
41 m_otherCount = value;
42 }
43 inline FaultStatistics& WithOtherCount(long long value) {
44 SetOtherCount(value);
45 return *this;
46 }
48
50
54 inline long long GetTotalCount() const { return m_totalCount; }
55 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
56 inline void SetTotalCount(long long value) {
57 m_totalCountHasBeenSet = true;
58 m_totalCount = value;
59 }
60 inline FaultStatistics& WithTotalCount(long long value) {
61 SetTotalCount(value);
62 return *this;
63 }
65 private:
66 long long m_otherCount{0};
67
68 long long m_totalCount{0};
69 bool m_otherCountHasBeenSet = false;
70 bool m_totalCountHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace XRay
75} // namespace Aws
AWS_XRAY_API FaultStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTotalCount(long long value)
FaultStatistics & WithTotalCount(long long value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API FaultStatistics()=default
void SetOtherCount(long long value)
AWS_XRAY_API FaultStatistics(Aws::Utils::Json::JsonView jsonValue)
FaultStatistics & WithOtherCount(long long value)
Aws::Utils::Json::JsonValue JsonValue