AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
44 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
45 inline EnableSecurityHubRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
46 inline EnableSecurityHubRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
47 inline EnableSecurityHubRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
48 inline EnableSecurityHubRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
49 inline EnableSecurityHubRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
50 inline EnableSecurityHubRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
51 inline EnableSecurityHubRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
52 inline EnableSecurityHubRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
53 inline EnableSecurityHubRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
55
57
64 inline bool GetEnableDefaultStandards() const{ return m_enableDefaultStandards; }
65 inline bool EnableDefaultStandardsHasBeenSet() const { return m_enableDefaultStandardsHasBeenSet; }
66 inline void SetEnableDefaultStandards(bool value) { m_enableDefaultStandardsHasBeenSet = true; m_enableDefaultStandards = value; }
69
71
84 inline const ControlFindingGenerator& GetControlFindingGenerator() const{ return m_controlFindingGenerator; }
85 inline bool ControlFindingGeneratorHasBeenSet() const { return m_controlFindingGeneratorHasBeenSet; }
86 inline void SetControlFindingGenerator(const ControlFindingGenerator& value) { m_controlFindingGeneratorHasBeenSet = true; m_controlFindingGenerator = value; }
87 inline void SetControlFindingGenerator(ControlFindingGenerator&& value) { m_controlFindingGeneratorHasBeenSet = true; m_controlFindingGenerator = std::move(value); }
91 private:
92
94 bool m_tagsHasBeenSet = false;
95
96 bool m_enableDefaultStandards;
97 bool m_enableDefaultStandardsHasBeenSet = false;
98
99 ControlFindingGenerator m_controlFindingGenerator;
100 bool m_controlFindingGeneratorHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SecurityHub
105} // namespace Aws
virtual const char * GetServiceRequestName() const override
EnableSecurityHubRequest & AddTags(Aws::String &&key, const Aws::String &value)
EnableSecurityHubRequest & AddTags(const char *key, const char *value)
const ControlFindingGenerator & GetControlFindingGenerator() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
EnableSecurityHubRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
EnableSecurityHubRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
EnableSecurityHubRequest & WithEnableDefaultStandards(bool value)
EnableSecurityHubRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetControlFindingGenerator(ControlFindingGenerator &&value)
EnableSecurityHubRequest & AddTags(Aws::String &&key, const char *value)
EnableSecurityHubRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetControlFindingGenerator(const ControlFindingGenerator &value)
EnableSecurityHubRequest & WithControlFindingGenerator(const ControlFindingGenerator &value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
EnableSecurityHubRequest & AddTags(const char *key, Aws::String &&value)
EnableSecurityHubRequest & WithControlFindingGenerator(ControlFindingGenerator &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
EnableSecurityHubRequest & AddTags(Aws::String &&key, Aws::String &&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