AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
ScanAction.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/MalwareScanner.h>
9#include <aws/backup/model/ScanMode.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Backup {
21namespace Model {
22
30 public:
31 AWS_BACKUP_API ScanAction() = default;
32 AWS_BACKUP_API ScanAction(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline MalwareScanner GetMalwareScanner() const { return m_malwareScanner; }
42 inline bool MalwareScannerHasBeenSet() const { return m_malwareScannerHasBeenSet; }
43 inline void SetMalwareScanner(MalwareScanner value) {
44 m_malwareScannerHasBeenSet = true;
45 m_malwareScanner = value;
46 }
48 SetMalwareScanner(value);
49 return *this;
50 }
52
54
58 inline ScanMode GetScanMode() const { return m_scanMode; }
59 inline bool ScanModeHasBeenSet() const { return m_scanModeHasBeenSet; }
60 inline void SetScanMode(ScanMode value) {
61 m_scanModeHasBeenSet = true;
62 m_scanMode = value;
63 }
65 SetScanMode(value);
66 return *this;
67 }
69 private:
71
72 ScanMode m_scanMode{ScanMode::NOT_SET};
73 bool m_malwareScannerHasBeenSet = false;
74 bool m_scanModeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Backup
79} // namespace Aws
ScanMode GetScanMode() const
Definition ScanAction.h:58
void SetScanMode(ScanMode value)
Definition ScanAction.h:60
MalwareScanner GetMalwareScanner() const
Definition ScanAction.h:41
AWS_BACKUP_API ScanAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMalwareScanner(MalwareScanner value)
Definition ScanAction.h:43
AWS_BACKUP_API ScanAction(Aws::Utils::Json::JsonView jsonValue)
bool MalwareScannerHasBeenSet() const
Definition ScanAction.h:42
AWS_BACKUP_API ScanAction()=default
ScanAction & WithMalwareScanner(MalwareScanner value)
Definition ScanAction.h:47
ScanAction & WithScanMode(ScanMode value)
Definition ScanAction.h:64
Aws::Utils::Json::JsonValue JsonValue