7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/codeguru-security/model/Remediation.h>
9#include <aws/codeguru-security/model/Resource.h>
10#include <aws/codeguru-security/model/Severity.h>
11#include <aws/codeguru-security/model/Status.h>
12#include <aws/codeguru-security/model/Vulnerability.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
26namespace CodeGuruSecurity {
37 AWS_CODEGURUSECURITY_API
Finding() =
default;
48 template <
typename CreatedAtT = Aws::Utils::DateTime>
50 m_createdAtHasBeenSet =
true;
51 m_createdAt = std::forward<CreatedAtT>(value);
53 template <
typename CreatedAtT = Aws::Utils::DateTime>
66 template <
typename DescriptionT = Aws::String>
68 m_descriptionHasBeenSet =
true;
69 m_description = std::forward<DescriptionT>(value);
71 template <
typename DescriptionT = Aws::String>
85 template <
typename GeneratorIdT = Aws::String>
87 m_generatorIdHasBeenSet =
true;
88 m_generatorId = std::forward<GeneratorIdT>(value);
90 template <
typename GeneratorIdT = Aws::String>
103 template <
typename IdT = Aws::String>
105 m_idHasBeenSet =
true;
106 m_id = std::forward<IdT>(value);
108 template <
typename IdT = Aws::String>
110 SetId(std::forward<IdT>(value));
122 template <
typename UpdatedAtT = Aws::Utils::DateTime>
124 m_updatedAtHasBeenSet =
true;
125 m_updatedAt = std::forward<UpdatedAtT>(value);
127 template <
typename UpdatedAtT = Aws::Utils::DateTime>
140 template <
typename TypeT = Aws::String>
142 m_typeHasBeenSet =
true;
143 m_type = std::forward<TypeT>(value);
145 template <
typename TypeT = Aws::String>
147 SetType(std::forward<TypeT>(value));
159 m_statusHasBeenSet =
true;
174 template <
typename ResourceT = Resource>
176 m_resourceHasBeenSet =
true;
177 m_resource = std::forward<ResourceT>(value);
179 template <
typename ResourceT = Resource>
192 template <
typename VulnerabilityT = Vulnerability>
194 m_vulnerabilityHasBeenSet =
true;
195 m_vulnerability = std::forward<VulnerabilityT>(value);
197 template <
typename VulnerabilityT = Vulnerability>
214 m_severityHasBeenSet =
true;
229 template <
typename RemediationT = Remediation>
231 m_remediationHasBeenSet =
true;
232 m_remediation = std::forward<RemediationT>(value);
234 template <
typename RemediationT = Remediation>
247 template <
typename TitleT = Aws::String>
249 m_titleHasBeenSet =
true;
250 m_title = std::forward<TitleT>(value);
252 template <
typename TitleT = Aws::String>
254 SetTitle(std::forward<TitleT>(value));
267 template <
typename DetectorTagsT = Aws::Vector<Aws::String>>
269 m_detectorTagsHasBeenSet =
true;
270 m_detectorTags = std::forward<DetectorTagsT>(value);
272 template <
typename DetectorTagsT = Aws::Vector<Aws::String>>
277 template <
typename DetectorTagsT = Aws::String>
279 m_detectorTagsHasBeenSet =
true;
280 m_detectorTags.emplace_back(std::forward<DetectorTagsT>(value));
293 template <
typename DetectorIdT = Aws::String>
295 m_detectorIdHasBeenSet =
true;
296 m_detectorId = std::forward<DetectorIdT>(value);
298 template <
typename DetectorIdT = Aws::String>
312 template <
typename DetectorNameT = Aws::String>
314 m_detectorNameHasBeenSet =
true;
315 m_detectorName = std::forward<DetectorNameT>(value);
317 template <
typename DetectorNameT = Aws::String>
330 template <
typename RuleIdT = Aws::String>
332 m_ruleIdHasBeenSet =
true;
333 m_ruleId = std::forward<RuleIdT>(value);
335 template <
typename RuleIdT = Aws::String>
358 Vulnerability m_vulnerability;
362 Remediation m_remediation;
373 bool m_createdAtHasBeenSet =
false;
374 bool m_descriptionHasBeenSet =
false;
375 bool m_generatorIdHasBeenSet =
false;
376 bool m_idHasBeenSet =
false;
377 bool m_updatedAtHasBeenSet =
false;
378 bool m_typeHasBeenSet =
false;
379 bool m_statusHasBeenSet =
false;
380 bool m_resourceHasBeenSet =
false;
381 bool m_vulnerabilityHasBeenSet =
false;
382 bool m_severityHasBeenSet =
false;
383 bool m_remediationHasBeenSet =
false;
384 bool m_titleHasBeenSet =
false;
385 bool m_detectorTagsHasBeenSet =
false;
386 bool m_detectorIdHasBeenSet =
false;
387 bool m_detectorNameHasBeenSet =
false;
388 bool m_ruleIdHasBeenSet =
false;
void SetRemediation(RemediationT &&value)
bool StatusHasBeenSet() const
Finding & WithDescription(DescriptionT &&value)
Finding & WithTitle(TitleT &&value)
bool RuleIdHasBeenSet() const
void SetVulnerability(VulnerabilityT &&value)
bool VulnerabilityHasBeenSet() const
AWS_CODEGURUSECURITY_API Finding()=default
Finding & WithStatus(Status value)
void SetDetectorTags(DetectorTagsT &&value)
void SetTitle(TitleT &&value)
bool RemediationHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetType() const
bool TitleHasBeenSet() const
bool ResourceHasBeenSet() const
const Aws::Vector< Aws::String > & GetDetectorTags() const
const Aws::String & GetRuleId() const
const Aws::String & GetDetectorId() const
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
bool IdHasBeenSet() const
bool DetectorIdHasBeenSet() const
void SetType(TypeT &&value)
Finding & WithVulnerability(VulnerabilityT &&value)
void SetSeverity(Severity value)
Finding & WithType(TypeT &&value)
bool DetectorTagsHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetGeneratorId(GeneratorIdT &&value)
Finding & WithResource(ResourceT &&value)
Finding & WithRuleId(RuleIdT &&value)
bool UpdatedAtHasBeenSet() const
void SetStatus(Status value)
Finding & WithGeneratorId(GeneratorIdT &&value)
bool GeneratorIdHasBeenSet() const
Finding & WithId(IdT &&value)
const Aws::String & GetDetectorName() const
bool SeverityHasBeenSet() const
Finding & WithDetectorId(DetectorIdT &&value)
Severity GetSeverity() const
const Aws::String & GetGeneratorId() const
const Vulnerability & GetVulnerability() const
const Aws::String & GetId() const
const Aws::String & GetTitle() const
Finding & WithDetectorName(DetectorNameT &&value)
Finding & WithCreatedAt(CreatedAtT &&value)
bool TypeHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetRuleId(RuleIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
Finding & WithDetectorTags(DetectorTagsT &&value)
Finding & AddDetectorTags(DetectorTagsT &&value)
void SetDetectorName(DetectorNameT &&value)
void SetDetectorId(DetectorIdT &&value)
AWS_CODEGURUSECURITY_API Finding(Aws::Utils::Json::JsonView jsonValue)
Finding & WithUpdatedAt(UpdatedAtT &&value)
const Remediation & GetRemediation() const
void SetUpdatedAt(UpdatedAtT &&value)
const Resource & GetResource() const
Finding & WithRemediation(RemediationT &&value)
AWS_CODEGURUSECURITY_API Finding & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
void SetResource(ResourceT &&value)
bool DetectorNameHasBeenSet() const
Finding & WithSeverity(Severity value)
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue