7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/frauddetector/model/Entity.h>
24namespace FraudDetector
37 AWS_FRAUDDETECTOR_API
Event() =
default;
49 template<
typename EventIdT = Aws::String>
50 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
51 template<
typename EventIdT = Aws::String>
61 template<
typename EventTypeNameT = Aws::String>
62 void SetEventTypeName(EventTypeNameT&& value) { m_eventTypeNameHasBeenSet =
true; m_eventTypeName = std::forward<EventTypeNameT>(value); }
63 template<
typename EventTypeNameT = Aws::String>
74 template<
typename EventTimestampT = Aws::String>
75 void SetEventTimestamp(EventTimestampT&& value) { m_eventTimestampHasBeenSet =
true; m_eventTimestamp = std::forward<EventTimestampT>(value); }
76 template<
typename EventTimestampT = Aws::String>
88 template<
typename EventVariablesT = Aws::Map<Aws::String, Aws::String>>
89 void SetEventVariables(EventVariablesT&& value) { m_eventVariablesHasBeenSet =
true; m_eventVariables = std::forward<EventVariablesT>(value); }
90 template<
typename EventVariablesT = Aws::Map<Aws::String, Aws::String>>
92 template<
typename EventVariablesKeyT = Aws::String,
typename EventVariablesValueT = Aws::String>
94 m_eventVariablesHasBeenSet =
true; m_eventVariables.emplace(std::forward<EventVariablesKeyT>(key), std::forward<EventVariablesValueT>(value));
return *
this;
104 template<
typename CurrentLabelT = Aws::String>
105 void SetCurrentLabel(CurrentLabelT&& value) { m_currentLabelHasBeenSet =
true; m_currentLabel = std::forward<CurrentLabelT>(value); }
106 template<
typename CurrentLabelT = Aws::String>
117 template<
typename LabelTimestampT = Aws::String>
118 void SetLabelTimestamp(LabelTimestampT&& value) { m_labelTimestampHasBeenSet =
true; m_labelTimestamp = std::forward<LabelTimestampT>(value); }
119 template<
typename LabelTimestampT = Aws::String>
129 template<
typename EntitiesT = Aws::Vector<Entity>>
130 void SetEntities(EntitiesT&& value) { m_entitiesHasBeenSet =
true; m_entities = std::forward<EntitiesT>(value); }
131 template<
typename EntitiesT = Aws::Vector<Entity>>
133 template<
typename EntitiesT = Entity>
134 Event&
AddEntities(EntitiesT&& value) { m_entitiesHasBeenSet =
true; m_entities.emplace_back(std::forward<EntitiesT>(value));
return *
this; }
139 bool m_eventIdHasBeenSet =
false;
142 bool m_eventTypeNameHasBeenSet =
false;
145 bool m_eventTimestampHasBeenSet =
false;
148 bool m_eventVariablesHasBeenSet =
false;
151 bool m_currentLabelHasBeenSet =
false;
154 bool m_labelTimestampHasBeenSet =
false;
157 bool m_entitiesHasBeenSet =
false;
void SetCurrentLabel(CurrentLabelT &&value)
const Aws::String & GetCurrentLabel() const
const Aws::Map< Aws::String, Aws::String > & GetEventVariables() const
Event & WithCurrentLabel(CurrentLabelT &&value)
void SetEventTimestamp(EventTimestampT &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Entity > & GetEntities() const
bool LabelTimestampHasBeenSet() const
Event & WithLabelTimestamp(LabelTimestampT &&value)
AWS_FRAUDDETECTOR_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEventTypeName(EventTypeNameT &&value)
bool EntitiesHasBeenSet() const
void SetEntities(EntitiesT &&value)
AWS_FRAUDDETECTOR_API Event()=default
const Aws::String & GetEventId() const
Event & WithEventId(EventIdT &&value)
const Aws::String & GetEventTimestamp() const
AWS_FRAUDDETECTOR_API Event(Aws::Utils::Json::JsonView jsonValue)
Event & WithEventVariables(EventVariablesT &&value)
Event & WithEventTimestamp(EventTimestampT &&value)
const Aws::String & GetEventTypeName() const
Event & WithEventTypeName(EventTypeNameT &&value)
void SetEventId(EventIdT &&value)
bool EventTypeNameHasBeenSet() const
bool CurrentLabelHasBeenSet() const
bool EventVariablesHasBeenSet() const
void SetLabelTimestamp(LabelTimestampT &&value)
bool EventTimestampHasBeenSet() const
Event & WithEntities(EntitiesT &&value)
Event & AddEntities(EntitiesT &&value)
Event & AddEventVariables(EventVariablesKeyT &&key, EventVariablesValueT &&value)
bool EventIdHasBeenSet() const
const Aws::String & GetLabelTimestamp() const
void SetEventVariables(EventVariablesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue