AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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
42 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
43 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
44 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
45 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
46 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
47 inline UpdateMalwareScanSettingsRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
48 inline UpdateMalwareScanSettingsRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
49 inline UpdateMalwareScanSettingsRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
51
53
57 inline const ScanResourceCriteria& GetScanResourceCriteria() const{ return m_scanResourceCriteria; }
58 inline bool ScanResourceCriteriaHasBeenSet() const { return m_scanResourceCriteriaHasBeenSet; }
59 inline void SetScanResourceCriteria(const ScanResourceCriteria& value) { m_scanResourceCriteriaHasBeenSet = true; m_scanResourceCriteria = value; }
60 inline void SetScanResourceCriteria(ScanResourceCriteria&& value) { m_scanResourceCriteriaHasBeenSet = true; m_scanResourceCriteria = std::move(value); }
64
66
69 inline const EbsSnapshotPreservation& GetEbsSnapshotPreservation() const{ return m_ebsSnapshotPreservation; }
70 inline bool EbsSnapshotPreservationHasBeenSet() const { return m_ebsSnapshotPreservationHasBeenSet; }
71 inline void SetEbsSnapshotPreservation(const EbsSnapshotPreservation& value) { m_ebsSnapshotPreservationHasBeenSet = true; m_ebsSnapshotPreservation = value; }
72 inline void SetEbsSnapshotPreservation(EbsSnapshotPreservation&& value) { m_ebsSnapshotPreservationHasBeenSet = true; m_ebsSnapshotPreservation = std::move(value); }
76 private:
77
78 Aws::String m_detectorId;
79 bool m_detectorIdHasBeenSet = false;
80
81 ScanResourceCriteria m_scanResourceCriteria;
82 bool m_scanResourceCriteriaHasBeenSet = false;
83
84 EbsSnapshotPreservation m_ebsSnapshotPreservation;
85 bool m_ebsSnapshotPreservationHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace GuardDuty
90} // namespace Aws
UpdateMalwareScanSettingsRequest & WithEbsSnapshotPreservation(EbsSnapshotPreservation &&value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
UpdateMalwareScanSettingsRequest & WithScanResourceCriteria(ScanResourceCriteria &&value)
UpdateMalwareScanSettingsRequest & WithDetectorId(const char *value)
UpdateMalwareScanSettingsRequest & WithDetectorId(const Aws::String &value)
UpdateMalwareScanSettingsRequest & WithEbsSnapshotPreservation(const EbsSnapshotPreservation &value)
void SetEbsSnapshotPreservation(const EbsSnapshotPreservation &value)
UpdateMalwareScanSettingsRequest & WithScanResourceCriteria(const ScanResourceCriteria &value)
UpdateMalwareScanSettingsRequest & WithDetectorId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String