7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/ScanEc2InstanceWithFindingsResult.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
63 inline void SetServiceRole(
const char* value) { m_serviceRoleHasBeenSet =
true; m_serviceRole.assign(value); }
71 bool m_scanEc2InstanceWithFindingsHasBeenSet =
false;
74 bool m_serviceRoleHasBeenSet =
false;
MalwareProtectionConfigurationResult & WithScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsResult &&value)
const ScanEc2InstanceWithFindingsResult & GetScanEc2InstanceWithFindings() const
void SetServiceRole(const Aws::String &value)
AWS_GUARDDUTY_API MalwareProtectionConfigurationResult & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ScanEc2InstanceWithFindingsHasBeenSet() const
bool ServiceRoleHasBeenSet() const
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)
void SetServiceRole(Aws::String &&value)
MalwareProtectionConfigurationResult & WithServiceRole(const char *value)
MalwareProtectionConfigurationResult & WithServiceRole(const Aws::String &value)
const Aws::String & GetServiceRole() const
void SetScanEc2InstanceWithFindings(const ScanEc2InstanceWithFindingsResult &value)
AWS_GUARDDUTY_API MalwareProtectionConfigurationResult()
void SetServiceRole(const char *value)
MalwareProtectionConfigurationResult & WithServiceRole(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue