/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace SecurityHub { namespace Model { /** */ class AWS_SECURITYHUB_API EnableSecurityHubRequest : public SecurityHubRequest { public: EnableSecurityHubRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "EnableSecurityHub"; } Aws::String SerializePayload() const override; /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline EnableSecurityHubRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline EnableSecurityHubRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline EnableSecurityHubRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline EnableSecurityHubRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline EnableSecurityHubRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline EnableSecurityHubRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline EnableSecurityHubRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline EnableSecurityHubRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags to add to the hub resource when you enable Security Hub.

*/ inline EnableSecurityHubRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Whether to enable the security standards that Security Hub has designated as * automatically enabled. If you do not provide a value for * EnableDefaultStandards, it is set to true. To not * enable the automatically enabled standards, set * EnableDefaultStandards to false.

*/ inline bool GetEnableDefaultStandards() const{ return m_enableDefaultStandards; } /** *

Whether to enable the security standards that Security Hub has designated as * automatically enabled. If you do not provide a value for * EnableDefaultStandards, it is set to true. To not * enable the automatically enabled standards, set * EnableDefaultStandards to false.

*/ inline bool EnableDefaultStandardsHasBeenSet() const { return m_enableDefaultStandardsHasBeenSet; } /** *

Whether to enable the security standards that Security Hub has designated as * automatically enabled. If you do not provide a value for * EnableDefaultStandards, it is set to true. To not * enable the automatically enabled standards, set * EnableDefaultStandards to false.

*/ inline void SetEnableDefaultStandards(bool value) { m_enableDefaultStandardsHasBeenSet = true; m_enableDefaultStandards = value; } /** *

Whether to enable the security standards that Security Hub has designated as * automatically enabled. If you do not provide a value for * EnableDefaultStandards, it is set to true. To not * enable the automatically enabled standards, set * EnableDefaultStandards to false.

*/ inline EnableSecurityHubRequest& WithEnableDefaultStandards(bool value) { SetEnableDefaultStandards(value); return *this;} private: Aws::Map m_tags; bool m_tagsHasBeenSet; bool m_enableDefaultStandards; bool m_enableDefaultStandardsHasBeenSet; }; } // namespace Model } // namespace SecurityHub } // namespace Aws