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

The event ID.

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

The event ID.

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

The event ID.

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

The event ID.

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

The event ID.

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

The event ID.

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

The event ID.

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

The event ID.

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

The event type associated with the detector specified for the prediction. *

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

The event type associated with the detector specified for the prediction. *

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

The event type associated with the detector specified for the prediction. *

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

The event type associated with the detector specified for the prediction. *

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

The event type associated with the detector specified for the prediction. *

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

The event type associated with the detector specified for the prediction. *

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

The event type associated with the detector specified for the prediction. *

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

The event type associated with the detector specified for the prediction. *

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

The detector ID.

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

The detector ID.

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

The detector ID.

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

The detector ID.

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

The detector ID.

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

The detector ID.

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

The detector ID.

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

The detector ID.

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

The detector version ID.

*/ inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; } /** *

The detector version ID.

*/ inline bool DetectorVersionIdHasBeenSet() const { return m_detectorVersionIdHasBeenSet; } /** *

The detector version ID.

*/ inline void SetDetectorVersionId(const Aws::String& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = value; } /** *

The detector version ID.

*/ inline void SetDetectorVersionId(Aws::String&& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = std::move(value); } /** *

The detector version ID.

*/ inline void SetDetectorVersionId(const char* value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId.assign(value); } /** *

The detector version ID.

*/ inline GetEventPredictionMetadataRequest& WithDetectorVersionId(const Aws::String& value) { SetDetectorVersionId(value); return *this;} /** *

The detector version ID.

*/ inline GetEventPredictionMetadataRequest& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;} /** *

The detector version ID.

*/ inline GetEventPredictionMetadataRequest& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;} /** *

The timestamp that defines when the prediction was generated. The timestamp * must be specified using ISO 8601 standard in UTC.

We recommend calling ListEventPredictions * first, and using the predictionTimestamp value in the response to * provide an accurate prediction timestamp value.

*/ inline const Aws::String& GetPredictionTimestamp() const{ return m_predictionTimestamp; } /** *

The timestamp that defines when the prediction was generated. The timestamp * must be specified using ISO 8601 standard in UTC.

We recommend calling ListEventPredictions * first, and using the predictionTimestamp value in the response to * provide an accurate prediction timestamp value.

*/ inline bool PredictionTimestampHasBeenSet() const { return m_predictionTimestampHasBeenSet; } /** *

The timestamp that defines when the prediction was generated. The timestamp * must be specified using ISO 8601 standard in UTC.

We recommend calling ListEventPredictions * first, and using the predictionTimestamp value in the response to * provide an accurate prediction timestamp value.

*/ inline void SetPredictionTimestamp(const Aws::String& value) { m_predictionTimestampHasBeenSet = true; m_predictionTimestamp = value; } /** *

The timestamp that defines when the prediction was generated. The timestamp * must be specified using ISO 8601 standard in UTC.

We recommend calling ListEventPredictions * first, and using the predictionTimestamp value in the response to * provide an accurate prediction timestamp value.

*/ inline void SetPredictionTimestamp(Aws::String&& value) { m_predictionTimestampHasBeenSet = true; m_predictionTimestamp = std::move(value); } /** *

The timestamp that defines when the prediction was generated. The timestamp * must be specified using ISO 8601 standard in UTC.

We recommend calling ListEventPredictions * first, and using the predictionTimestamp value in the response to * provide an accurate prediction timestamp value.

*/ inline void SetPredictionTimestamp(const char* value) { m_predictionTimestampHasBeenSet = true; m_predictionTimestamp.assign(value); } /** *

The timestamp that defines when the prediction was generated. The timestamp * must be specified using ISO 8601 standard in UTC.

We recommend calling ListEventPredictions * first, and using the predictionTimestamp value in the response to * provide an accurate prediction timestamp value.

*/ inline GetEventPredictionMetadataRequest& WithPredictionTimestamp(const Aws::String& value) { SetPredictionTimestamp(value); return *this;} /** *

The timestamp that defines when the prediction was generated. The timestamp * must be specified using ISO 8601 standard in UTC.

We recommend calling ListEventPredictions * first, and using the predictionTimestamp value in the response to * provide an accurate prediction timestamp value.

*/ inline GetEventPredictionMetadataRequest& WithPredictionTimestamp(Aws::String&& value) { SetPredictionTimestamp(std::move(value)); return *this;} /** *

The timestamp that defines when the prediction was generated. The timestamp * must be specified using ISO 8601 standard in UTC.

We recommend calling ListEventPredictions * first, and using the predictionTimestamp value in the response to * provide an accurate prediction timestamp value.

*/ inline GetEventPredictionMetadataRequest& WithPredictionTimestamp(const char* value) { SetPredictionTimestamp(value); return *this;} private: Aws::String m_eventId; bool m_eventIdHasBeenSet = false; Aws::String m_eventTypeName; bool m_eventTypeNameHasBeenSet = false; Aws::String m_detectorId; bool m_detectorIdHasBeenSet = false; Aws::String m_detectorVersionId; bool m_detectorVersionIdHasBeenSet = false; Aws::String m_predictionTimestamp; bool m_predictionTimestampHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws