AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMalwareScanSettingsResult.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/ScanResourceCriteria.h>
9#include <aws/guardduty/model/EbsSnapshotPreservation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace GuardDuty
26{
27namespace Model
28{
30 {
31 public:
32 AWS_GUARDDUTY_API GetMalwareScanSettingsResult();
35
36
38
41 inline const ScanResourceCriteria& GetScanResourceCriteria() const{ return m_scanResourceCriteria; }
42 inline void SetScanResourceCriteria(const ScanResourceCriteria& value) { m_scanResourceCriteria = value; }
43 inline void SetScanResourceCriteria(ScanResourceCriteria&& value) { m_scanResourceCriteria = std::move(value); }
47
49
52 inline const EbsSnapshotPreservation& GetEbsSnapshotPreservation() const{ return m_ebsSnapshotPreservation; }
53 inline void SetEbsSnapshotPreservation(const EbsSnapshotPreservation& value) { m_ebsSnapshotPreservation = value; }
54 inline void SetEbsSnapshotPreservation(EbsSnapshotPreservation&& value) { m_ebsSnapshotPreservation = std::move(value); }
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline GetMalwareScanSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline GetMalwareScanSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline GetMalwareScanSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 ScanResourceCriteria m_scanResourceCriteria;
72
73 EbsSnapshotPreservation m_ebsSnapshotPreservation;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace GuardDuty
80} // namespace Aws
void SetEbsSnapshotPreservation(EbsSnapshotPreservation &&value)
void SetScanResourceCriteria(const ScanResourceCriteria &value)
GetMalwareScanSettingsResult & WithScanResourceCriteria(const ScanResourceCriteria &value)
GetMalwareScanSettingsResult & WithEbsSnapshotPreservation(const EbsSnapshotPreservation &value)
GetMalwareScanSettingsResult & WithRequestId(const Aws::String &value)
void SetEbsSnapshotPreservation(const EbsSnapshotPreservation &value)
GetMalwareScanSettingsResult & WithEbsSnapshotPreservation(EbsSnapshotPreservation &&value)
const EbsSnapshotPreservation & GetEbsSnapshotPreservation() const
GetMalwareScanSettingsResult & WithRequestId(const char *value)
GetMalwareScanSettingsResult & WithScanResourceCriteria(ScanResourceCriteria &&value)
AWS_GUARDDUTY_API GetMalwareScanSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMalwareScanSettingsResult & WithRequestId(Aws::String &&value)
AWS_GUARDDUTY_API GetMalwareScanSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue