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/FilePaths.h>
32 AWS_SECURITYHUB_API
Threat() =
default;
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
63 template <
typename SeverityT = Aws::String>
65 m_severityHasBeenSet =
true;
66 m_severity = std::forward<SeverityT>(value);
68 template <
typename SeverityT = Aws::String>
82 m_itemCountHasBeenSet =
true;
98 template <
typename FilePathsT = Aws::Vector<FilePaths>>
100 m_filePathsHasBeenSet =
true;
101 m_filePaths = std::forward<FilePathsT>(value);
103 template <
typename FilePathsT = Aws::Vector<FilePaths>>
108 template <
typename FilePathsT = FilePaths>
110 m_filePathsHasBeenSet =
true;
111 m_filePaths.emplace_back(std::forward<FilePathsT>(value));
123 bool m_nameHasBeenSet =
false;
124 bool m_severityHasBeenSet =
false;
125 bool m_itemCountHasBeenSet =
false;
126 bool m_filePathsHasBeenSet =
false;
bool FilePathsHasBeenSet() const
Threat & WithFilePaths(FilePathsT &&value)
void SetItemCount(int value)
void SetFilePaths(FilePathsT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
AWS_SECURITYHUB_API Threat & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Threat()=default
const Aws::String & GetSeverity() const
AWS_SECURITYHUB_API Threat(Aws::Utils::Json::JsonView jsonValue)
Threat & AddFilePaths(FilePathsT &&value)
void SetSeverity(SeverityT &&value)
bool SeverityHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Threat & WithItemCount(int value)
const Aws::Vector< FilePaths > & GetFilePaths() const
Threat & WithName(NameT &&value)
bool NameHasBeenSet() const
Threat & WithSeverity(SeverityT &&value)
bool ItemCountHasBeenSet() 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