7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/model/ErrorStatistics.h>
9#include <aws/xray/model/FaultStatistics.h>
39 inline long long GetOkCount()
const {
return m_okCount; }
42 m_okCountHasBeenSet =
true;
58 template <
typename ErrorStatisticsT = ErrorStatistics>
60 m_errorStatisticsHasBeenSet =
true;
61 m_errorStatistics = std::forward<ErrorStatisticsT>(value);
63 template <
typename ErrorStatisticsT = ErrorStatistics>
77 template <
typename FaultStatisticsT = FaultStatistics>
79 m_faultStatisticsHasBeenSet =
true;
80 m_faultStatistics = std::forward<FaultStatisticsT>(value);
82 template <
typename FaultStatisticsT = FaultStatistics>
96 m_totalCountHasBeenSet =
true;
112 m_totalResponseTimeHasBeenSet =
true;
113 m_totalResponseTime = value;
121 long long m_okCount{0};
123 ErrorStatistics m_errorStatistics;
125 FaultStatistics m_faultStatistics;
127 long long m_totalCount{0};
129 double m_totalResponseTime{0.0};
130 bool m_okCountHasBeenSet =
false;
131 bool m_errorStatisticsHasBeenSet =
false;
132 bool m_faultStatisticsHasBeenSet =
false;
133 bool m_totalCountHasBeenSet =
false;
134 bool m_totalResponseTimeHasBeenSet =
false;
long long GetTotalCount() const
EdgeStatistics & WithErrorStatistics(ErrorStatisticsT &&value)
bool TotalResponseTimeHasBeenSet() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
EdgeStatistics & WithTotalCount(long long value)
const FaultStatistics & GetFaultStatistics() const
EdgeStatistics & WithOkCount(long long value)
const ErrorStatistics & GetErrorStatistics() const
EdgeStatistics & WithTotalResponseTime(double value)
AWS_XRAY_API EdgeStatistics(Aws::Utils::Json::JsonView jsonValue)
EdgeStatistics & WithFaultStatistics(FaultStatisticsT &&value)
void SetFaultStatistics(FaultStatisticsT &&value)
void SetTotalResponseTime(double value)
void SetErrorStatistics(ErrorStatisticsT &&value)
void SetOkCount(long long value)
bool FaultStatisticsHasBeenSet() const
double GetTotalResponseTime() const
long long GetOkCount() const
bool OkCountHasBeenSet() const
AWS_XRAY_API EdgeStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API EdgeStatistics()=default
bool ErrorStatisticsHasBeenSet() const
void SetTotalCount(long long value)
bool TotalCountHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue