/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include namespace Aws { namespace SecurityHub { namespace Model { /** */ class AWS_SECURITYHUB_API UpdateSecurityHubConfigurationRequest : public SecurityHubRequest { public: UpdateSecurityHubConfigurationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateSecurityHubConfiguration"; } Aws::String SerializePayload() const override; /** *

Whether to automatically enable new controls when they are added to standards * that are enabled.

By default, this is set to true, and new * controls are enabled automatically. To not automatically enable new controls, * set this to false.

*/ inline bool GetAutoEnableControls() const{ return m_autoEnableControls; } /** *

Whether to automatically enable new controls when they are added to standards * that are enabled.

By default, this is set to true, and new * controls are enabled automatically. To not automatically enable new controls, * set this to false.

*/ inline bool AutoEnableControlsHasBeenSet() const { return m_autoEnableControlsHasBeenSet; } /** *

Whether to automatically enable new controls when they are added to standards * that are enabled.

By default, this is set to true, and new * controls are enabled automatically. To not automatically enable new controls, * set this to false.

*/ inline void SetAutoEnableControls(bool value) { m_autoEnableControlsHasBeenSet = true; m_autoEnableControls = value; } /** *

Whether to automatically enable new controls when they are added to standards * that are enabled.

By default, this is set to true, and new * controls are enabled automatically. To not automatically enable new controls, * set this to false.

*/ inline UpdateSecurityHubConfigurationRequest& WithAutoEnableControls(bool value) { SetAutoEnableControls(value); return *this;} private: bool m_autoEnableControls; bool m_autoEnableControlsHasBeenSet; }; } // namespace Model } // namespace SecurityHub } // namespace Aws