/** * 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 GuardDuty { namespace Model { /** */ class DeletePublishingDestinationRequest : public GuardDutyRequest { public: AWS_GUARDDUTY_API DeletePublishingDestinationRequest(); // 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 "DeletePublishingDestination"; } AWS_GUARDDUTY_API Aws::String SerializePayload() const override; /** *

The unique ID of the detector associated with the publishing destination to * delete.

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

The unique ID of the detector associated with the publishing destination to * delete.

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

The unique ID of the detector associated with the publishing destination to * delete.

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

The unique ID of the detector associated with the publishing destination to * delete.

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

The unique ID of the detector associated with the publishing destination to * delete.

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

The unique ID of the detector associated with the publishing destination to * delete.

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

The unique ID of the detector associated with the publishing destination to * delete.

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

The unique ID of the detector associated with the publishing destination to * delete.

*/ inline DeletePublishingDestinationRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;} /** *

The ID of the publishing destination to delete.

*/ inline const Aws::String& GetDestinationId() const{ return m_destinationId; } /** *

The ID of the publishing destination to delete.

*/ inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; } /** *

The ID of the publishing destination to delete.

*/ inline void SetDestinationId(const Aws::String& value) { m_destinationIdHasBeenSet = true; m_destinationId = value; } /** *

The ID of the publishing destination to delete.

*/ inline void SetDestinationId(Aws::String&& value) { m_destinationIdHasBeenSet = true; m_destinationId = std::move(value); } /** *

The ID of the publishing destination to delete.

*/ inline void SetDestinationId(const char* value) { m_destinationIdHasBeenSet = true; m_destinationId.assign(value); } /** *

The ID of the publishing destination to delete.

*/ inline DeletePublishingDestinationRequest& WithDestinationId(const Aws::String& value) { SetDestinationId(value); return *this;} /** *

The ID of the publishing destination to delete.

*/ inline DeletePublishingDestinationRequest& WithDestinationId(Aws::String&& value) { SetDestinationId(std::move(value)); return *this;} /** *

The ID of the publishing destination to delete.

*/ inline DeletePublishingDestinationRequest& WithDestinationId(const char* value) { SetDestinationId(value); return *this;} private: Aws::String m_detectorId; bool m_detectorIdHasBeenSet = false; Aws::String m_destinationId; bool m_destinationIdHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws