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
51 inline void SetEventId(
const char* value) { m_eventIdHasBeenSet =
true; m_eventId.assign(value); }
65 inline void SetEventTypeName(
const char* value) { m_eventTypeNameHasBeenSet =
true; m_eventTypeName.assign(value); }
80 inline void SetEventTimestamp(
const char* value) { m_eventTimestampHasBeenSet =
true; m_eventTimestamp.assign(value); }
104 inline Event&
AddEventVariables(
const char* key,
const char* value) { m_eventVariablesHasBeenSet =
true; m_eventVariables.emplace(key, value);
return *
this; }
115 inline void SetCurrentLabel(
const char* value) { m_currentLabelHasBeenSet =
true; m_currentLabel.assign(value); }
130 inline void SetLabelTimestamp(
const char* value) { m_labelTimestampHasBeenSet =
true; m_labelTimestamp.assign(value); }
146 inline Event&
AddEntities(
const Entity& value) { m_entitiesHasBeenSet =
true; m_entities.push_back(value);
return *
this; }
147 inline Event&
AddEntities(
Entity&& value) { m_entitiesHasBeenSet =
true; m_entities.push_back(std::move(value));
return *
this; }
152 bool m_eventIdHasBeenSet =
false;
155 bool m_eventTypeNameHasBeenSet =
false;
158 bool m_eventTimestampHasBeenSet =
false;
161 bool m_eventVariablesHasBeenSet =
false;
164 bool m_currentLabelHasBeenSet =
false;
167 bool m_labelTimestampHasBeenSet =
false;
170 bool m_entitiesHasBeenSet =
false;
Event & AddEventVariables(const Aws::String &key, Aws::String &&value)
Event & WithEventVariables(Aws::Map< Aws::String, Aws::String > &&value)
void SetEventTimestamp(const char *value)
void SetEventId(const Aws::String &value)
const Aws::String & GetCurrentLabel() const
void SetEventTypeName(Aws::String &&value)
void SetLabelTimestamp(const Aws::String &value)
void SetEntities(const Aws::Vector< Entity > &value)
Event & AddEventVariables(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetEventVariables() const
Event & AddEventVariables(Aws::String &&key, const char *value)
Event & WithCurrentLabel(const char *value)
Event & WithEntities(Aws::Vector< Entity > &&value)
void SetEventId(Aws::String &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
Event & WithEventId(Aws::String &&value)
Event & WithEventTimestamp(const Aws::String &value)
Event & WithEventId(const char *value)
Event & WithEventTypeName(Aws::String &&value)
Event & WithLabelTimestamp(const char *value)
const Aws::Vector< Entity > & GetEntities() const
void SetEventVariables(Aws::Map< Aws::String, Aws::String > &&value)
bool LabelTimestampHasBeenSet() const
Event & AddEntities(const Entity &value)
Event & WithLabelTimestamp(Aws::String &&value)
void SetCurrentLabel(const char *value)
void SetEventVariables(const Aws::Map< Aws::String, Aws::String > &value)
AWS_FRAUDDETECTOR_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EntitiesHasBeenSet() const
Event & WithEventVariables(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetEventId() const
void SetEventTimestamp(Aws::String &&value)
Event & WithEventTimestamp(const char *value)
const Aws::String & GetEventTimestamp() const
AWS_FRAUDDETECTOR_API Event(Aws::Utils::Json::JsonView jsonValue)
Event & AddEntities(Entity &&value)
void SetCurrentLabel(const Aws::String &value)
Event & WithEventTypeName(const Aws::String &value)
Event & WithEntities(const Aws::Vector< Entity > &value)
const Aws::String & GetEventTypeName() const
Event & AddEventVariables(const char *key, Aws::String &&value)
Event & AddEventVariables(const Aws::String &key, const Aws::String &value)
AWS_FRAUDDETECTOR_API Event()
bool EventTypeNameHasBeenSet() const
void SetEventTimestamp(const Aws::String &value)
bool CurrentLabelHasBeenSet() const
bool EventVariablesHasBeenSet() const
Event & WithEventTimestamp(Aws::String &&value)
void SetLabelTimestamp(const char *value)
Event & AddEventVariables(const char *key, const char *value)
Event & WithLabelTimestamp(const Aws::String &value)
Event & WithCurrentLabel(const Aws::String &value)
Event & AddEventVariables(Aws::String &&key, Aws::String &&value)
Event & WithEventTypeName(const char *value)
bool EventTimestampHasBeenSet() const
Event & WithCurrentLabel(Aws::String &&value)
bool EventIdHasBeenSet() const
void SetCurrentLabel(Aws::String &&value)
void SetEventTypeName(const Aws::String &value)
void SetEventTypeName(const char *value)
const Aws::String & GetLabelTimestamp() const
Event & WithEventId(const Aws::String &value)
void SetLabelTimestamp(Aws::String &&value)
void SetEventId(const char *value)
void SetEntities(Aws::Vector< Entity > &&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