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

#include <MetricsSummary.h>

Public Member Functions

 MetricsSummary ()
 
 MetricsSummary (Aws::Utils::Json::JsonView jsonValue)
 
MetricsSummaryoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
long long GetMeteredLinesOfCodeCount () const
 
bool MeteredLinesOfCodeCountHasBeenSet () const
 
void SetMeteredLinesOfCodeCount (long long value)
 
MetricsSummaryWithMeteredLinesOfCodeCount (long long value)
 
long long GetFindingsCount () const
 
bool FindingsCountHasBeenSet () const
 
void SetFindingsCount (long long value)
 
MetricsSummaryWithFindingsCount (long long value)
 

Detailed Description

Information about metrics summaries.

See Also:

AWS API Reference

Definition at line 29 of file MetricsSummary.h.

Constructor & Destructor Documentation

◆ MetricsSummary() [1/2]

Aws::CodeGuruReviewer::Model::MetricsSummary::MetricsSummary ( )

◆ MetricsSummary() [2/2]

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

Member Function Documentation

◆ FindingsCountHasBeenSet()

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

Total number of recommendations found in the code review.

Definition at line 107 of file MetricsSummary.h.

◆ GetFindingsCount()

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

Total number of recommendations found in the code review.

Definition at line 102 of file MetricsSummary.h.

◆ GetMeteredLinesOfCodeCount()

long long Aws::CodeGuruReviewer::Model::MetricsSummary::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 51 of file MetricsSummary.h.

◆ Jsonize()

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

◆ MeteredLinesOfCodeCountHasBeenSet()

bool Aws::CodeGuruReviewer::Model::MetricsSummary::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 66 of file MetricsSummary.h.

◆ operator=()

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

◆ SetFindingsCount()

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

Total number of recommendations found in the code review.

Definition at line 112 of file MetricsSummary.h.

◆ SetMeteredLinesOfCodeCount()

void Aws::CodeGuruReviewer::Model::MetricsSummary::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 81 of file MetricsSummary.h.

◆ WithFindingsCount()

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

Total number of recommendations found in the code review.

Definition at line 117 of file MetricsSummary.h.

◆ WithMeteredLinesOfCodeCount()

MetricsSummary& Aws::CodeGuruReviewer::Model::MetricsSummary::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 96 of file MetricsSummary.h.


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