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 Macie2
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 
37  inline bool GetAutoEnable() const{ return m_autoEnable; }
38 
43  inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; }
44 
49  inline void SetAutoEnable(bool value) { m_autoEnableHasBeenSet = true; m_autoEnable = value; }
50 
55  inline UpdateOrganizationConfigurationRequest& WithAutoEnable(bool value) { SetAutoEnable(value); return *this;}
56 
57  private:
58 
59  bool m_autoEnable;
60  bool m_autoEnableHasBeenSet;
61  };
62 
63 } // namespace Model
64 } // namespace Macie2
65 } // namespace Aws
Aws::Macie2::Model::UpdateOrganizationConfigurationRequest::WithAutoEnable
UpdateOrganizationConfigurationRequest & WithAutoEnable(bool value)
Definition: UpdateOrganizationConfigurationRequest.h:55
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::UpdateOrganizationConfigurationRequest::UpdateOrganizationConfigurationRequest
UpdateOrganizationConfigurationRequest()
Macie2_EXPORTS.h
Aws::Macie2::Model::UpdateOrganizationConfigurationRequest::SetAutoEnable
void SetAutoEnable(bool value)
Definition: UpdateOrganizationConfigurationRequest.h:49
Aws::Macie2::Macie2Request
Definition: Macie2Request.h:17
Aws::Macie2::Model::UpdateOrganizationConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Macie2::Model::UpdateOrganizationConfigurationRequest
Definition: UpdateOrganizationConfigurationRequest.h:20
Macie2Request.h
Aws::Macie2::Model::UpdateOrganizationConfigurationRequest::AutoEnableHasBeenSet
bool AutoEnableHasBeenSet() const
Definition: UpdateOrganizationConfigurationRequest.h:43
Aws::Macie2::Model::UpdateOrganizationConfigurationRequest::GetAutoEnable
bool GetAutoEnable() const
Definition: UpdateOrganizationConfigurationRequest.h:37
Aws::Macie2::Model::UpdateOrganizationConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateOrganizationConfigurationRequest.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97