AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateOrganizationConfigurationRequest.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/securityhub/model/AutoEnableStandards.h>
10#include <aws/securityhub/model/OrganizationConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SecurityHub
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateOrganizationConfiguration"; }
32
33 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
34
35
37
49 inline bool GetAutoEnable() const{ return m_autoEnable; }
50 inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; }
51 inline void SetAutoEnable(bool value) { m_autoEnableHasBeenSet = true; m_autoEnable = value; }
52 inline UpdateOrganizationConfigurationRequest& WithAutoEnable(bool value) { SetAutoEnable(value); return *this;}
54
56
71 inline const AutoEnableStandards& GetAutoEnableStandards() const{ return m_autoEnableStandards; }
72 inline bool AutoEnableStandardsHasBeenSet() const { return m_autoEnableStandardsHasBeenSet; }
73 inline void SetAutoEnableStandards(const AutoEnableStandards& value) { m_autoEnableStandardsHasBeenSet = true; m_autoEnableStandards = value; }
74 inline void SetAutoEnableStandards(AutoEnableStandards&& value) { m_autoEnableStandardsHasBeenSet = true; m_autoEnableStandards = std::move(value); }
78
80
81 inline const OrganizationConfiguration& GetOrganizationConfiguration() const{ return m_organizationConfiguration; }
82 inline bool OrganizationConfigurationHasBeenSet() const { return m_organizationConfigurationHasBeenSet; }
83 inline void SetOrganizationConfiguration(const OrganizationConfiguration& value) { m_organizationConfigurationHasBeenSet = true; m_organizationConfiguration = value; }
84 inline void SetOrganizationConfiguration(OrganizationConfiguration&& value) { m_organizationConfigurationHasBeenSet = true; m_organizationConfiguration = std::move(value); }
88 private:
89
90 bool m_autoEnable;
91 bool m_autoEnableHasBeenSet = false;
92
93 AutoEnableStandards m_autoEnableStandards;
94 bool m_autoEnableStandardsHasBeenSet = false;
95
96 OrganizationConfiguration m_organizationConfiguration;
97 bool m_organizationConfigurationHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace SecurityHub
102} // namespace Aws
UpdateOrganizationConfigurationRequest & WithOrganizationConfiguration(OrganizationConfiguration &&value)
UpdateOrganizationConfigurationRequest & WithAutoEnableStandards(const AutoEnableStandards &value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
UpdateOrganizationConfigurationRequest & WithOrganizationConfiguration(const OrganizationConfiguration &value)
UpdateOrganizationConfigurationRequest & WithAutoEnableStandards(AutoEnableStandards &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String