/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The event details.See Also:
AWS
* API Reference
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 Event& WithEventId(const Aws::String& value) { SetEventId(value); return *this;} /** *The event ID.
*/ inline Event& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;} /** *The event ID.
*/ inline Event& 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 Event& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;} /** *The event type.
*/ inline Event& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;} /** *The event type.
*/ inline Event& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;} /** *The timestamp that defines when the event under evaluation occurred. The * timestamp must be specified using ISO 8601 standard in UTC.
*/ inline const Aws::String& GetEventTimestamp() const{ return m_eventTimestamp; } /** *The timestamp that defines when the event under evaluation occurred. The * timestamp must be specified using ISO 8601 standard in UTC.
*/ inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; } /** *The timestamp that defines when the event under evaluation occurred. The * timestamp must be specified using ISO 8601 standard in UTC.
*/ inline void SetEventTimestamp(const Aws::String& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = value; } /** *The timestamp that defines when the event under evaluation occurred. The * timestamp must be specified using ISO 8601 standard in UTC.
*/ inline void SetEventTimestamp(Aws::String&& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = std::move(value); } /** *The timestamp that defines when the event under evaluation occurred. The * timestamp must be specified using ISO 8601 standard in UTC.
*/ inline void SetEventTimestamp(const char* value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp.assign(value); } /** *The timestamp that defines when the event under evaluation occurred. The * timestamp must be specified using ISO 8601 standard in UTC.
*/ inline Event& WithEventTimestamp(const Aws::String& value) { SetEventTimestamp(value); return *this;} /** *The timestamp that defines when the event under evaluation occurred. The * timestamp must be specified using ISO 8601 standard in UTC.
*/ inline Event& WithEventTimestamp(Aws::String&& value) { SetEventTimestamp(std::move(value)); return *this;} /** *The timestamp that defines when the event under evaluation occurred. The * timestamp must be specified using ISO 8601 standard in UTC.
*/ inline Event& WithEventTimestamp(const char* value) { SetEventTimestamp(value); return *this;} /** *Names of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline const Aws::MapNames of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline bool EventVariablesHasBeenSet() const { return m_eventVariablesHasBeenSet; } /** *Names of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline void SetEventVariables(const Aws::MapNames of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline void SetEventVariables(Aws::MapNames of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline Event& WithEventVariables(const Aws::MapNames of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline Event& WithEventVariables(Aws::MapNames of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline Event& AddEventVariables(const Aws::String& key, const Aws::String& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(key, value); return *this; } /** *Names of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline Event& AddEventVariables(Aws::String&& key, const Aws::String& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(std::move(key), value); return *this; } /** *Names of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline Event& AddEventVariables(const Aws::String& key, Aws::String&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(key, std::move(value)); return *this; } /** *Names of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline Event& AddEventVariables(Aws::String&& key, Aws::String&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(std::move(key), std::move(value)); return *this; } /** *Names of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline Event& AddEventVariables(const char* key, Aws::String&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(key, std::move(value)); return *this; } /** *Names of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline Event& AddEventVariables(Aws::String&& key, const char* value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(std::move(key), value); return *this; } /** *Names of the event type's variables you defined in Amazon Fraud Detector to * represent data elements and their corresponding values for the event you are * sending for evaluation.
*/ inline Event& AddEventVariables(const char* key, const char* value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(key, value); return *this; } /** *The label associated with the event.
*/ inline const Aws::String& GetCurrentLabel() const{ return m_currentLabel; } /** *The label associated with the event.
*/ inline bool CurrentLabelHasBeenSet() const { return m_currentLabelHasBeenSet; } /** *The label associated with the event.
*/ inline void SetCurrentLabel(const Aws::String& value) { m_currentLabelHasBeenSet = true; m_currentLabel = value; } /** *The label associated with the event.
*/ inline void SetCurrentLabel(Aws::String&& value) { m_currentLabelHasBeenSet = true; m_currentLabel = std::move(value); } /** *The label associated with the event.
*/ inline void SetCurrentLabel(const char* value) { m_currentLabelHasBeenSet = true; m_currentLabel.assign(value); } /** *The label associated with the event.
*/ inline Event& WithCurrentLabel(const Aws::String& value) { SetCurrentLabel(value); return *this;} /** *The label associated with the event.
*/ inline Event& WithCurrentLabel(Aws::String&& value) { SetCurrentLabel(std::move(value)); return *this;} /** *The label associated with the event.
*/ inline Event& WithCurrentLabel(const char* value) { SetCurrentLabel(value); return *this;} /** *The timestamp associated with the label to update. The timestamp must be * specified using ISO 8601 standard in UTC.
*/ inline const Aws::String& GetLabelTimestamp() const{ return m_labelTimestamp; } /** *The timestamp associated with the label to update. The timestamp must be * specified using ISO 8601 standard in UTC.
*/ inline bool LabelTimestampHasBeenSet() const { return m_labelTimestampHasBeenSet; } /** *The timestamp associated with the label to update. The timestamp must be * specified using ISO 8601 standard in UTC.
*/ inline void SetLabelTimestamp(const Aws::String& value) { m_labelTimestampHasBeenSet = true; m_labelTimestamp = value; } /** *The timestamp associated with the label to update. The timestamp must be * specified using ISO 8601 standard in UTC.
*/ inline void SetLabelTimestamp(Aws::String&& value) { m_labelTimestampHasBeenSet = true; m_labelTimestamp = std::move(value); } /** *The timestamp associated with the label to update. The timestamp must be * specified using ISO 8601 standard in UTC.
*/ inline void SetLabelTimestamp(const char* value) { m_labelTimestampHasBeenSet = true; m_labelTimestamp.assign(value); } /** *The timestamp associated with the label to update. The timestamp must be * specified using ISO 8601 standard in UTC.
*/ inline Event& WithLabelTimestamp(const Aws::String& value) { SetLabelTimestamp(value); return *this;} /** *The timestamp associated with the label to update. The timestamp must be * specified using ISO 8601 standard in UTC.
*/ inline Event& WithLabelTimestamp(Aws::String&& value) { SetLabelTimestamp(std::move(value)); return *this;} /** *The timestamp associated with the label to update. The timestamp must be * specified using ISO 8601 standard in UTC.
*/ inline Event& WithLabelTimestamp(const char* value) { SetLabelTimestamp(value); return *this;} /** *The event entities.
*/ inline const Aws::VectorThe event entities.
*/ inline bool EntitiesHasBeenSet() const { return m_entitiesHasBeenSet; } /** *The event entities.
*/ inline void SetEntities(const Aws::VectorThe event entities.
*/ inline void SetEntities(Aws::VectorThe event entities.
*/ inline Event& WithEntities(const Aws::VectorThe event entities.
*/ inline Event& WithEntities(Aws::VectorThe event entities.
*/ inline Event& AddEntities(const Entity& value) { m_entitiesHasBeenSet = true; m_entities.push_back(value); return *this; } /** *The event entities.
*/ inline Event& AddEntities(Entity&& value) { m_entitiesHasBeenSet = true; m_entities.push_back(std::move(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::Map