AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodeCoverageReportSummary.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeBuild
20{
21namespace Model
22{
23
34 {
35 public:
36 AWS_CODEBUILD_API CodeCoverageReportSummary();
39 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline double GetLineCoveragePercentage() const{ return m_lineCoveragePercentage; }
47 inline bool LineCoveragePercentageHasBeenSet() const { return m_lineCoveragePercentageHasBeenSet; }
48 inline void SetLineCoveragePercentage(double value) { m_lineCoveragePercentageHasBeenSet = true; m_lineCoveragePercentage = value; }
51
53
56 inline int GetLinesCovered() const{ return m_linesCovered; }
57 inline bool LinesCoveredHasBeenSet() const { return m_linesCoveredHasBeenSet; }
58 inline void SetLinesCovered(int value) { m_linesCoveredHasBeenSet = true; m_linesCovered = value; }
59 inline CodeCoverageReportSummary& WithLinesCovered(int value) { SetLinesCovered(value); return *this;}
61
63
66 inline int GetLinesMissed() const{ return m_linesMissed; }
67 inline bool LinesMissedHasBeenSet() const { return m_linesMissedHasBeenSet; }
68 inline void SetLinesMissed(int value) { m_linesMissedHasBeenSet = true; m_linesMissed = value; }
69 inline CodeCoverageReportSummary& WithLinesMissed(int value) { SetLinesMissed(value); return *this;}
71
73
76 inline double GetBranchCoveragePercentage() const{ return m_branchCoveragePercentage; }
77 inline bool BranchCoveragePercentageHasBeenSet() const { return m_branchCoveragePercentageHasBeenSet; }
78 inline void SetBranchCoveragePercentage(double value) { m_branchCoveragePercentageHasBeenSet = true; m_branchCoveragePercentage = value; }
81
83
86 inline int GetBranchesCovered() const{ return m_branchesCovered; }
87 inline bool BranchesCoveredHasBeenSet() const { return m_branchesCoveredHasBeenSet; }
88 inline void SetBranchesCovered(int value) { m_branchesCoveredHasBeenSet = true; m_branchesCovered = value; }
89 inline CodeCoverageReportSummary& WithBranchesCovered(int value) { SetBranchesCovered(value); return *this;}
91
93
96 inline int GetBranchesMissed() const{ return m_branchesMissed; }
97 inline bool BranchesMissedHasBeenSet() const { return m_branchesMissedHasBeenSet; }
98 inline void SetBranchesMissed(int value) { m_branchesMissedHasBeenSet = true; m_branchesMissed = value; }
99 inline CodeCoverageReportSummary& WithBranchesMissed(int value) { SetBranchesMissed(value); return *this;}
101 private:
102
103 double m_lineCoveragePercentage;
104 bool m_lineCoveragePercentageHasBeenSet = false;
105
106 int m_linesCovered;
107 bool m_linesCoveredHasBeenSet = false;
108
109 int m_linesMissed;
110 bool m_linesMissedHasBeenSet = false;
111
112 double m_branchCoveragePercentage;
113 bool m_branchCoveragePercentageHasBeenSet = false;
114
115 int m_branchesCovered;
116 bool m_branchesCoveredHasBeenSet = false;
117
118 int m_branchesMissed;
119 bool m_branchesMissedHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace CodeBuild
124} // namespace Aws
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEBUILD_API CodeCoverageReportSummary(Aws::Utils::Json::JsonView jsonValue)
CodeCoverageReportSummary & WithLineCoveragePercentage(double value)
CodeCoverageReportSummary & WithLinesMissed(int value)
CodeCoverageReportSummary & WithLinesCovered(int value)
CodeCoverageReportSummary & WithBranchesMissed(int value)
CodeCoverageReportSummary & WithBranchCoveragePercentage(double value)
AWS_CODEBUILD_API CodeCoverageReportSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeCoverageReportSummary & WithBranchesCovered(int value)
Aws::Utils::Json::JsonValue JsonValue