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
51 inline void SetFilePath(
const char* value) { m_filePathHasBeenSet =
true; m_filePath.assign(value); }
66 inline void SetRecommendationId(
const char* value) { m_recommendationIdHasBeenSet =
true; m_recommendationId.assign(value); }
79 inline void SetStartLine(
int value) { m_startLineHasBeenSet =
true; m_startLine = value; }
91 inline void SetEndLine(
int value) { m_endLineHasBeenSet =
true; m_endLine = value; }
104 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
151 bool m_filePathHasBeenSet =
false;
154 bool m_recommendationIdHasBeenSet =
false;
157 bool m_startLineHasBeenSet =
false;
160 bool m_endLineHasBeenSet =
false;
163 bool m_descriptionHasBeenSet =
false;
166 bool m_recommendationCategoryHasBeenSet =
false;
169 bool m_ruleMetadataHasBeenSet =
false;
172 bool m_severityHasBeenSet =
false;
RecommendationSummary & WithFilePath(const char *value)
RecommendationSummary & WithRecommendationCategory(const RecommendationCategory &value)
void SetRecommendationCategory(const RecommendationCategory &value)
bool StartLineHasBeenSet() const
bool FilePathHasBeenSet() const
void SetEndLine(int value)
RecommendationSummary & WithRecommendationId(const char *value)
RecommendationSummary & WithSeverity(Severity &&value)
void SetFilePath(const char *value)
void SetDescription(const Aws::String &value)
RecommendationSummary & WithFilePath(Aws::String &&value)
void SetRuleMetadata(const RuleMetadata &value)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEGURUREVIEWER_API RecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
const Severity & GetSeverity() const
RecommendationSummary & WithRecommendationId(Aws::String &&value)
RecommendationSummary & WithDescription(const Aws::String &value)
RecommendationSummary & WithRecommendationId(const Aws::String &value)
void SetDescription(const char *value)
bool RecommendationCategoryHasBeenSet() const
RecommendationSummary & WithSeverity(const Severity &value)
const Aws::String & GetRecommendationId() const
void SetStartLine(int value)
void SetSeverity(Severity &&value)
void SetRecommendationId(const Aws::String &value)
RecommendationSummary & WithDescription(const char *value)
bool RecommendationIdHasBeenSet() const
bool RuleMetadataHasBeenSet() const
RecommendationSummary & WithRuleMetadata(RuleMetadata &&value)
const Aws::String & GetFilePath() const
AWS_CODEGURUREVIEWER_API RecommendationSummary()
bool DescriptionHasBeenSet() const
void SetSeverity(const Severity &value)
void SetFilePath(const Aws::String &value)
const RecommendationCategory & GetRecommendationCategory() const
void SetRecommendationId(const char *value)
void SetRecommendationCategory(RecommendationCategory &&value)
bool SeverityHasBeenSet() const
RecommendationSummary & WithFilePath(const Aws::String &value)
RecommendationSummary & WithEndLine(int value)
AWS_CODEGURUREVIEWER_API RecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const RuleMetadata & GetRuleMetadata() const
void SetRecommendationId(Aws::String &&value)
RecommendationSummary & WithRecommendationCategory(RecommendationCategory &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
RecommendationSummary & WithDescription(Aws::String &&value)
void SetFilePath(Aws::String &&value)
void SetRuleMetadata(RuleMetadata &&value)
RecommendationSummary & WithStartLine(int value)
bool EndLineHasBeenSet() const
RecommendationSummary & WithRuleMetadata(const RuleMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue