/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Shield { namespace Model { /** */ class DeleteProtectionGroupRequest : public ShieldRequest { public: AWS_SHIELD_API DeleteProtectionGroupRequest(); // 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 "DeleteProtectionGroup"; } AWS_SHIELD_API Aws::String SerializePayload() const override; AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the protection group. You use this to identify the protection * group in lists and to manage the protection group, for example to update, * delete, or describe it.

*/ inline const Aws::String& GetProtectionGroupId() const{ return m_protectionGroupId; } /** *

The name of the protection group. You use this to identify the protection * group in lists and to manage the protection group, for example to update, * delete, or describe it.

*/ inline bool ProtectionGroupIdHasBeenSet() const { return m_protectionGroupIdHasBeenSet; } /** *

The name of the protection group. You use this to identify the protection * group in lists and to manage the protection group, for example to update, * delete, or describe it.

*/ inline void SetProtectionGroupId(const Aws::String& value) { m_protectionGroupIdHasBeenSet = true; m_protectionGroupId = value; } /** *

The name of the protection group. You use this to identify the protection * group in lists and to manage the protection group, for example to update, * delete, or describe it.

*/ inline void SetProtectionGroupId(Aws::String&& value) { m_protectionGroupIdHasBeenSet = true; m_protectionGroupId = std::move(value); } /** *

The name of the protection group. You use this to identify the protection * group in lists and to manage the protection group, for example to update, * delete, or describe it.

*/ inline void SetProtectionGroupId(const char* value) { m_protectionGroupIdHasBeenSet = true; m_protectionGroupId.assign(value); } /** *

The name of the protection group. You use this to identify the protection * group in lists and to manage the protection group, for example to update, * delete, or describe it.

*/ inline DeleteProtectionGroupRequest& WithProtectionGroupId(const Aws::String& value) { SetProtectionGroupId(value); return *this;} /** *

The name of the protection group. You use this to identify the protection * group in lists and to manage the protection group, for example to update, * delete, or describe it.

*/ inline DeleteProtectionGroupRequest& WithProtectionGroupId(Aws::String&& value) { SetProtectionGroupId(std::move(value)); return *this;} /** *

The name of the protection group. You use this to identify the protection * group in lists and to manage the protection group, for example to update, * delete, or describe it.

*/ inline DeleteProtectionGroupRequest& WithProtectionGroupId(const char* value) { SetProtectionGroupId(value); return *this;} private: Aws::String m_protectionGroupId; bool m_protectionGroupIdHasBeenSet = false; }; } // namespace Model } // namespace Shield } // namespace Aws