/** * 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 BatchUpdateAutomationRulesRequest : public SecurityHubRequest { public: AWS_SECURITYHUB_API BatchUpdateAutomationRulesRequest(); // 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 "BatchUpdateAutomationRules"; } AWS_SECURITYHUB_API Aws::String SerializePayload() const override; /** *

An array of ARNs for the rules that are to be updated. Optionally, you can * also include RuleStatus and RuleOrder.

*/ inline const Aws::Vector& GetUpdateAutomationRulesRequestItems() const{ return m_updateAutomationRulesRequestItems; } /** *

An array of ARNs for the rules that are to be updated. Optionally, you can * also include RuleStatus and RuleOrder.

*/ inline bool UpdateAutomationRulesRequestItemsHasBeenSet() const { return m_updateAutomationRulesRequestItemsHasBeenSet; } /** *

An array of ARNs for the rules that are to be updated. Optionally, you can * also include RuleStatus and RuleOrder.

*/ inline void SetUpdateAutomationRulesRequestItems(const Aws::Vector& value) { m_updateAutomationRulesRequestItemsHasBeenSet = true; m_updateAutomationRulesRequestItems = value; } /** *

An array of ARNs for the rules that are to be updated. Optionally, you can * also include RuleStatus and RuleOrder.

*/ inline void SetUpdateAutomationRulesRequestItems(Aws::Vector&& value) { m_updateAutomationRulesRequestItemsHasBeenSet = true; m_updateAutomationRulesRequestItems = std::move(value); } /** *

An array of ARNs for the rules that are to be updated. Optionally, you can * also include RuleStatus and RuleOrder.

*/ inline BatchUpdateAutomationRulesRequest& WithUpdateAutomationRulesRequestItems(const Aws::Vector& value) { SetUpdateAutomationRulesRequestItems(value); return *this;} /** *

An array of ARNs for the rules that are to be updated. Optionally, you can * also include RuleStatus and RuleOrder.

*/ inline BatchUpdateAutomationRulesRequest& WithUpdateAutomationRulesRequestItems(Aws::Vector&& value) { SetUpdateAutomationRulesRequestItems(std::move(value)); return *this;} /** *

An array of ARNs for the rules that are to be updated. Optionally, you can * also include RuleStatus and RuleOrder.

*/ inline BatchUpdateAutomationRulesRequest& AddUpdateAutomationRulesRequestItems(const UpdateAutomationRulesRequestItem& value) { m_updateAutomationRulesRequestItemsHasBeenSet = true; m_updateAutomationRulesRequestItems.push_back(value); return *this; } /** *

An array of ARNs for the rules that are to be updated. Optionally, you can * also include RuleStatus and RuleOrder.

*/ inline BatchUpdateAutomationRulesRequest& AddUpdateAutomationRulesRequestItems(UpdateAutomationRulesRequestItem&& value) { m_updateAutomationRulesRequestItemsHasBeenSet = true; m_updateAutomationRulesRequestItems.push_back(std::move(value)); return *this; } private: Aws::Vector m_updateAutomationRulesRequestItems; bool m_updateAutomationRulesRequestItemsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws