7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codeguru-security/model/Remediation.h>
12#include <aws/codeguru-security/model/Resource.h>
13#include <aws/codeguru-security/model/Severity.h>
14#include <aws/codeguru-security/model/Status.h>
15#include <aws/codeguru-security/model/Vulnerability.h>
28namespace CodeGuruSecurity
68 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
84 inline void SetDetectorId(
const char* value) { m_detectorIdHasBeenSet =
true; m_detectorId.assign(value); }
99 inline void SetDetectorName(
const char* value) { m_detectorNameHasBeenSet =
true; m_detectorName.assign(value); }
119 inline Finding&
AddDetectorTags(
const char* value) { m_detectorTagsHasBeenSet =
true; m_detectorTags.push_back(value);
return *
this; }
131 inline void SetGeneratorId(
const char* value) { m_generatorIdHasBeenSet =
true; m_generatorId.assign(value); }
145 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
183 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
210 inline void SetStatus(
const Status& value) { m_statusHasBeenSet =
true; m_status = value; }
211 inline void SetStatus(
Status&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
224 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
238 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
271 bool m_createdAtHasBeenSet =
false;
274 bool m_descriptionHasBeenSet =
false;
277 bool m_detectorIdHasBeenSet =
false;
280 bool m_detectorNameHasBeenSet =
false;
283 bool m_detectorTagsHasBeenSet =
false;
286 bool m_generatorIdHasBeenSet =
false;
289 bool m_idHasBeenSet =
false;
292 bool m_remediationHasBeenSet =
false;
295 bool m_resourceHasBeenSet =
false;
298 bool m_ruleIdHasBeenSet =
false;
301 bool m_severityHasBeenSet =
false;
304 bool m_statusHasBeenSet =
false;
307 bool m_titleHasBeenSet =
false;
310 bool m_typeHasBeenSet =
false;
313 bool m_updatedAtHasBeenSet =
false;
316 bool m_vulnerabilityHasBeenSet =
false;
bool StatusHasBeenSet() const
void SetResource(Resource &&value)
void SetVulnerability(const Vulnerability &value)
void SetType(const Aws::String &value)
Finding & AddDetectorTags(const Aws::String &value)
void SetTitle(const char *value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Finding & WithCreatedAt(const Aws::Utils::DateTime &value)
Finding & WithDetectorId(const Aws::String &value)
Finding & WithVulnerability(const Vulnerability &value)
Finding & WithSeverity(Severity &&value)
bool RuleIdHasBeenSet() const
bool VulnerabilityHasBeenSet() const
Finding & WithTitle(const char *value)
void SetStatus(const Status &value)
void SetRuleId(const Aws::String &value)
Finding & WithRuleId(Aws::String &&value)
void SetRemediation(Remediation &&value)
bool RemediationHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_CODEGURUSECURITY_API Finding()
void SetRemediation(const Remediation &value)
const Aws::String & GetType() const
bool TitleHasBeenSet() const
bool ResourceHasBeenSet() const
Finding & AddDetectorTags(Aws::String &&value)
const Aws::Vector< Aws::String > & GetDetectorTags() const
Finding & WithId(Aws::String &&value)
Finding & WithGeneratorId(const Aws::String &value)
Finding & WithType(const char *value)
Finding & WithDescription(const Aws::String &value)
void SetSeverity(const Severity &value)
const Aws::String & GetRuleId() const
const Aws::String & GetDetectorId() const
void SetVulnerability(Vulnerability &&value)
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
bool IdHasBeenSet() const
void SetStatus(Status &&value)
bool DetectorIdHasBeenSet() const
Finding & WithDetectorId(const char *value)
void SetTitle(Aws::String &&value)
void SetDetectorName(Aws::String &&value)
Finding & WithTitle(Aws::String &&value)
void SetId(const Aws::String &value)
void SetRuleId(const char *value)
void SetDetectorName(const Aws::String &value)
Finding & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetDetectorId(const Aws::String &value)
void SetGeneratorId(const char *value)
Finding & WithStatus(Status &&value)
bool DetectorTagsHasBeenSet() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetDescription() const
Finding & WithType(Aws::String &&value)
void SetGeneratorId(const Aws::String &value)
void SetId(const char *value)
void SetRuleId(Aws::String &&value)
Finding & WithDescription(const char *value)
void SetDescription(Aws::String &&value)
Finding & WithDetectorName(Aws::String &&value)
bool UpdatedAtHasBeenSet() const
Finding & WithGeneratorId(Aws::String &&value)
void SetResource(const Resource &value)
void SetDetectorTags(Aws::Vector< Aws::String > &&value)
Finding & WithVulnerability(Vulnerability &&value)
Finding & WithStatus(const Status &value)
Finding & WithResource(const Resource &value)
const Severity & GetSeverity() const
bool GeneratorIdHasBeenSet() const
Finding & WithGeneratorId(const char *value)
void SetTitle(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
Finding & WithTitle(const Aws::String &value)
const Aws::String & GetDetectorName() const
bool SeverityHasBeenSet() const
void SetSeverity(Severity &&value)
void SetDetectorName(const char *value)
void SetGeneratorId(Aws::String &&value)
void SetType(Aws::String &&value)
const Aws::String & GetGeneratorId() const
const Status & GetStatus() const
Finding & WithId(const Aws::String &value)
const Vulnerability & GetVulnerability() const
Finding & WithType(const Aws::String &value)
Finding & WithSeverity(const Severity &value)
Finding & WithDetectorTags(Aws::Vector< Aws::String > &&value)
const Aws::String & GetId() const
const Aws::String & GetTitle() const
Finding & WithRemediation(Remediation &&value)
Finding & WithRuleId(const Aws::String &value)
Finding & WithDetectorTags(const Aws::Vector< Aws::String > &value)
void SetId(Aws::String &&value)
bool TypeHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetDescription(const char *value)
Finding & WithUpdatedAt(const Aws::Utils::DateTime &value)
Finding & WithDetectorId(Aws::String &&value)
Finding & WithDescription(Aws::String &&value)
AWS_CODEGURUSECURITY_API Finding(Aws::Utils::Json::JsonView jsonValue)
Finding & WithRemediation(const Remediation &value)
Finding & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Remediation & GetRemediation() const
const Resource & GetResource() const
Finding & WithRuleId(const char *value)
void SetType(const char *value)
void SetDescription(const Aws::String &value)
Finding & WithResource(Resource &&value)
AWS_CODEGURUSECURITY_API Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
void SetDetectorId(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
Finding & AddDetectorTags(const char *value)
bool DetectorNameHasBeenSet() const
void SetDetectorTags(const Aws::Vector< Aws::String > &value)
Finding & WithId(const char *value)
Finding & WithDetectorName(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
Finding & WithDetectorName(const Aws::String &value)
void SetDetectorId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue