AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
MetricsSummary.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CodeGuruReviewer {
17namespace Model {
18
25 public:
26 AWS_CODEGURUREVIEWER_API MetricsSummary() = default;
27 AWS_CODEGURUREVIEWER_API MetricsSummary(Aws::Utils::Json::JsonView jsonValue);
28 AWS_CODEGURUREVIEWER_API MetricsSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
45 inline long long GetMeteredLinesOfCodeCount() const { return m_meteredLinesOfCodeCount; }
46 inline bool MeteredLinesOfCodeCountHasBeenSet() const { return m_meteredLinesOfCodeCountHasBeenSet; }
47 inline void SetMeteredLinesOfCodeCount(long long value) {
48 m_meteredLinesOfCodeCountHasBeenSet = true;
49 m_meteredLinesOfCodeCount = value;
50 }
53 return *this;
54 }
56
58
75 inline long long GetSuppressedLinesOfCodeCount() const { return m_suppressedLinesOfCodeCount; }
76 inline bool SuppressedLinesOfCodeCountHasBeenSet() const { return m_suppressedLinesOfCodeCountHasBeenSet; }
77 inline void SetSuppressedLinesOfCodeCount(long long value) {
78 m_suppressedLinesOfCodeCountHasBeenSet = true;
79 m_suppressedLinesOfCodeCount = value;
80 }
83 return *this;
84 }
86
88
91 inline long long GetFindingsCount() const { return m_findingsCount; }
92 inline bool FindingsCountHasBeenSet() const { return m_findingsCountHasBeenSet; }
93 inline void SetFindingsCount(long long value) {
94 m_findingsCountHasBeenSet = true;
95 m_findingsCount = value;
96 }
97 inline MetricsSummary& WithFindingsCount(long long value) {
98 SetFindingsCount(value);
99 return *this;
100 }
102 private:
103 long long m_meteredLinesOfCodeCount{0};
104
105 long long m_suppressedLinesOfCodeCount{0};
106
107 long long m_findingsCount{0};
108 bool m_meteredLinesOfCodeCountHasBeenSet = false;
109 bool m_suppressedLinesOfCodeCountHasBeenSet = false;
110 bool m_findingsCountHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace CodeGuruReviewer
115} // namespace Aws
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()=default
Aws::Utils::Json::JsonValue JsonValue