AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateSecurityHubConfigurationRequest.h
1
6#pragma once
7#include <aws/securityhub/SecurityHubRequest.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/ControlFindingGenerator.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SecurityHub {
15namespace Model {
16
20 public:
21 AWS_SECURITYHUB_API UpdateSecurityHubConfigurationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateSecurityHubConfiguration"; }
28
29 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
30
32
46 inline bool GetAutoEnableControls() const { return m_autoEnableControls; }
47 inline bool AutoEnableControlsHasBeenSet() const { return m_autoEnableControlsHasBeenSet; }
48 inline void SetAutoEnableControls(bool value) {
49 m_autoEnableControlsHasBeenSet = true;
50 m_autoEnableControls = value;
51 }
54 return *this;
55 }
57
59
69 inline ControlFindingGenerator GetControlFindingGenerator() const { return m_controlFindingGenerator; }
70 inline bool ControlFindingGeneratorHasBeenSet() const { return m_controlFindingGeneratorHasBeenSet; }
72 m_controlFindingGeneratorHasBeenSet = true;
73 m_controlFindingGenerator = value;
74 }
77 return *this;
78 }
80 private:
81 bool m_autoEnableControls{false};
82
84 bool m_autoEnableControlsHasBeenSet = false;
85 bool m_controlFindingGeneratorHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace SecurityHub
90} // namespace Aws
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
UpdateSecurityHubConfigurationRequest & WithControlFindingGenerator(ControlFindingGenerator value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String