AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
MetricsSummary.h
Go to the documentation of this file.
1
6#pragma once
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeGuruReviewer
20{
21namespace Model
22{
23
30 {
31 public:
36
37
51 inline long long GetMeteredLinesOfCodeCount() const{ return m_meteredLinesOfCodeCount; }
52
66 inline bool MeteredLinesOfCodeCountHasBeenSet() const { return m_meteredLinesOfCodeCountHasBeenSet; }
67
81 inline void SetMeteredLinesOfCodeCount(long long value) { m_meteredLinesOfCodeCountHasBeenSet = true; m_meteredLinesOfCodeCount = value; }
82
96 inline MetricsSummary& WithMeteredLinesOfCodeCount(long long value) { SetMeteredLinesOfCodeCount(value); return *this;}
97
98
116 inline long long GetSuppressedLinesOfCodeCount() const{ return m_suppressedLinesOfCodeCount; }
117
135 inline bool SuppressedLinesOfCodeCountHasBeenSet() const { return m_suppressedLinesOfCodeCountHasBeenSet; }
136
154 inline void SetSuppressedLinesOfCodeCount(long long value) { m_suppressedLinesOfCodeCountHasBeenSet = true; m_suppressedLinesOfCodeCount = value; }
155
173 inline MetricsSummary& WithSuppressedLinesOfCodeCount(long long value) { SetSuppressedLinesOfCodeCount(value); return *this;}
174
175
179 inline long long GetFindingsCount() const{ return m_findingsCount; }
180
184 inline bool FindingsCountHasBeenSet() const { return m_findingsCountHasBeenSet; }
185
189 inline void SetFindingsCount(long long value) { m_findingsCountHasBeenSet = true; m_findingsCount = value; }
190
194 inline MetricsSummary& WithFindingsCount(long long value) { SetFindingsCount(value); return *this;}
195
196 private:
197
198 long long m_meteredLinesOfCodeCount;
199 bool m_meteredLinesOfCodeCountHasBeenSet = false;
200
201 long long m_suppressedLinesOfCodeCount;
202 bool m_suppressedLinesOfCodeCountHasBeenSet = false;
203
204 long long m_findingsCount;
205 bool m_findingsCountHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace CodeGuruReviewer
210} // namespace Aws
#define AWS_CODEGURUREVIEWER_API
MetricsSummary & WithFindingsCount(long long value)
AWS_CODEGURUREVIEWER_API MetricsSummary(Aws::Utils::Json::JsonView jsonValue)
MetricsSummary & WithSuppressedLinesOfCodeCount(long long value)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEGURUREVIEWER_API MetricsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricsSummary & WithMeteredLinesOfCodeCount(long long value)
AWS_CODEGURUREVIEWER_API MetricsSummary()