7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/model/SecurityControlsConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
56 inline void SetServiceEnabled(
bool value) { m_serviceEnabledHasBeenSet =
true; m_serviceEnabled = value; }
67 template<
typename EnabledStandardIdentifiersT = Aws::Vector<Aws::String>>
68 void SetEnabledStandardIdentifiers(EnabledStandardIdentifiersT&& value) { m_enabledStandardIdentifiersHasBeenSet =
true; m_enabledStandardIdentifiers = std::forward<EnabledStandardIdentifiersT>(value); }
69 template<
typename EnabledStandardIdentifiersT = Aws::Vector<Aws::String>>
71 template<
typename EnabledStandardIdentifiersT = Aws::String>
72 SecurityHubPolicy&
AddEnabledStandardIdentifiers(EnabledStandardIdentifiersT&& value) { m_enabledStandardIdentifiersHasBeenSet =
true; m_enabledStandardIdentifiers.emplace_back(std::forward<EnabledStandardIdentifiersT>(value));
return *
this; }
83 template<
typename SecurityControlsConfigurationT = SecurityControlsConfiguration>
84 void SetSecurityControlsConfiguration(SecurityControlsConfigurationT&& value) { m_securityControlsConfigurationHasBeenSet =
true; m_securityControlsConfiguration = std::forward<SecurityControlsConfigurationT>(value); }
85 template<
typename SecurityControlsConfigurationT = SecurityControlsConfiguration>
90 bool m_serviceEnabled{
false};
91 bool m_serviceEnabledHasBeenSet =
false;
94 bool m_enabledStandardIdentifiersHasBeenSet =
false;
96 SecurityControlsConfiguration m_securityControlsConfiguration;
97 bool m_securityControlsConfigurationHasBeenSet =
false;
bool GetServiceEnabled() const
bool EnabledStandardIdentifiersHasBeenSet() const
SecurityHubPolicy & WithSecurityControlsConfiguration(SecurityControlsConfigurationT &&value)
SecurityHubPolicy & WithEnabledStandardIdentifiers(EnabledStandardIdentifiersT &&value)
AWS_SECURITYHUB_API SecurityHubPolicy()=default
void SetEnabledStandardIdentifiers(EnabledStandardIdentifiersT &&value)
bool ServiceEnabledHasBeenSet() const
AWS_SECURITYHUB_API SecurityHubPolicy(Aws::Utils::Json::JsonView jsonValue)
SecurityHubPolicy & AddEnabledStandardIdentifiers(EnabledStandardIdentifiersT &&value)
void SetSecurityControlsConfiguration(SecurityControlsConfigurationT &&value)
SecurityHubPolicy & WithServiceEnabled(bool value)
const Aws::Vector< Aws::String > & GetEnabledStandardIdentifiers() const
bool SecurityControlsConfigurationHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const SecurityControlsConfiguration & GetSecurityControlsConfiguration() const
void SetServiceEnabled(bool value)
AWS_SECURITYHUB_API SecurityHubPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue