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

A list of rule ARNs to get details for.

*/ inline const Aws::Vector& GetAutomationRulesArns() const{ return m_automationRulesArns; } /** *

A list of rule ARNs to get details for.

*/ inline bool AutomationRulesArnsHasBeenSet() const { return m_automationRulesArnsHasBeenSet; } /** *

A list of rule ARNs to get details for.

*/ inline void SetAutomationRulesArns(const Aws::Vector& value) { m_automationRulesArnsHasBeenSet = true; m_automationRulesArns = value; } /** *

A list of rule ARNs to get details for.

*/ inline void SetAutomationRulesArns(Aws::Vector&& value) { m_automationRulesArnsHasBeenSet = true; m_automationRulesArns = std::move(value); } /** *

A list of rule ARNs to get details for.

*/ inline BatchGetAutomationRulesRequest& WithAutomationRulesArns(const Aws::Vector& value) { SetAutomationRulesArns(value); return *this;} /** *

A list of rule ARNs to get details for.

*/ inline BatchGetAutomationRulesRequest& WithAutomationRulesArns(Aws::Vector&& value) { SetAutomationRulesArns(std::move(value)); return *this;} /** *

A list of rule ARNs to get details for.

*/ inline BatchGetAutomationRulesRequest& AddAutomationRulesArns(const Aws::String& value) { m_automationRulesArnsHasBeenSet = true; m_automationRulesArns.push_back(value); return *this; } /** *

A list of rule ARNs to get details for.

*/ inline BatchGetAutomationRulesRequest& AddAutomationRulesArns(Aws::String&& value) { m_automationRulesArnsHasBeenSet = true; m_automationRulesArns.push_back(std::move(value)); return *this; } /** *

A list of rule ARNs to get details for.

*/ inline BatchGetAutomationRulesRequest& AddAutomationRulesArns(const char* value) { m_automationRulesArnsHasBeenSet = true; m_automationRulesArns.push_back(value); return *this; } private: Aws::Vector m_automationRulesArns; bool m_automationRulesArnsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws