/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FraudDetector { namespace Model { /** *

Information about the summary of an event prediction.

See * Also:

AWS * API Reference

*/ class EventPredictionSummary { public: AWS_FRAUDDETECTOR_API EventPredictionSummary(); AWS_FRAUDDETECTOR_API EventPredictionSummary(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API EventPredictionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 EventPredictionSummary& WithEventId(const Aws::String& value) { SetEventId(value); return *this;} /** *

The event ID.

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

The event ID.

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

The event type.

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

The event type.

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

The event type.

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

The event type.

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

The event type.

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

The event type.

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

The event type.

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

The event type.

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

The timestamp of the event.

*/ inline const Aws::String& GetEventTimestamp() const{ return m_eventTimestamp; } /** *

The timestamp of the event.

*/ inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; } /** *

The timestamp of the event.

*/ inline void SetEventTimestamp(const Aws::String& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = value; } /** *

The timestamp of the event.

*/ inline void SetEventTimestamp(Aws::String&& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = std::move(value); } /** *

The timestamp of the event.

*/ inline void SetEventTimestamp(const char* value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp.assign(value); } /** *

The timestamp of the event.

*/ inline EventPredictionSummary& WithEventTimestamp(const Aws::String& value) { SetEventTimestamp(value); return *this;} /** *

The timestamp of the event.

*/ inline EventPredictionSummary& WithEventTimestamp(Aws::String&& value) { SetEventTimestamp(std::move(value)); return *this;} /** *

The timestamp of the event.

*/ inline EventPredictionSummary& WithEventTimestamp(const char* value) { SetEventTimestamp(value); return *this;} /** *

The timestamp when the prediction was generated.

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

The timestamp when the prediction was generated.

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

The timestamp when the prediction was generated.

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

The timestamp when the prediction was generated.

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

The timestamp when the prediction was generated.

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

The timestamp when the prediction was generated.

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

The timestamp when the prediction was generated.

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

The timestamp when the prediction was generated.

*/ inline EventPredictionSummary& WithPredictionTimestamp(const char* value) { SetPredictionTimestamp(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 EventPredictionSummary& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;} /** *

The detector ID.

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

The detector ID.

*/ inline EventPredictionSummary& 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 EventPredictionSummary& WithDetectorVersionId(const Aws::String& value) { SetDetectorVersionId(value); return *this;} /** *

The detector version ID.

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

The detector version ID.

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