/** * 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 DeleteEventRequest : public FraudDetectorRequest { public: AWS_FRAUDDETECTOR_API DeleteEventRequest(); // 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 "DeleteEvent"; } AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override; AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the event to delete.

*/ inline const Aws::String& GetEventId() const{ return m_eventId; } /** *

The ID of the event to delete.

*/ inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; } /** *

The ID of the event to delete.

*/ inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; } /** *

The ID of the event to delete.

*/ inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); } /** *

The ID of the event to delete.

*/ inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); } /** *

The ID of the event to delete.

*/ inline DeleteEventRequest& WithEventId(const Aws::String& value) { SetEventId(value); return *this;} /** *

The ID of the event to delete.

*/ inline DeleteEventRequest& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;} /** *

The ID of the event to delete.

*/ inline DeleteEventRequest& WithEventId(const char* value) { SetEventId(value); return *this;} /** *

The name of the event type.

*/ inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; } /** *

The name of the event type.

*/ inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; } /** *

The name of the event type.

*/ inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; } /** *

The name of the event type.

*/ inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); } /** *

The name of the event type.

*/ inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); } /** *

The name of the event type.

*/ inline DeleteEventRequest& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;} /** *

The name of the event type.

*/ inline DeleteEventRequest& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;} /** *

The name of the event type.

*/ inline DeleteEventRequest& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;} /** *

Specifies whether or not to delete any predictions associated with the event. * If set to True,

*/ inline bool GetDeleteAuditHistory() const{ return m_deleteAuditHistory; } /** *

Specifies whether or not to delete any predictions associated with the event. * If set to True,

*/ inline bool DeleteAuditHistoryHasBeenSet() const { return m_deleteAuditHistoryHasBeenSet; } /** *

Specifies whether or not to delete any predictions associated with the event. * If set to True,

*/ inline void SetDeleteAuditHistory(bool value) { m_deleteAuditHistoryHasBeenSet = true; m_deleteAuditHistory = value; } /** *

Specifies whether or not to delete any predictions associated with the event. * If set to True,

*/ inline DeleteEventRequest& WithDeleteAuditHistory(bool value) { SetDeleteAuditHistory(value); return *this;} private: Aws::String m_eventId; bool m_eventIdHasBeenSet = false; Aws::String m_eventTypeName; bool m_eventTypeNameHasBeenSet = false; bool m_deleteAuditHistory; bool m_deleteAuditHistoryHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws