AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScanDetections.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/ScannedItemCount.h>
9#include <aws/guardduty/model/ThreatsDetectedItemCount.h>
10#include <aws/guardduty/model/HighestSeverityThreatDetails.h>
11#include <aws/guardduty/model/ThreatDetectedByName.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GuardDuty
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GUARDDUTY_API ScanDetections();
39 AWS_GUARDDUTY_API ScanDetections(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const ScannedItemCount& GetScannedItemCount() const{ return m_scannedItemCount; }
49 inline bool ScannedItemCountHasBeenSet() const { return m_scannedItemCountHasBeenSet; }
50 inline void SetScannedItemCount(const ScannedItemCount& value) { m_scannedItemCountHasBeenSet = true; m_scannedItemCount = value; }
51 inline void SetScannedItemCount(ScannedItemCount&& value) { m_scannedItemCountHasBeenSet = true; m_scannedItemCount = std::move(value); }
52 inline ScanDetections& WithScannedItemCount(const ScannedItemCount& value) { SetScannedItemCount(value); return *this;}
53 inline ScanDetections& WithScannedItemCount(ScannedItemCount&& value) { SetScannedItemCount(std::move(value)); return *this;}
55
57
60 inline const ThreatsDetectedItemCount& GetThreatsDetectedItemCount() const{ return m_threatsDetectedItemCount; }
61 inline bool ThreatsDetectedItemCountHasBeenSet() const { return m_threatsDetectedItemCountHasBeenSet; }
62 inline void SetThreatsDetectedItemCount(const ThreatsDetectedItemCount& value) { m_threatsDetectedItemCountHasBeenSet = true; m_threatsDetectedItemCount = value; }
63 inline void SetThreatsDetectedItemCount(ThreatsDetectedItemCount&& value) { m_threatsDetectedItemCountHasBeenSet = true; m_threatsDetectedItemCount = std::move(value); }
67
69
73 inline const HighestSeverityThreatDetails& GetHighestSeverityThreatDetails() const{ return m_highestSeverityThreatDetails; }
74 inline bool HighestSeverityThreatDetailsHasBeenSet() const { return m_highestSeverityThreatDetailsHasBeenSet; }
75 inline void SetHighestSeverityThreatDetails(const HighestSeverityThreatDetails& value) { m_highestSeverityThreatDetailsHasBeenSet = true; m_highestSeverityThreatDetails = value; }
76 inline void SetHighestSeverityThreatDetails(HighestSeverityThreatDetails&& value) { m_highestSeverityThreatDetailsHasBeenSet = true; m_highestSeverityThreatDetails = std::move(value); }
80
82
85 inline const ThreatDetectedByName& GetThreatDetectedByName() const{ return m_threatDetectedByName; }
86 inline bool ThreatDetectedByNameHasBeenSet() const { return m_threatDetectedByNameHasBeenSet; }
87 inline void SetThreatDetectedByName(const ThreatDetectedByName& value) { m_threatDetectedByNameHasBeenSet = true; m_threatDetectedByName = value; }
88 inline void SetThreatDetectedByName(ThreatDetectedByName&& value) { m_threatDetectedByNameHasBeenSet = true; m_threatDetectedByName = std::move(value); }
90 inline ScanDetections& WithThreatDetectedByName(ThreatDetectedByName&& value) { SetThreatDetectedByName(std::move(value)); return *this;}
92 private:
93
94 ScannedItemCount m_scannedItemCount;
95 bool m_scannedItemCountHasBeenSet = false;
96
97 ThreatsDetectedItemCount m_threatsDetectedItemCount;
98 bool m_threatsDetectedItemCountHasBeenSet = false;
99
100 HighestSeverityThreatDetails m_highestSeverityThreatDetails;
101 bool m_highestSeverityThreatDetailsHasBeenSet = false;
102
103 ThreatDetectedByName m_threatDetectedByName;
104 bool m_threatDetectedByNameHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace GuardDuty
109} // namespace Aws
void SetThreatsDetectedItemCount(ThreatsDetectedItemCount &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const ScannedItemCount & GetScannedItemCount() const
void SetScannedItemCount(ScannedItemCount &&value)
ScanDetections & WithHighestSeverityThreatDetails(const HighestSeverityThreatDetails &value)
ScanDetections & WithThreatDetectedByName(ThreatDetectedByName &&value)
ScanDetections & WithScannedItemCount(ScannedItemCount &&value)
void SetThreatDetectedByName(ThreatDetectedByName &&value)
const ThreatsDetectedItemCount & GetThreatsDetectedItemCount() const
ScanDetections & WithHighestSeverityThreatDetails(HighestSeverityThreatDetails &&value)
ScanDetections & WithThreatsDetectedItemCount(const ThreatsDetectedItemCount &value)
void SetThreatDetectedByName(const ThreatDetectedByName &value)
ScanDetections & WithThreatsDetectedItemCount(ThreatsDetectedItemCount &&value)
AWS_GUARDDUTY_API ScanDetections & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHighestSeverityThreatDetails(HighestSeverityThreatDetails &&value)
ScanDetections & WithThreatDetectedByName(const ThreatDetectedByName &value)
void SetHighestSeverityThreatDetails(const HighestSeverityThreatDetails &value)
const HighestSeverityThreatDetails & GetHighestSeverityThreatDetails() const
AWS_GUARDDUTY_API ScanDetections(Aws::Utils::Json::JsonView jsonValue)
const ThreatDetectedByName & GetThreatDetectedByName() const
void SetScannedItemCount(const ScannedItemCount &value)
ScanDetections & WithScannedItemCount(const ScannedItemCount &value)
void SetThreatsDetectedItemCount(const ThreatsDetectedItemCount &value)
Aws::Utils::Json::JsonValue JsonValue