AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ForecastStatistics.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
27 public:
28 AWS_XRAY_API ForecastStatistics() = default;
32
34
37 inline long long GetFaultCountHigh() const { return m_faultCountHigh; }
38 inline bool FaultCountHighHasBeenSet() const { return m_faultCountHighHasBeenSet; }
39 inline void SetFaultCountHigh(long long value) {
40 m_faultCountHighHasBeenSet = true;
41 m_faultCountHigh = value;
42 }
43 inline ForecastStatistics& WithFaultCountHigh(long long value) {
44 SetFaultCountHigh(value);
45 return *this;
46 }
48
50
53 inline long long GetFaultCountLow() const { return m_faultCountLow; }
54 inline bool FaultCountLowHasBeenSet() const { return m_faultCountLowHasBeenSet; }
55 inline void SetFaultCountLow(long long value) {
56 m_faultCountLowHasBeenSet = true;
57 m_faultCountLow = value;
58 }
59 inline ForecastStatistics& WithFaultCountLow(long long value) {
60 SetFaultCountLow(value);
61 return *this;
62 }
64 private:
65 long long m_faultCountHigh{0};
66
67 long long m_faultCountLow{0};
68 bool m_faultCountHighHasBeenSet = false;
69 bool m_faultCountLowHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace XRay
74} // namespace Aws
ForecastStatistics & WithFaultCountHigh(long long value)
AWS_XRAY_API ForecastStatistics()=default
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API ForecastStatistics(Aws::Utils::Json::JsonView jsonValue)
ForecastStatistics & WithFaultCountLow(long long value)
AWS_XRAY_API ForecastStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue