AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EnableSecurityHubRequest.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/securityhub/model/ControlFindingGenerator.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SecurityHub
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SECURITYHUB_API EnableSecurityHubRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "EnableSecurityHub"; }
33
34 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
42 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
43 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
44 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
45 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
46 EnableSecurityHubRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
47 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
48 EnableSecurityHubRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
49 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
50 }
52
54
61 inline bool GetEnableDefaultStandards() const { return m_enableDefaultStandards; }
62 inline bool EnableDefaultStandardsHasBeenSet() const { return m_enableDefaultStandardsHasBeenSet; }
63 inline void SetEnableDefaultStandards(bool value) { m_enableDefaultStandardsHasBeenSet = true; m_enableDefaultStandards = value; }
66
68
81 inline ControlFindingGenerator GetControlFindingGenerator() const { return m_controlFindingGenerator; }
82 inline bool ControlFindingGeneratorHasBeenSet() const { return m_controlFindingGeneratorHasBeenSet; }
83 inline void SetControlFindingGenerator(ControlFindingGenerator value) { m_controlFindingGeneratorHasBeenSet = true; m_controlFindingGenerator = value; }
86 private:
87
89 bool m_tagsHasBeenSet = false;
90
91 bool m_enableDefaultStandards{false};
92 bool m_enableDefaultStandardsHasBeenSet = false;
93
95 bool m_controlFindingGeneratorHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SecurityHub
100} // namespace Aws
virtual const char * GetServiceRequestName() const override
EnableSecurityHubRequest & WithEnableDefaultStandards(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_SECURITYHUB_API EnableSecurityHubRequest()=default
EnableSecurityHubRequest & WithControlFindingGenerator(ControlFindingGenerator value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
EnableSecurityHubRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetControlFindingGenerator(ControlFindingGenerator value)
EnableSecurityHubRequest & WithTags(TagsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String