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/guardduty/GuardDuty_EXPORTS.h> 8 #include <aws/guardduty/GuardDutyRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace GuardDuty 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_GUARDDUTY_API DeleteIPSetRequest : public GuardDutyRequest 22 { 23 public: 24 DeleteIPSetRequest(); 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 "DeleteIPSet"; } 31 32 Aws::String SerializePayload() const override; 33 34 35 /** 36 * <p>The unique ID of the detector associated with the IPSet.</p> 37 */ GetDetectorId()38 inline const Aws::String& GetDetectorId() const{ return m_detectorId; } 39 40 /** 41 * <p>The unique ID of the detector associated with the IPSet.</p> 42 */ DetectorIdHasBeenSet()43 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; } 44 45 /** 46 * <p>The unique ID of the detector associated with the IPSet.</p> 47 */ SetDetectorId(const Aws::String & value)48 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; } 49 50 /** 51 * <p>The unique ID of the detector associated with the IPSet.</p> 52 */ SetDetectorId(Aws::String && value)53 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); } 54 55 /** 56 * <p>The unique ID of the detector associated with the IPSet.</p> 57 */ SetDetectorId(const char * value)58 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); } 59 60 /** 61 * <p>The unique ID of the detector associated with the IPSet.</p> 62 */ WithDetectorId(const Aws::String & value)63 inline DeleteIPSetRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;} 64 65 /** 66 * <p>The unique ID of the detector associated with the IPSet.</p> 67 */ WithDetectorId(Aws::String && value)68 inline DeleteIPSetRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;} 69 70 /** 71 * <p>The unique ID of the detector associated with the IPSet.</p> 72 */ WithDetectorId(const char * value)73 inline DeleteIPSetRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;} 74 75 76 /** 77 * <p>The unique ID of the IPSet to delete.</p> 78 */ GetIpSetId()79 inline const Aws::String& GetIpSetId() const{ return m_ipSetId; } 80 81 /** 82 * <p>The unique ID of the IPSet to delete.</p> 83 */ IpSetIdHasBeenSet()84 inline bool IpSetIdHasBeenSet() const { return m_ipSetIdHasBeenSet; } 85 86 /** 87 * <p>The unique ID of the IPSet to delete.</p> 88 */ SetIpSetId(const Aws::String & value)89 inline void SetIpSetId(const Aws::String& value) { m_ipSetIdHasBeenSet = true; m_ipSetId = value; } 90 91 /** 92 * <p>The unique ID of the IPSet to delete.</p> 93 */ SetIpSetId(Aws::String && value)94 inline void SetIpSetId(Aws::String&& value) { m_ipSetIdHasBeenSet = true; m_ipSetId = std::move(value); } 95 96 /** 97 * <p>The unique ID of the IPSet to delete.</p> 98 */ SetIpSetId(const char * value)99 inline void SetIpSetId(const char* value) { m_ipSetIdHasBeenSet = true; m_ipSetId.assign(value); } 100 101 /** 102 * <p>The unique ID of the IPSet to delete.</p> 103 */ WithIpSetId(const Aws::String & value)104 inline DeleteIPSetRequest& WithIpSetId(const Aws::String& value) { SetIpSetId(value); return *this;} 105 106 /** 107 * <p>The unique ID of the IPSet to delete.</p> 108 */ WithIpSetId(Aws::String && value)109 inline DeleteIPSetRequest& WithIpSetId(Aws::String&& value) { SetIpSetId(std::move(value)); return *this;} 110 111 /** 112 * <p>The unique ID of the IPSet to delete.</p> 113 */ WithIpSetId(const char * value)114 inline DeleteIPSetRequest& WithIpSetId(const char* value) { SetIpSetId(value); return *this;} 115 116 private: 117 118 Aws::String m_detectorId; 119 bool m_detectorIdHasBeenSet; 120 121 Aws::String m_ipSetId; 122 bool m_ipSetIdHasBeenSet; 123 }; 124 125 } // namespace Model 126 } // namespace GuardDuty 127 } // namespace Aws 128