7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/codeguru-security/model/FilePath.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace CodeGuruSecurity {
43 template <
typename ReferenceUrlsT = Aws::Vector<Aws::String>>
45 m_referenceUrlsHasBeenSet =
true;
46 m_referenceUrls = std::forward<ReferenceUrlsT>(value);
48 template <
typename ReferenceUrlsT = Aws::Vector<Aws::String>>
53 template <
typename ReferenceUrlsT = Aws::String>
55 m_referenceUrlsHasBeenSet =
true;
56 m_referenceUrls.emplace_back(std::forward<ReferenceUrlsT>(value));
68 template <
typename RelatedVulnerabilitiesT = Aws::Vector<Aws::String>>
70 m_relatedVulnerabilitiesHasBeenSet =
true;
71 m_relatedVulnerabilities = std::forward<RelatedVulnerabilitiesT>(value);
73 template <
typename RelatedVulnerabilitiesT = Aws::Vector<Aws::String>>
78 template <
typename RelatedVulnerabilitiesT = Aws::String>
80 m_relatedVulnerabilitiesHasBeenSet =
true;
81 m_relatedVulnerabilities.emplace_back(std::forward<RelatedVulnerabilitiesT>(value));
92 template <
typename IdT = Aws::String>
94 m_idHasBeenSet =
true;
95 m_id = std::forward<IdT>(value);
97 template <
typename IdT = Aws::String>
99 SetId(std::forward<IdT>(value));
111 template <
typename FilePathT = FilePath>
113 m_filePathHasBeenSet =
true;
114 m_filePath = std::forward<FilePathT>(value);
116 template <
typename FilePathT = FilePath>
130 bool m_referenceUrlsHasBeenSet =
false;
131 bool m_relatedVulnerabilitiesHasBeenSet =
false;
132 bool m_idHasBeenSet =
false;
133 bool m_filePathHasBeenSet =
false;
Vulnerability & WithFilePath(FilePathT &&value)
void SetReferenceUrls(ReferenceUrlsT &&value)
bool ReferenceUrlsHasBeenSet() const
bool IdHasBeenSet() const
const FilePath & GetFilePath() const
void SetFilePath(FilePathT &&value)
Vulnerability & AddRelatedVulnerabilities(RelatedVulnerabilitiesT &&value)
AWS_CODEGURUSECURITY_API Vulnerability()=default
Vulnerability & WithReferenceUrls(ReferenceUrlsT &&value)
bool FilePathHasBeenSet() const
Vulnerability & WithId(IdT &&value)
AWS_CODEGURUSECURITY_API Vulnerability(Aws::Utils::Json::JsonView jsonValue)
bool RelatedVulnerabilitiesHasBeenSet() const
const Aws::Vector< Aws::String > & GetRelatedVulnerabilities() const
AWS_CODEGURUSECURITY_API Vulnerability & operator=(Aws::Utils::Json::JsonView jsonValue)
Vulnerability & AddReferenceUrls(ReferenceUrlsT &&value)
Vulnerability & WithRelatedVulnerabilities(RelatedVulnerabilitiesT &&value)
const Aws::Vector< Aws::String > & GetReferenceUrls() const
const Aws::String & GetId() const
void SetRelatedVulnerabilities(RelatedVulnerabilitiesT &&value)
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() 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