7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/ScanFilePath.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename SeverityT = Aws::String>
63 m_severityHasBeenSet =
true;
64 m_severity = std::forward<SeverityT>(value);
66 template <
typename SeverityT = Aws::String>
80 m_itemCountHasBeenSet =
true;
95 template <
typename FilePathsT = Aws::Vector<ScanFilePath>>
97 m_filePathsHasBeenSet =
true;
98 m_filePaths = std::forward<FilePathsT>(value);
100 template <
typename FilePathsT = Aws::Vector<ScanFilePath>>
105 template <
typename FilePathsT = ScanFilePath>
107 m_filePathsHasBeenSet =
true;
108 m_filePaths.emplace_back(std::forward<FilePathsT>(value));
120 bool m_nameHasBeenSet =
false;
121 bool m_severityHasBeenSet =
false;
122 bool m_itemCountHasBeenSet =
false;
123 bool m_filePathsHasBeenSet =
false;
const Aws::String & GetSeverity() const
ScanThreatName & WithName(NameT &&value)
bool ItemCountHasBeenSet() const
AWS_GUARDDUTY_API ScanThreatName()=default
ScanThreatName & WithSeverity(SeverityT &&value)
const Aws::String & GetName() const
void SetItemCount(int value)
void SetFilePaths(FilePathsT &&value)
ScanThreatName & WithFilePaths(FilePathsT &&value)
ScanThreatName & AddFilePaths(FilePathsT &&value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API ScanThreatName & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API ScanThreatName(Aws::Utils::Json::JsonView jsonValue)
ScanThreatName & WithItemCount(int value)
const Aws::Vector< ScanFilePath > & GetFilePaths() const
bool FilePathsHasBeenSet() const
bool SeverityHasBeenSet() const
void SetSeverity(SeverityT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue