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

The list of standards checks to enable.

*/ inline const Aws::Vector& GetStandardsSubscriptionRequests() const{ return m_standardsSubscriptionRequests; } /** *

The list of standards checks to enable.

*/ inline bool StandardsSubscriptionRequestsHasBeenSet() const { return m_standardsSubscriptionRequestsHasBeenSet; } /** *

The list of standards checks to enable.

*/ inline void SetStandardsSubscriptionRequests(const Aws::Vector& value) { m_standardsSubscriptionRequestsHasBeenSet = true; m_standardsSubscriptionRequests = value; } /** *

The list of standards checks to enable.

*/ inline void SetStandardsSubscriptionRequests(Aws::Vector&& value) { m_standardsSubscriptionRequestsHasBeenSet = true; m_standardsSubscriptionRequests = std::move(value); } /** *

The list of standards checks to enable.

*/ inline BatchEnableStandardsRequest& WithStandardsSubscriptionRequests(const Aws::Vector& value) { SetStandardsSubscriptionRequests(value); return *this;} /** *

The list of standards checks to enable.

*/ inline BatchEnableStandardsRequest& WithStandardsSubscriptionRequests(Aws::Vector&& value) { SetStandardsSubscriptionRequests(std::move(value)); return *this;} /** *

The list of standards checks to enable.

*/ inline BatchEnableStandardsRequest& AddStandardsSubscriptionRequests(const StandardsSubscriptionRequest& value) { m_standardsSubscriptionRequestsHasBeenSet = true; m_standardsSubscriptionRequests.push_back(value); return *this; } /** *

The list of standards checks to enable.

*/ inline BatchEnableStandardsRequest& AddStandardsSubscriptionRequests(StandardsSubscriptionRequest&& value) { m_standardsSubscriptionRequestsHasBeenSet = true; m_standardsSubscriptionRequests.push_back(std::move(value)); return *this; } private: Aws::Vector m_standardsSubscriptionRequests; bool m_standardsSubscriptionRequestsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws