AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Metrics.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 class Metrics
31 {
32 public:
33 AWS_CODEGURUREVIEWER_API Metrics();
34 AWS_CODEGURUREVIEWER_API Metrics(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODEGURUREVIEWER_API Metrics& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
45 inline long long GetMeteredLinesOfCodeCount() const{ return m_meteredLinesOfCodeCount; }
46 inline bool MeteredLinesOfCodeCountHasBeenSet() const { return m_meteredLinesOfCodeCountHasBeenSet; }
47 inline void SetMeteredLinesOfCodeCount(long long value) { m_meteredLinesOfCodeCountHasBeenSet = true; m_meteredLinesOfCodeCount = value; }
48 inline Metrics& WithMeteredLinesOfCodeCount(long long value) { SetMeteredLinesOfCodeCount(value); return *this;}
50
52
60 inline long long GetSuppressedLinesOfCodeCount() const{ return m_suppressedLinesOfCodeCount; }
61 inline bool SuppressedLinesOfCodeCountHasBeenSet() const { return m_suppressedLinesOfCodeCountHasBeenSet; }
62 inline void SetSuppressedLinesOfCodeCount(long long value) { m_suppressedLinesOfCodeCountHasBeenSet = true; m_suppressedLinesOfCodeCount = value; }
63 inline Metrics& WithSuppressedLinesOfCodeCount(long long value) { SetSuppressedLinesOfCodeCount(value); return *this;}
65
67
70 inline long long GetFindingsCount() const{ return m_findingsCount; }
71 inline bool FindingsCountHasBeenSet() const { return m_findingsCountHasBeenSet; }
72 inline void SetFindingsCount(long long value) { m_findingsCountHasBeenSet = true; m_findingsCount = value; }
73 inline Metrics& WithFindingsCount(long long value) { SetFindingsCount(value); return *this;}
75 private:
76
77 long long m_meteredLinesOfCodeCount;
78 bool m_meteredLinesOfCodeCountHasBeenSet = false;
79
80 long long m_suppressedLinesOfCodeCount;
81 bool m_suppressedLinesOfCodeCountHasBeenSet = false;
82
83 long long m_findingsCount;
84 bool m_findingsCountHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace CodeGuruReviewer
89} // namespace Aws
void SetMeteredLinesOfCodeCount(long long value)
Definition Metrics.h:47
void SetSuppressedLinesOfCodeCount(long long value)
Definition Metrics.h:62
long long GetSuppressedLinesOfCodeCount() const
Definition Metrics.h:60
void SetFindingsCount(long long value)
Definition Metrics.h:72
Metrics & WithMeteredLinesOfCodeCount(long long value)
Definition Metrics.h:48
Metrics & WithSuppressedLinesOfCodeCount(long long value)
Definition Metrics.h:63
long long GetFindingsCount() const
Definition Metrics.h:70
AWS_CODEGURUREVIEWER_API Metrics(Aws::Utils::Json::JsonView jsonValue)
bool SuppressedLinesOfCodeCountHasBeenSet() const
Definition Metrics.h:61
bool MeteredLinesOfCodeCountHasBeenSet() const
Definition Metrics.h:46
AWS_CODEGURUREVIEWER_API Metrics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
Metrics & WithFindingsCount(long long value)
Definition Metrics.h:73
long long GetMeteredLinesOfCodeCount() const
Definition Metrics.h:45
AWS_CODEGURUREVIEWER_API Metrics()
Aws::Utils::Json::JsonValue JsonValue