7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
39 m_testsTotalHasBeenSet =
true;
55 m_testsPassedHasBeenSet =
true;
56 m_testsPassed = value;
71 m_testsFailedHasBeenSet =
true;
72 m_testsFailed = value;
87 m_testsSkippedHasBeenSet =
true;
88 m_testsSkipped = value;
103 m_testsErroredHasBeenSet =
true;
104 m_testsErrored = value;
119 m_testsOtherHasBeenSet =
true;
120 m_testsOther = value;
135 m_testsPassedPercentageHasBeenSet =
true;
136 m_testsPassedPercentage = value;
151 m_totalTestExecutionDurationSecondsHasBeenSet =
true;
152 m_totalTestExecutionDurationSeconds = value;
167 m_medianTestExecutionDurationSecondsHasBeenSet =
true;
168 m_medianTestExecutionDurationSeconds = value;
178 int m_testsPassed{0};
180 int m_testsFailed{0};
182 int m_testsSkipped{0};
184 int m_testsErrored{0};
188 double m_testsPassedPercentage{0.0};
190 double m_totalTestExecutionDurationSeconds{0.0};
192 double m_medianTestExecutionDurationSeconds{0.0};
193 bool m_testsTotalHasBeenSet =
false;
194 bool m_testsPassedHasBeenSet =
false;
195 bool m_testsFailedHasBeenSet =
false;
196 bool m_testsSkippedHasBeenSet =
false;
197 bool m_testsErroredHasBeenSet =
false;
198 bool m_testsOtherHasBeenSet =
false;
199 bool m_testsPassedPercentageHasBeenSet =
false;
200 bool m_totalTestExecutionDurationSecondsHasBeenSet =
false;
201 bool m_medianTestExecutionDurationSecondsHasBeenSet =
false;
int GetTestsErrored() const
bool TestsOtherHasBeenSet() const
int GetTestsFailed() const
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVICEFARM_API TestReportMetrics()=default
bool TestsPassedPercentageHasBeenSet() const
bool TestsPassedHasBeenSet() const
TestReportMetrics & WithTestsSkipped(int value)
void SetTestsTotal(int value)
bool TestsTotalHasBeenSet() const
bool TotalTestExecutionDurationSecondsHasBeenSet() const
void SetTestsOther(int value)
double GetTotalTestExecutionDurationSeconds() const
void SetTestsErrored(int value)
TestReportMetrics & WithTestsTotal(int value)
int GetTestsSkipped() const
TestReportMetrics & WithTestsErrored(int value)
void SetMedianTestExecutionDurationSeconds(double value)
void SetTestsPassedPercentage(double value)
TestReportMetrics & WithMedianTestExecutionDurationSeconds(double value)
double GetTestsPassedPercentage() const
double GetMedianTestExecutionDurationSeconds() const
bool MedianTestExecutionDurationSecondsHasBeenSet() const
TestReportMetrics & WithTestsFailed(int value)
int GetTestsTotal() const
TestReportMetrics & WithTotalTestExecutionDurationSeconds(double value)
void SetTestsFailed(int value)
TestReportMetrics & WithTestsPassed(int value)
void SetTestsSkipped(int value)
AWS_DEVICEFARM_API TestReportMetrics(Aws::Utils::Json::JsonView jsonValue)
TestReportMetrics & WithTestsPassedPercentage(double value)
int GetTestsPassed() const
bool TestsSkippedHasBeenSet() const
TestReportMetrics & WithTestsOther(int value)
bool TestsFailedHasBeenSet() const
int GetTestsOther() const
AWS_DEVICEFARM_API TestReportMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TestsErroredHasBeenSet() const
void SetTotalTestExecutionDurationSeconds(double value)
void SetTestsPassed(int value)
Aws::Utils::Json::JsonValue JsonValue