/** * 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 FraudDetector { namespace Model { /** */ class DeleteDetectorRequest : public FraudDetectorRequest { public: AWS_FRAUDDETECTOR_API DeleteDetectorRequest(); // 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 "DeleteDetector"; } AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override; AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the detector to delete.

*/ inline const Aws::String& GetDetectorId() const{ return m_detectorId; } /** *

The ID of the detector to delete.

*/ inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; } /** *

The ID of the detector to delete.

*/ inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; } /** *

The ID of the detector to delete.

*/ inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); } /** *

The ID of the detector to delete.

*/ inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); } /** *

The ID of the detector to delete.

*/ inline DeleteDetectorRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;} /** *

The ID of the detector to delete.

*/ inline DeleteDetectorRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;} /** *

The ID of the detector to delete.

*/ inline DeleteDetectorRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;} private: Aws::String m_detectorId; bool m_detectorIdHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws