7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/model/ErrorStatistics.h>
9#include <aws/xray/model/FaultStatistics.h>
47 inline void SetOkCount(
long long value) { m_okCountHasBeenSet =
true; m_okCount = value; }
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; }
99 bool m_okCountHasBeenSet =
false;
102 bool m_errorStatisticsHasBeenSet =
false;
105 bool m_faultStatisticsHasBeenSet =
false;
107 long long m_totalCount;
108 bool m_totalCountHasBeenSet =
false;
110 double m_totalResponseTime;
111 bool m_totalResponseTimeHasBeenSet =
false;
double GetTotalResponseTime() const
ServiceStatistics & WithErrorStatistics(ErrorStatistics &&value)
ServiceStatistics & WithTotalCount(long long value)
AWS_XRAY_API ServiceStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TotalCountHasBeenSet() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API ServiceStatistics()
const FaultStatistics & GetFaultStatistics() const
void SetOkCount(long long value)
void SetFaultStatistics(FaultStatistics &&value)
void SetTotalCount(long long value)
void SetErrorStatistics(const ErrorStatistics &value)
bool OkCountHasBeenSet() const
long long GetTotalCount() const
void SetFaultStatistics(const FaultStatistics &value)
const ErrorStatistics & GetErrorStatistics() const
void SetErrorStatistics(ErrorStatistics &&value)
bool FaultStatisticsHasBeenSet() const
AWS_XRAY_API ServiceStatistics(Aws::Utils::Json::JsonView jsonValue)
ServiceStatistics & WithOkCount(long long value)
ServiceStatistics & WithFaultStatistics(FaultStatistics &&value)
ServiceStatistics & WithErrorStatistics(const ErrorStatistics &value)
ServiceStatistics & WithTotalResponseTime(double value)
bool ErrorStatisticsHasBeenSet() const
long long GetOkCount() const
ServiceStatistics & WithFaultStatistics(const FaultStatistics &value)
bool TotalResponseTimeHasBeenSet() const
void SetTotalResponseTime(double value)
Aws::Utils::Json::JsonValue JsonValue