AWS SDK for C++  1.8.94
AWS SDK for C++
Public Member Functions | List of all members
Aws::CodeGuruReviewer::Model::Metrics Class Reference

#include <Metrics.h>

Public Member Functions

 Metrics ()
 
 Metrics (Aws::Utils::Json::JsonView jsonValue)
 
Metricsoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
long long GetMeteredLinesOfCodeCount () const
 
bool MeteredLinesOfCodeCountHasBeenSet () const
 
void SetMeteredLinesOfCodeCount (long long value)
 
MetricsWithMeteredLinesOfCodeCount (long long value)
 
long long GetFindingsCount () const
 
bool FindingsCountHasBeenSet () const
 
void SetFindingsCount (long long value)
 
MetricsWithFindingsCount (long long value)
 

Detailed Description

Information about the statistics from the code review.

See Also:

AWS API Reference

Definition at line 30 of file Metrics.h.

Constructor & Destructor Documentation

◆ Metrics() [1/2]

Aws::CodeGuruReviewer::Model::Metrics::Metrics ( )

◆ Metrics() [2/2]

Aws::CodeGuruReviewer::Model::Metrics::Metrics ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ FindingsCountHasBeenSet()

bool Aws::CodeGuruReviewer::Model::Metrics::FindingsCountHasBeenSet ( ) const
inline

Total number of recommendations found in the code review.

Definition at line 108 of file Metrics.h.

◆ GetFindingsCount()

long long Aws::CodeGuruReviewer::Model::Metrics::GetFindingsCount ( ) const
inline

Total number of recommendations found in the code review.

Definition at line 103 of file Metrics.h.

◆ GetMeteredLinesOfCodeCount()

long long Aws::CodeGuruReviewer::Model::Metrics::GetMeteredLinesOfCodeCount ( ) const
inline

Lines of code metered in the code review. For the initial code review pull request and all subsequent revisions, this includes all lines of code in the files added to the pull request. In subsequent revisions, for files that already existed in the pull request, this includes only the changed lines of code. In both cases, this does not include non-code lines such as comments and import statements. For example, if you submit a pull request containing 5 files, each with 500 lines of code, and in a subsequent revision you added a new file with 200 lines of code, and also modified a total of 25 lines across the initial 5 files, MeteredLinesOfCodeCount includes the first 5 files (5 * 500 = 2,500 lines), the new file (200 lines) and the 25 changed lines of code for a total of 2,725 lines of code.

Definition at line 52 of file Metrics.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::CodeGuruReviewer::Model::Metrics::Jsonize ( ) const

◆ MeteredLinesOfCodeCountHasBeenSet()

bool Aws::CodeGuruReviewer::Model::Metrics::MeteredLinesOfCodeCountHasBeenSet ( ) const
inline

Lines of code metered in the code review. For the initial code review pull request and all subsequent revisions, this includes all lines of code in the files added to the pull request. In subsequent revisions, for files that already existed in the pull request, this includes only the changed lines of code. In both cases, this does not include non-code lines such as comments and import statements. For example, if you submit a pull request containing 5 files, each with 500 lines of code, and in a subsequent revision you added a new file with 200 lines of code, and also modified a total of 25 lines across the initial 5 files, MeteredLinesOfCodeCount includes the first 5 files (5 * 500 = 2,500 lines), the new file (200 lines) and the 25 changed lines of code for a total of 2,725 lines of code.

Definition at line 67 of file Metrics.h.

◆ operator=()

Metrics& Aws::CodeGuruReviewer::Model::Metrics::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetFindingsCount()

void Aws::CodeGuruReviewer::Model::Metrics::SetFindingsCount ( long long  value)
inline

Total number of recommendations found in the code review.

Definition at line 113 of file Metrics.h.

◆ SetMeteredLinesOfCodeCount()

void Aws::CodeGuruReviewer::Model::Metrics::SetMeteredLinesOfCodeCount ( long long  value)
inline

Lines of code metered in the code review. For the initial code review pull request and all subsequent revisions, this includes all lines of code in the files added to the pull request. In subsequent revisions, for files that already existed in the pull request, this includes only the changed lines of code. In both cases, this does not include non-code lines such as comments and import statements. For example, if you submit a pull request containing 5 files, each with 500 lines of code, and in a subsequent revision you added a new file with 200 lines of code, and also modified a total of 25 lines across the initial 5 files, MeteredLinesOfCodeCount includes the first 5 files (5 * 500 = 2,500 lines), the new file (200 lines) and the 25 changed lines of code for a total of 2,725 lines of code.

Definition at line 82 of file Metrics.h.

◆ WithFindingsCount()

Metrics& Aws::CodeGuruReviewer::Model::Metrics::WithFindingsCount ( long long  value)
inline

Total number of recommendations found in the code review.

Definition at line 118 of file Metrics.h.

◆ WithMeteredLinesOfCodeCount()

Metrics& Aws::CodeGuruReviewer::Model::Metrics::WithMeteredLinesOfCodeCount ( long long  value)
inline

Lines of code metered in the code review. For the initial code review pull request and all subsequent revisions, this includes all lines of code in the files added to the pull request. In subsequent revisions, for files that already existed in the pull request, this includes only the changed lines of code. In both cases, this does not include non-code lines such as comments and import statements. For example, if you submit a pull request containing 5 files, each with 500 lines of code, and in a subsequent revision you added a new file with 200 lines of code, and also modified a total of 25 lines across the initial 5 files, MeteredLinesOfCodeCount includes the first 5 files (5 * 500 = 2,500 lines), the new file (200 lines) and the 25 changed lines of code for a total of 2,725 lines of code.

Definition at line 97 of file Metrics.h.


The documentation for this class was generated from the following file: