AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
MalwareProtectionFindingsScanConfiguration.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/IncrementalScanDetails.h>
9#include <aws/guardduty/model/TriggerType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GuardDuty {
21namespace Model {
22
30 public:
31 AWS_GUARDDUTY_API MalwareProtectionFindingsScanConfiguration() = default;
34 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline TriggerType GetTriggerType() const { return m_triggerType; }
41 inline bool TriggerTypeHasBeenSet() const { return m_triggerTypeHasBeenSet; }
42 inline void SetTriggerType(TriggerType value) {
43 m_triggerTypeHasBeenSet = true;
44 m_triggerType = value;
45 }
47 SetTriggerType(value);
48 return *this;
49 }
51
53
54 inline const IncrementalScanDetails& GetIncrementalScanDetails() const { return m_incrementalScanDetails; }
55 inline bool IncrementalScanDetailsHasBeenSet() const { return m_incrementalScanDetailsHasBeenSet; }
56 template <typename IncrementalScanDetailsT = IncrementalScanDetails>
57 void SetIncrementalScanDetails(IncrementalScanDetailsT&& value) {
58 m_incrementalScanDetailsHasBeenSet = true;
59 m_incrementalScanDetails = std::forward<IncrementalScanDetailsT>(value);
60 }
61 template <typename IncrementalScanDetailsT = IncrementalScanDetails>
63 SetIncrementalScanDetails(std::forward<IncrementalScanDetailsT>(value));
64 return *this;
65 }
67 private:
68 TriggerType m_triggerType{TriggerType::NOT_SET};
69
70 IncrementalScanDetails m_incrementalScanDetails;
71 bool m_triggerTypeHasBeenSet = false;
72 bool m_incrementalScanDetailsHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace GuardDuty
77} // namespace Aws
AWS_GUARDDUTY_API MalwareProtectionFindingsScanConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API MalwareProtectionFindingsScanConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
MalwareProtectionFindingsScanConfiguration & WithIncrementalScanDetails(IncrementalScanDetailsT &&value)
MalwareProtectionFindingsScanConfiguration & WithTriggerType(TriggerType value)
Aws::Utils::Json::JsonValue JsonValue