7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/model/ErrorStatistics.h>
9#include <aws/xray/model/FaultStatistics.h>
45 inline long long GetOkCount()
const {
return m_okCount; }
47 inline void SetOkCount(
long long value) { m_okCountHasBeenSet =
true; m_okCount = value; }
58 template<
typename ErrorStatisticsT = ErrorStatistics>
59 void SetErrorStatistics(ErrorStatisticsT&& value) { m_errorStatisticsHasBeenSet =
true; m_errorStatistics = std::forward<ErrorStatisticsT>(value); }
60 template<
typename ErrorStatisticsT = ErrorStatistics>
71 template<
typename FaultStatisticsT = FaultStatistics>
72 void SetFaultStatistics(FaultStatisticsT&& value) { m_faultStatisticsHasBeenSet =
true; m_faultStatistics = std::forward<FaultStatisticsT>(value); }
73 template<
typename FaultStatisticsT = FaultStatistics>
83 inline void SetTotalCount(
long long value) { m_totalCountHasBeenSet =
true; m_totalCount = value; }
93 inline void SetTotalResponseTime(
double value) { m_totalResponseTimeHasBeenSet =
true; m_totalResponseTime = value; }
98 long long m_okCount{0};
99 bool m_okCountHasBeenSet =
false;
101 ErrorStatistics m_errorStatistics;
102 bool m_errorStatisticsHasBeenSet =
false;
104 FaultStatistics m_faultStatistics;
105 bool m_faultStatisticsHasBeenSet =
false;
107 long long m_totalCount{0};
108 bool m_totalCountHasBeenSet =
false;
110 double m_totalResponseTime{0.0};
111 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