7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeguru-reviewer/model/RecommendationCategory.h>
10#include <aws/codeguru-reviewer/model/RuleMetadata.h>
11#include <aws/codeguru-reviewer/model/Severity.h>
24namespace CodeGuruReviewer
49 template<
typename FilePathT = Aws::String>
50 void SetFilePath(FilePathT&& value) { m_filePathHasBeenSet =
true; m_filePath = std::forward<FilePathT>(value); }
51 template<
typename FilePathT = Aws::String>
62 template<
typename RecommendationIdT = Aws::String>
63 void SetRecommendationId(RecommendationIdT&& value) { m_recommendationIdHasBeenSet =
true; m_recommendationId = std::forward<RecommendationIdT>(value); }
64 template<
typename RecommendationIdT = Aws::String>
75 inline void SetStartLine(
int value) { m_startLineHasBeenSet =
true; m_startLine = value; }
87 inline void SetEndLine(
int value) { m_endLineHasBeenSet =
true; m_endLine = value; }
98 template<
typename DescriptionT = Aws::String>
99 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
100 template<
typename DescriptionT = Aws::String>
123 template<
typename RuleMetadataT = RuleMetadata>
124 void SetRuleMetadata(RuleMetadataT&& value) { m_ruleMetadataHasBeenSet =
true; m_ruleMetadata = std::forward<RuleMetadataT>(value); }
125 template<
typename RuleMetadataT = RuleMetadata>
141 bool m_filePathHasBeenSet =
false;
144 bool m_recommendationIdHasBeenSet =
false;
147 bool m_startLineHasBeenSet =
false;
150 bool m_endLineHasBeenSet =
false;
153 bool m_descriptionHasBeenSet =
false;
156 bool m_recommendationCategoryHasBeenSet =
false;
158 RuleMetadata m_ruleMetadata;
159 bool m_ruleMetadataHasBeenSet =
false;
162 bool m_severityHasBeenSet =
false;
bool StartLineHasBeenSet() const
bool FilePathHasBeenSet() const
void SetEndLine(int value)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEGURUREVIEWER_API RecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSeverity(Severity value)
RecommendationSummary & WithRuleMetadata(RuleMetadataT &&value)
RecommendationSummary & WithRecommendationId(RecommendationIdT &&value)
bool RecommendationCategoryHasBeenSet() const
const Aws::String & GetRecommendationId() const
void SetRecommendationId(RecommendationIdT &&value)
void SetStartLine(int value)
bool RecommendationIdHasBeenSet() const
bool RuleMetadataHasBeenSet() const
const Aws::String & GetFilePath() const
RecommendationSummary & WithRecommendationCategory(RecommendationCategory value)
bool DescriptionHasBeenSet() const
RecommendationSummary & WithFilePath(FilePathT &&value)
RecommendationSummary & WithSeverity(Severity value)
RecommendationSummary & WithDescription(DescriptionT &&value)
bool SeverityHasBeenSet() const
AWS_CODEGURUREVIEWER_API RecommendationSummary()=default
RecommendationSummary & WithEndLine(int value)
AWS_CODEGURUREVIEWER_API RecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const RuleMetadata & GetRuleMetadata() const
Severity GetSeverity() const
const Aws::String & GetDescription() const
RecommendationSummary & WithStartLine(int value)
void SetFilePath(FilePathT &&value)
bool EndLineHasBeenSet() const
RecommendationCategory GetRecommendationCategory() const
void SetDescription(DescriptionT &&value)
void SetRecommendationCategory(RecommendationCategory value)
void SetRuleMetadata(RuleMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue