AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
MalwareProtectionDataSourceFreeTrial.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/DataSourceFreeTrial.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GuardDuty
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GUARDDUTY_API MalwareProtectionDataSourceFreeTrial() = default;
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const DataSourceFreeTrial& GetScanEc2InstanceWithFindings() const { return m_scanEc2InstanceWithFindings; }
47 inline bool ScanEc2InstanceWithFindingsHasBeenSet() const { return m_scanEc2InstanceWithFindingsHasBeenSet; }
48 template<typename ScanEc2InstanceWithFindingsT = DataSourceFreeTrial>
49 void SetScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsT&& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = std::forward<ScanEc2InstanceWithFindingsT>(value); }
50 template<typename ScanEc2InstanceWithFindingsT = DataSourceFreeTrial>
51 MalwareProtectionDataSourceFreeTrial& WithScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsT&& value) { SetScanEc2InstanceWithFindings(std::forward<ScanEc2InstanceWithFindingsT>(value)); return *this;}
53 private:
54
55 DataSourceFreeTrial m_scanEc2InstanceWithFindings;
56 bool m_scanEc2InstanceWithFindingsHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace GuardDuty
61} // namespace Aws
AWS_GUARDDUTY_API MalwareProtectionDataSourceFreeTrial & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API MalwareProtectionDataSourceFreeTrial(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
MalwareProtectionDataSourceFreeTrial & WithScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsT &&value)
Aws::Utils::Json::JsonValue JsonValue