7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/FilePaths.h>
37 AWS_SECURITYHUB_API
Threat() =
default;
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
63 template<
typename SeverityT = Aws::String>
64 void SetSeverity(SeverityT&& value) { m_severityHasBeenSet =
true; m_severity = std::forward<SeverityT>(value); }
65 template<
typename SeverityT = Aws::String>
75 inline void SetItemCount(
int value) { m_itemCountHasBeenSet =
true; m_itemCount = value; }
86 template<
typename FilePathsT = Aws::Vector<FilePaths>>
87 void SetFilePaths(FilePathsT&& value) { m_filePathsHasBeenSet =
true; m_filePaths = std::forward<FilePathsT>(value); }
88 template<
typename FilePathsT = Aws::Vector<FilePaths>>
90 template<
typename FilePathsT = FilePaths>
91 Threat&
AddFilePaths(FilePathsT&& value) { m_filePathsHasBeenSet =
true; m_filePaths.emplace_back(std::forward<FilePathsT>(value));
return *
this; }
96 bool m_nameHasBeenSet =
false;
99 bool m_severityHasBeenSet =
false;
102 bool m_itemCountHasBeenSet =
false;
105 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