AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateMalwareScanSettingsRequest.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/ScanResourceCriteria.h>
11#include <aws/guardduty/model/EbsSnapshotPreservation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GuardDuty
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GUARDDUTY_API UpdateMalwareScanSettingsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateMalwareScanSettings"; }
33
34 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
35
36
38
45 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
46 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
47 template<typename DetectorIdT = Aws::String>
48 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::forward<DetectorIdT>(value); }
49 template<typename DetectorIdT = Aws::String>
50 UpdateMalwareScanSettingsRequest& WithDetectorId(DetectorIdT&& value) { SetDetectorId(std::forward<DetectorIdT>(value)); return *this;}
52
54
58 inline const ScanResourceCriteria& GetScanResourceCriteria() const { return m_scanResourceCriteria; }
59 inline bool ScanResourceCriteriaHasBeenSet() const { return m_scanResourceCriteriaHasBeenSet; }
60 template<typename ScanResourceCriteriaT = ScanResourceCriteria>
61 void SetScanResourceCriteria(ScanResourceCriteriaT&& value) { m_scanResourceCriteriaHasBeenSet = true; m_scanResourceCriteria = std::forward<ScanResourceCriteriaT>(value); }
62 template<typename ScanResourceCriteriaT = ScanResourceCriteria>
63 UpdateMalwareScanSettingsRequest& WithScanResourceCriteria(ScanResourceCriteriaT&& value) { SetScanResourceCriteria(std::forward<ScanResourceCriteriaT>(value)); return *this;}
65
67
70 inline EbsSnapshotPreservation GetEbsSnapshotPreservation() const { return m_ebsSnapshotPreservation; }
71 inline bool EbsSnapshotPreservationHasBeenSet() const { return m_ebsSnapshotPreservationHasBeenSet; }
72 inline void SetEbsSnapshotPreservation(EbsSnapshotPreservation value) { m_ebsSnapshotPreservationHasBeenSet = true; m_ebsSnapshotPreservation = value; }
75 private:
76
77 Aws::String m_detectorId;
78 bool m_detectorIdHasBeenSet = false;
79
80 ScanResourceCriteria m_scanResourceCriteria;
81 bool m_scanResourceCriteriaHasBeenSet = false;
82
84 bool m_ebsSnapshotPreservationHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace GuardDuty
89} // namespace Aws
AWS_GUARDDUTY_API UpdateMalwareScanSettingsRequest()=default
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
UpdateMalwareScanSettingsRequest & WithScanResourceCriteria(ScanResourceCriteriaT &&value)
UpdateMalwareScanSettingsRequest & WithDetectorId(DetectorIdT &&value)
UpdateMalwareScanSettingsRequest & WithEbsSnapshotPreservation(EbsSnapshotPreservation value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String