7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/CodeVulnerabilitiesFilePath.h>
45 template <
typename CwesT = Aws::Vector<Aws::String>>
47 m_cwesHasBeenSet =
true;
48 m_cwes = std::forward<CwesT>(value);
50 template <
typename CwesT = Aws::Vector<Aws::String>>
52 SetCwes(std::forward<CwesT>(value));
55 template <
typename CwesT = Aws::String>
57 m_cwesHasBeenSet =
true;
58 m_cwes.emplace_back(std::forward<CwesT>(value));
70 template <
typename FilePathT = CodeVulnerabilitiesFilePath>
72 m_filePathHasBeenSet =
true;
73 m_filePath = std::forward<FilePathT>(value);
75 template <
typename FilePathT = CodeVulnerabilitiesFilePath>
89 template <
typename SourceArnT = Aws::String>
91 m_sourceArnHasBeenSet =
true;
92 m_sourceArn = std::forward<SourceArnT>(value);
94 template <
typename SourceArnT = Aws::String>
106 bool m_cwesHasBeenSet =
false;
107 bool m_filePathHasBeenSet =
false;
108 bool m_sourceArnHasBeenSet =
false;
void SetFilePath(FilePathT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const CodeVulnerabilitiesFilePath & GetFilePath() const
void SetCwes(CwesT &&value)
VulnerabilityCodeVulnerabilities & WithCwes(CwesT &&value)
AWS_SECURITYHUB_API VulnerabilityCodeVulnerabilities()=default
VulnerabilityCodeVulnerabilities & AddCwes(CwesT &&value)
AWS_SECURITYHUB_API VulnerabilityCodeVulnerabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CwesHasBeenSet() const
AWS_SECURITYHUB_API VulnerabilityCodeVulnerabilities(Aws::Utils::Json::JsonView jsonValue)
void SetSourceArn(SourceArnT &&value)
VulnerabilityCodeVulnerabilities & WithSourceArn(SourceArnT &&value)
bool SourceArnHasBeenSet() const
VulnerabilityCodeVulnerabilities & WithFilePath(FilePathT &&value)
bool FilePathHasBeenSet() const
const Aws::String & GetSourceArn() const
const Aws::Vector< Aws::String > & GetCwes() 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