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

The ARNs of the standards subscriptions to disable.

*/ inline const Aws::Vector& GetStandardsSubscriptionArns() const{ return m_standardsSubscriptionArns; } /** *

The ARNs of the standards subscriptions to disable.

*/ inline bool StandardsSubscriptionArnsHasBeenSet() const { return m_standardsSubscriptionArnsHasBeenSet; } /** *

The ARNs of the standards subscriptions to disable.

*/ inline void SetStandardsSubscriptionArns(const Aws::Vector& value) { m_standardsSubscriptionArnsHasBeenSet = true; m_standardsSubscriptionArns = value; } /** *

The ARNs of the standards subscriptions to disable.

*/ inline void SetStandardsSubscriptionArns(Aws::Vector&& value) { m_standardsSubscriptionArnsHasBeenSet = true; m_standardsSubscriptionArns = std::move(value); } /** *

The ARNs of the standards subscriptions to disable.

*/ inline BatchDisableStandardsRequest& WithStandardsSubscriptionArns(const Aws::Vector& value) { SetStandardsSubscriptionArns(value); return *this;} /** *

The ARNs of the standards subscriptions to disable.

*/ inline BatchDisableStandardsRequest& WithStandardsSubscriptionArns(Aws::Vector&& value) { SetStandardsSubscriptionArns(std::move(value)); return *this;} /** *

The ARNs of the standards subscriptions to disable.

*/ inline BatchDisableStandardsRequest& AddStandardsSubscriptionArns(const Aws::String& value) { m_standardsSubscriptionArnsHasBeenSet = true; m_standardsSubscriptionArns.push_back(value); return *this; } /** *

The ARNs of the standards subscriptions to disable.

*/ inline BatchDisableStandardsRequest& AddStandardsSubscriptionArns(Aws::String&& value) { m_standardsSubscriptionArnsHasBeenSet = true; m_standardsSubscriptionArns.push_back(std::move(value)); return *this; } /** *

The ARNs of the standards subscriptions to disable.

*/ inline BatchDisableStandardsRequest& AddStandardsSubscriptionArns(const char* value) { m_standardsSubscriptionArnsHasBeenSet = true; m_standardsSubscriptionArns.push_back(value); return *this; } private: Aws::Vector m_standardsSubscriptionArns; bool m_standardsSubscriptionArnsHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws