AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MalwareProtectionConfigurationResult.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/ScanEc2InstanceWithFindingsResult.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const ScanEc2InstanceWithFindingsResult& GetScanEc2InstanceWithFindings() const{ return m_scanEc2InstanceWithFindings; }
48 inline bool ScanEc2InstanceWithFindingsHasBeenSet() const { return m_scanEc2InstanceWithFindingsHasBeenSet; }
49 inline void SetScanEc2InstanceWithFindings(const ScanEc2InstanceWithFindingsResult& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = value; }
50 inline void SetScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsResult&& value) { m_scanEc2InstanceWithFindingsHasBeenSet = true; m_scanEc2InstanceWithFindings = std::move(value); }
54
56
59 inline const Aws::String& GetServiceRole() const{ return m_serviceRole; }
60 inline bool ServiceRoleHasBeenSet() const { return m_serviceRoleHasBeenSet; }
61 inline void SetServiceRole(const Aws::String& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = value; }
62 inline void SetServiceRole(Aws::String&& value) { m_serviceRoleHasBeenSet = true; m_serviceRole = std::move(value); }
63 inline void SetServiceRole(const char* value) { m_serviceRoleHasBeenSet = true; m_serviceRole.assign(value); }
65 inline MalwareProtectionConfigurationResult& WithServiceRole(Aws::String&& value) { SetServiceRole(std::move(value)); return *this;}
66 inline MalwareProtectionConfigurationResult& WithServiceRole(const char* value) { SetServiceRole(value); return *this;}
68 private:
69
70 ScanEc2InstanceWithFindingsResult m_scanEc2InstanceWithFindings;
71 bool m_scanEc2InstanceWithFindingsHasBeenSet = false;
72
73 Aws::String m_serviceRole;
74 bool m_serviceRoleHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace GuardDuty
79} // namespace Aws
MalwareProtectionConfigurationResult & WithScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsResult &&value)
const ScanEc2InstanceWithFindingsResult & GetScanEc2InstanceWithFindings() const
AWS_GUARDDUTY_API MalwareProtectionConfigurationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
MalwareProtectionConfigurationResult & WithScanEc2InstanceWithFindings(const ScanEc2InstanceWithFindingsResult &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsResult &&value)
AWS_GUARDDUTY_API MalwareProtectionConfigurationResult(Aws::Utils::Json::JsonView jsonValue)
MalwareProtectionConfigurationResult & WithServiceRole(const char *value)
MalwareProtectionConfigurationResult & WithServiceRole(const Aws::String &value)
void SetScanEc2InstanceWithFindings(const ScanEc2InstanceWithFindingsResult &value)
MalwareProtectionConfigurationResult & WithServiceRole(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue