7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/frauddetector/FraudDetectorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/frauddetector/model/Entity.h>
17namespace FraudDetector
46 template<
typename EventIdT = Aws::String>
47 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
48 template<
typename EventIdT = Aws::String>
58 template<
typename EventTypeNameT = Aws::String>
59 void SetEventTypeName(EventTypeNameT&& value) { m_eventTypeNameHasBeenSet =
true; m_eventTypeName = std::forward<EventTypeNameT>(value); }
60 template<
typename EventTypeNameT = Aws::String>
71 template<
typename EventTimestampT = Aws::String>
72 void SetEventTimestamp(EventTimestampT&& value) { m_eventTimestampHasBeenSet =
true; m_eventTimestamp = std::forward<EventTimestampT>(value); }
73 template<
typename EventTimestampT = Aws::String>
85 template<
typename EventVariablesT = Aws::Map<Aws::String, Aws::String>>
86 void SetEventVariables(EventVariablesT&& value) { m_eventVariablesHasBeenSet =
true; m_eventVariables = std::forward<EventVariablesT>(value); }
87 template<
typename EventVariablesT = Aws::Map<Aws::String, Aws::String>>
89 template<
typename EventVariablesKeyT = Aws::String,
typename EventVariablesValueT = Aws::String>
91 m_eventVariablesHasBeenSet =
true; m_eventVariables.emplace(std::forward<EventVariablesKeyT>(key), std::forward<EventVariablesValueT>(value));
return *
this;
102 template<
typename As
signedLabelT = Aws::String>
103 void SetAssignedLabel(AssignedLabelT&& value) { m_assignedLabelHasBeenSet =
true; m_assignedLabel = std::forward<AssignedLabelT>(value); }
104 template<
typename As
signedLabelT = Aws::String>
115 template<
typename LabelTimestampT = Aws::String>
116 void SetLabelTimestamp(LabelTimestampT&& value) { m_labelTimestampHasBeenSet =
true; m_labelTimestamp = std::forward<LabelTimestampT>(value); }
117 template<
typename LabelTimestampT = Aws::String>
127 template<
typename EntitiesT = Aws::Vector<Entity>>
128 void SetEntities(EntitiesT&& value) { m_entitiesHasBeenSet =
true; m_entities = std::forward<EntitiesT>(value); }
129 template<
typename EntitiesT = Aws::Vector<Entity>>
131 template<
typename EntitiesT = Entity>
132 SendEventRequest&
AddEntities(EntitiesT&& value) { m_entitiesHasBeenSet =
true; m_entities.emplace_back(std::forward<EntitiesT>(value));
return *
this; }
137 bool m_eventIdHasBeenSet =
false;
140 bool m_eventTypeNameHasBeenSet =
false;
143 bool m_eventTimestampHasBeenSet =
false;
146 bool m_eventVariablesHasBeenSet =
false;
149 bool m_assignedLabelHasBeenSet =
false;
152 bool m_labelTimestampHasBeenSet =
false;
155 bool m_entitiesHasBeenSet =
false;
SendEventRequest & WithLabelTimestamp(LabelTimestampT &&value)
void SetEventTimestamp(EventTimestampT &&value)
bool EventTimestampHasBeenSet() const
bool AssignedLabelHasBeenSet() const
void SetLabelTimestamp(LabelTimestampT &&value)
const Aws::Vector< Entity > & GetEntities() const
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetEventVariables() const
void SetEntities(EntitiesT &&value)
bool EventTypeNameHasBeenSet() const
SendEventRequest & WithEventTypeName(EventTypeNameT &&value)
bool EntitiesHasBeenSet() const
SendEventRequest & WithEntities(EntitiesT &&value)
const Aws::String & GetEventTypeName() const
void SetEventId(EventIdT &&value)
SendEventRequest & WithAssignedLabel(AssignedLabelT &&value)
SendEventRequest & AddEventVariables(EventVariablesKeyT &&key, EventVariablesValueT &&value)
bool EventIdHasBeenSet() const
void SetAssignedLabel(AssignedLabelT &&value)
const Aws::String & GetEventTimestamp() const
const Aws::String & GetLabelTimestamp() const
SendEventRequest & WithEventVariables(EventVariablesT &&value)
SendEventRequest & AddEntities(EntitiesT &&value)
void SetEventVariables(EventVariablesT &&value)
SendEventRequest & WithEventTimestamp(EventTimestampT &&value)
void SetEventTypeName(EventTypeNameT &&value)
SendEventRequest & WithEventId(EventIdT &&value)
AWS_FRAUDDETECTOR_API SendEventRequest()=default
bool EventVariablesHasBeenSet() const
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetEventId() const
virtual const char * GetServiceRequestName() const override
bool LabelTimestampHasBeenSet() const
const Aws::String & GetAssignedLabel() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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