1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/shield/Shield_EXPORTS.h> 8 #include <aws/shield/ShieldRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace Shield 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_SHIELD_API DeleteProtectionGroupRequest : public ShieldRequest 22 { 23 public: 24 DeleteProtectionGroupRequest(); 25 26 // Service request name is the Operation name which will send this request out, 27 // each operation should has unique request name, so that we can get operation's name from this request. 28 // Note: this is not true for response, multiple operations may have the same response name, 29 // so we can not get operation's name from response. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "DeleteProtectionGroup"; } 31 32 Aws::String SerializePayload() const override; 33 34 Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; 35 36 37 /** 38 * <p>The name of the protection group. You use this to identify the protection 39 * group in lists and to manage the protection group, for example to update, 40 * delete, or describe it. </p> 41 */ GetProtectionGroupId()42 inline const Aws::String& GetProtectionGroupId() const{ return m_protectionGroupId; } 43 44 /** 45 * <p>The name of the protection group. You use this to identify the protection 46 * group in lists and to manage the protection group, for example to update, 47 * delete, or describe it. </p> 48 */ ProtectionGroupIdHasBeenSet()49 inline bool ProtectionGroupIdHasBeenSet() const { return m_protectionGroupIdHasBeenSet; } 50 51 /** 52 * <p>The name of the protection group. You use this to identify the protection 53 * group in lists and to manage the protection group, for example to update, 54 * delete, or describe it. </p> 55 */ SetProtectionGroupId(const Aws::String & value)56 inline void SetProtectionGroupId(const Aws::String& value) { m_protectionGroupIdHasBeenSet = true; m_protectionGroupId = value; } 57 58 /** 59 * <p>The name of the protection group. You use this to identify the protection 60 * group in lists and to manage the protection group, for example to update, 61 * delete, or describe it. </p> 62 */ SetProtectionGroupId(Aws::String && value)63 inline void SetProtectionGroupId(Aws::String&& value) { m_protectionGroupIdHasBeenSet = true; m_protectionGroupId = std::move(value); } 64 65 /** 66 * <p>The name of the protection group. You use this to identify the protection 67 * group in lists and to manage the protection group, for example to update, 68 * delete, or describe it. </p> 69 */ SetProtectionGroupId(const char * value)70 inline void SetProtectionGroupId(const char* value) { m_protectionGroupIdHasBeenSet = true; m_protectionGroupId.assign(value); } 71 72 /** 73 * <p>The name of the protection group. You use this to identify the protection 74 * group in lists and to manage the protection group, for example to update, 75 * delete, or describe it. </p> 76 */ WithProtectionGroupId(const Aws::String & value)77 inline DeleteProtectionGroupRequest& WithProtectionGroupId(const Aws::String& value) { SetProtectionGroupId(value); return *this;} 78 79 /** 80 * <p>The name of the protection group. You use this to identify the protection 81 * group in lists and to manage the protection group, for example to update, 82 * delete, or describe it. </p> 83 */ WithProtectionGroupId(Aws::String && value)84 inline DeleteProtectionGroupRequest& WithProtectionGroupId(Aws::String&& value) { SetProtectionGroupId(std::move(value)); return *this;} 85 86 /** 87 * <p>The name of the protection group. You use this to identify the protection 88 * group in lists and to manage the protection group, for example to update, 89 * delete, or describe it. </p> 90 */ WithProtectionGroupId(const char * value)91 inline DeleteProtectionGroupRequest& WithProtectionGroupId(const char* value) { SetProtectionGroupId(value); return *this;} 92 93 private: 94 95 Aws::String m_protectionGroupId; 96 bool m_protectionGroupIdHasBeenSet; 97 }; 98 99 } // namespace Model 100 } // namespace Shield 101 } // namespace Aws 102