AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MalwareScanDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/model/Threat.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GUARDDUTY_API MalwareScanDetails();
37 AWS_GUARDDUTY_API MalwareScanDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Threat>& GetThreats() const{ return m_threats; }
48 inline bool ThreatsHasBeenSet() const { return m_threatsHasBeenSet; }
49 inline void SetThreats(const Aws::Vector<Threat>& value) { m_threatsHasBeenSet = true; m_threats = value; }
50 inline void SetThreats(Aws::Vector<Threat>&& value) { m_threatsHasBeenSet = true; m_threats = std::move(value); }
51 inline MalwareScanDetails& WithThreats(const Aws::Vector<Threat>& value) { SetThreats(value); return *this;}
52 inline MalwareScanDetails& WithThreats(Aws::Vector<Threat>&& value) { SetThreats(std::move(value)); return *this;}
53 inline MalwareScanDetails& AddThreats(const Threat& value) { m_threatsHasBeenSet = true; m_threats.push_back(value); return *this; }
54 inline MalwareScanDetails& AddThreats(Threat&& value) { m_threatsHasBeenSet = true; m_threats.push_back(std::move(value)); return *this; }
56 private:
57
58 Aws::Vector<Threat> m_threats;
59 bool m_threatsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace GuardDuty
64} // namespace Aws
void SetThreats(Aws::Vector< Threat > &&value)
MalwareScanDetails & AddThreats(const Threat &value)
AWS_GUARDDUTY_API MalwareScanDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
MalwareScanDetails & WithThreats(const Aws::Vector< Threat > &value)
const Aws::Vector< Threat > & GetThreats() const
MalwareScanDetails & WithThreats(Aws::Vector< Threat > &&value)
void SetThreats(const Aws::Vector< Threat > &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
MalwareScanDetails & AddThreats(Threat &&value)
AWS_GUARDDUTY_API MalwareScanDetails(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue