AWS SDK for C++  1.9.102
AWS SDK for C++
UpdateOrganizationConfigurationRequest.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 "UpdateOrganizationConfiguration"; }
29 
30  Aws::String SerializePayload() const override;
31 
32 
39  inline bool GetAutoEnable() const{ return m_autoEnable; }
40 
47  inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; }
48 
55  inline void SetAutoEnable(bool value) { m_autoEnableHasBeenSet = true; m_autoEnable = value; }
56 
63  inline UpdateOrganizationConfigurationRequest& WithAutoEnable(bool value) { SetAutoEnable(value); return *this;}
64 
65  private:
66 
67  bool m_autoEnable;
68  bool m_autoEnableHasBeenSet;
69  };
70 
71 } // namespace Model
72 } // namespace SecurityHub
73 } // namespace Aws
Aws::SecurityHub::Model::UpdateOrganizationConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateOrganizationConfigurationRequest.h:28
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::UpdateOrganizationConfigurationRequest::UpdateOrganizationConfigurationRequest
UpdateOrganizationConfigurationRequest()
Aws::SecurityHub::SecurityHubRequest
Definition: SecurityHubRequest.h:17
SecurityHubRequest.h
Aws::SecurityHub::Model::UpdateOrganizationConfigurationRequest::SetAutoEnable
void SetAutoEnable(bool value)
Definition: UpdateOrganizationConfigurationRequest.h:55
Aws::SecurityHub::Model::UpdateOrganizationConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::UpdateOrganizationConfigurationRequest
Definition: UpdateOrganizationConfigurationRequest.h:20
Aws::SecurityHub::Model::UpdateOrganizationConfigurationRequest::GetAutoEnable
bool GetAutoEnable() const
Definition: UpdateOrganizationConfigurationRequest.h:39
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::UpdateOrganizationConfigurationRequest::WithAutoEnable
UpdateOrganizationConfigurationRequest & WithAutoEnable(bool value)
Definition: UpdateOrganizationConfigurationRequest.h:63
Aws::SecurityHub::Model::UpdateOrganizationConfigurationRequest::AutoEnableHasBeenSet
bool AutoEnableHasBeenSet() const
Definition: UpdateOrganizationConfigurationRequest.h:47