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

The ID of the event to retrieve.

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

The ID of the event to retrieve.

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

The ID of the event to retrieve.

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

The ID of the event to retrieve.

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

The ID of the event to retrieve.

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

The ID of the event to retrieve.

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

The ID of the event to retrieve.

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

The ID of the event to retrieve.

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

The event type of the event to retrieve.

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

The event type of the event to retrieve.

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

The event type of the event to retrieve.

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

The event type of the event to retrieve.

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

The event type of the event to retrieve.

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

The event type of the event to retrieve.

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

The event type of the event to retrieve.

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

The event type of the event to retrieve.

*/ inline GetEventRequest& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;} private: Aws::String m_eventId; bool m_eventIdHasBeenSet = false; Aws::String m_eventTypeName; bool m_eventTypeNameHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws