AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
25 AWS_SECURITYHUB_API UpdateOrganizationConfigurationRequest() = default;
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 AutoEnableStandards GetAutoEnableStandards() const { return m_autoEnableStandards; }
72 inline bool AutoEnableStandardsHasBeenSet() const { return m_autoEnableStandardsHasBeenSet; }
73 inline void SetAutoEnableStandards(AutoEnableStandards value) { m_autoEnableStandardsHasBeenSet = true; m_autoEnableStandards = value; }
76
78
79 inline const OrganizationConfiguration& GetOrganizationConfiguration() const { return m_organizationConfiguration; }
80 inline bool OrganizationConfigurationHasBeenSet() const { return m_organizationConfigurationHasBeenSet; }
81 template<typename OrganizationConfigurationT = OrganizationConfiguration>
82 void SetOrganizationConfiguration(OrganizationConfigurationT&& value) { m_organizationConfigurationHasBeenSet = true; m_organizationConfiguration = std::forward<OrganizationConfigurationT>(value); }
83 template<typename OrganizationConfigurationT = OrganizationConfiguration>
84 UpdateOrganizationConfigurationRequest& WithOrganizationConfiguration(OrganizationConfigurationT&& value) { SetOrganizationConfiguration(std::forward<OrganizationConfigurationT>(value)); return *this;}
86 private:
87
88 bool m_autoEnable{false};
89 bool m_autoEnableHasBeenSet = false;
90
92 bool m_autoEnableStandardsHasBeenSet = false;
93
94 OrganizationConfiguration m_organizationConfiguration;
95 bool m_organizationConfigurationHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SecurityHub
100} // namespace Aws
UpdateOrganizationConfigurationRequest & WithOrganizationConfiguration(OrganizationConfigurationT &&value)
UpdateOrganizationConfigurationRequest & WithAutoEnableStandards(AutoEnableStandards value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String