AWS SDK for C++  1.9.130
AWS SDK for C++
UpdateSecurityHubConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
9 
10 namespace Aws
11 {
12 namespace SecurityHub
13 {
14 namespace Model
15 {
16 
20  {
21  public:
23 
24  // Service request name is the Operation name which will send this request out,
25  // each operation should has unique request name, so that we can get operation's name from this request.
26  // Note: this is not true for response, multiple operations may have the same response name,
27  // so we can not get operation's name from response.
28  inline virtual const char* GetServiceRequestName() const override { return "UpdateSecurityHubConfiguration"; }
29 
30  Aws::String SerializePayload() const override;
31 
32 
39  inline bool GetAutoEnableControls() const{ return m_autoEnableControls; }
40 
47  inline bool AutoEnableControlsHasBeenSet() const { return m_autoEnableControlsHasBeenSet; }
48 
55  inline void SetAutoEnableControls(bool value) { m_autoEnableControlsHasBeenSet = true; m_autoEnableControls = value; }
56 
63  inline UpdateSecurityHubConfigurationRequest& WithAutoEnableControls(bool value) { SetAutoEnableControls(value); return *this;}
64 
65  private:
66 
67  bool m_autoEnableControls;
68  bool m_autoEnableControlsHasBeenSet;
69  };
70 
71 } // namespace Model
72 } // namespace SecurityHub
73 } // namespace Aws
Aws::SecurityHub::Model::UpdateSecurityHubConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SecurityHub::Model::UpdateSecurityHubConfigurationRequest::AutoEnableControlsHasBeenSet
bool AutoEnableControlsHasBeenSet() const
Definition: UpdateSecurityHubConfigurationRequest.h:47
Aws::SecurityHub::Model::UpdateSecurityHubConfigurationRequest::WithAutoEnableControls
UpdateSecurityHubConfigurationRequest & WithAutoEnableControls(bool value)
Definition: UpdateSecurityHubConfigurationRequest.h:63
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::UpdateSecurityHubConfigurationRequest::SetAutoEnableControls
void SetAutoEnableControls(bool value)
Definition: UpdateSecurityHubConfigurationRequest.h:55
Aws::SecurityHub::Model::UpdateSecurityHubConfigurationRequest
Definition: UpdateSecurityHubConfigurationRequest.h:20
Aws::SecurityHub::SecurityHubRequest
Definition: SecurityHubRequest.h:17
SecurityHubRequest.h
Aws::SecurityHub::Model::UpdateSecurityHubConfigurationRequest::UpdateSecurityHubConfigurationRequest
UpdateSecurityHubConfigurationRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::UpdateSecurityHubConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateSecurityHubConfigurationRequest.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::UpdateSecurityHubConfigurationRequest::GetAutoEnableControls
bool GetAutoEnableControls() const
Definition: UpdateSecurityHubConfigurationRequest.h:39