7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/model/Threat.h>
49 template<
typename ThreatsT = Aws::Vector<Threat>>
50 void SetThreats(ThreatsT&& value) { m_threatsHasBeenSet =
true; m_threats = std::forward<ThreatsT>(value); }
51 template<
typename ThreatsT = Aws::Vector<Threat>>
53 template<
typename ThreatsT = Threat>
54 MalwareScanDetails&
AddThreats(ThreatsT&& value) { m_threatsHasBeenSet =
true; m_threats.emplace_back(std::forward<ThreatsT>(value));
return *
this; }
59 bool m_threatsHasBeenSet =
false;
bool ThreatsHasBeenSet() const
AWS_GUARDDUTY_API MalwareScanDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetThreats(ThreatsT &&value)
MalwareScanDetails & WithThreats(ThreatsT &&value)
const Aws::Vector< Threat > & GetThreats() const
AWS_GUARDDUTY_API MalwareScanDetails()=default
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API MalwareScanDetails(Aws::Utils::Json::JsonView jsonValue)
MalwareScanDetails & AddThreats(ThreatsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue