7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/model/ScanFilePath.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
61 template<
typename SeverityT = Aws::String>
62 void SetSeverity(SeverityT&& value) { m_severityHasBeenSet =
true; m_severity = std::forward<SeverityT>(value); }
63 template<
typename SeverityT = Aws::String>
73 inline void SetItemCount(
int value) { m_itemCountHasBeenSet =
true; m_itemCount = value; }
83 template<
typename FilePathsT = Aws::Vector<ScanFilePath>>
84 void SetFilePaths(FilePathsT&& value) { m_filePathsHasBeenSet =
true; m_filePaths = std::forward<FilePathsT>(value); }
85 template<
typename FilePathsT = Aws::Vector<ScanFilePath>>
87 template<
typename FilePathsT = ScanFilePath>
88 ScanThreatName&
AddFilePaths(FilePathsT&& value) { m_filePathsHasBeenSet =
true; m_filePaths.emplace_back(std::forward<FilePathsT>(value));
return *
this; }
93 bool m_nameHasBeenSet =
false;
96 bool m_severityHasBeenSet =
false;
99 bool m_itemCountHasBeenSet =
false;
102 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