AWS SDK for C++  1.9.104
AWS SDK for C++
FaultStatistics.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace XRay
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
43  inline long long GetOtherCount() const{ return m_otherCount; }
44 
49  inline bool OtherCountHasBeenSet() const { return m_otherCountHasBeenSet; }
50 
55  inline void SetOtherCount(long long value) { m_otherCountHasBeenSet = true; m_otherCount = value; }
56 
61  inline FaultStatistics& WithOtherCount(long long value) { SetOtherCount(value); return *this;}
62 
63 
68  inline long long GetTotalCount() const{ return m_totalCount; }
69 
74  inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
75 
80  inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
81 
86  inline FaultStatistics& WithTotalCount(long long value) { SetTotalCount(value); return *this;}
87 
88  private:
89 
90  long long m_otherCount;
91  bool m_otherCountHasBeenSet;
92 
93  long long m_totalCount;
94  bool m_totalCountHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace XRay
99 } // namespace Aws
Aws::XRay::Model::FaultStatistics::SetOtherCount
void SetOtherCount(long long value)
Definition: FaultStatistics.h:55
Aws::XRay::Model::FaultStatistics::OtherCountHasBeenSet
bool OtherCountHasBeenSet() const
Definition: FaultStatistics.h:49
Aws::XRay::Model::FaultStatistics::FaultStatistics
FaultStatistics()
Aws::XRay::Model::FaultStatistics::GetTotalCount
long long GetTotalCount() const
Definition: FaultStatistics.h:68
Aws::XRay::Model::FaultStatistics::FaultStatistics
FaultStatistics(Aws::Utils::Json::JsonView jsonValue)
Aws::XRay::Model::FaultStatistics::SetTotalCount
void SetTotalCount(long long value)
Definition: FaultStatistics.h:80
Aws::XRay::Model::FaultStatistics::WithOtherCount
FaultStatistics & WithOtherCount(long long value)
Definition: FaultStatistics.h:61
Aws::XRay::Model::FaultStatistics
Definition: FaultStatistics.h:31
Aws::XRay::Model::FaultStatistics::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
XRay_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::XRay::Model::FaultStatistics::GetOtherCount
long long GetOtherCount() const
Definition: FaultStatistics.h:43
Aws::XRay::Model::FaultStatistics::WithTotalCount
FaultStatistics & WithTotalCount(long long value)
Definition: FaultStatistics.h:86
AWS_XRAY_API
#define AWS_XRAY_API
Definition: XRay_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::XRay::Model::FaultStatistics::TotalCountHasBeenSet
bool TotalCountHasBeenSet() const
Definition: FaultStatistics.h:74
Aws::XRay::Model::FaultStatistics::operator=
FaultStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)