AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetricsSummary.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_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 CodeGuruReviewer
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_CODEGURUREVIEWER_API MetricsSummary();
33 AWS_CODEGURUREVIEWER_API MetricsSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CODEGURUREVIEWER_API MetricsSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
52 inline long long GetMeteredLinesOfCodeCount() const{ return m_meteredLinesOfCodeCount; }
53 inline bool MeteredLinesOfCodeCountHasBeenSet() const { return m_meteredLinesOfCodeCountHasBeenSet; }
54 inline void SetMeteredLinesOfCodeCount(long long value) { m_meteredLinesOfCodeCountHasBeenSet = true; m_meteredLinesOfCodeCount = value; }
55 inline MetricsSummary& WithMeteredLinesOfCodeCount(long long value) { SetMeteredLinesOfCodeCount(value); return *this;}
57
59
76 inline long long GetSuppressedLinesOfCodeCount() const{ return m_suppressedLinesOfCodeCount; }
77 inline bool SuppressedLinesOfCodeCountHasBeenSet() const { return m_suppressedLinesOfCodeCountHasBeenSet; }
78 inline void SetSuppressedLinesOfCodeCount(long long value) { m_suppressedLinesOfCodeCountHasBeenSet = true; m_suppressedLinesOfCodeCount = value; }
79 inline MetricsSummary& WithSuppressedLinesOfCodeCount(long long value) { SetSuppressedLinesOfCodeCount(value); return *this;}
81
83
86 inline long long GetFindingsCount() const{ return m_findingsCount; }
87 inline bool FindingsCountHasBeenSet() const { return m_findingsCountHasBeenSet; }
88 inline void SetFindingsCount(long long value) { m_findingsCountHasBeenSet = true; m_findingsCount = value; }
89 inline MetricsSummary& WithFindingsCount(long long value) { SetFindingsCount(value); return *this;}
91 private:
92
93 long long m_meteredLinesOfCodeCount;
94 bool m_meteredLinesOfCodeCountHasBeenSet = false;
95
96 long long m_suppressedLinesOfCodeCount;
97 bool m_suppressedLinesOfCodeCountHasBeenSet = false;
98
99 long long m_findingsCount;
100 bool m_findingsCountHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace CodeGuruReviewer
105} // 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()
Aws::Utils::Json::JsonValue JsonValue