7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/evidently/model/EventType.h>
23namespace CloudWatchEvidently
39 AWS_CLOUDWATCHEVIDENTLY_API
Event();
53 inline void SetData(
const char* value) { m_dataHasBeenSet =
true; m_data.assign(value); }
80 inline void SetType(
const EventType& value) { m_typeHasBeenSet =
true; m_type = value; }
81 inline void SetType(
EventType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
88 bool m_dataHasBeenSet =
false;
91 bool m_timestampHasBeenSet =
false;
94 bool m_typeHasBeenSet =
false;
Event & WithTimestamp(Aws::Utils::DateTime &&value)
AWS_CLOUDWATCHEVIDENTLY_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
Event & WithTimestamp(const Aws::Utils::DateTime &value)
AWS_CLOUDWATCHEVIDENTLY_API Event()
void SetTimestamp(Aws::Utils::DateTime &&value)
void SetTimestamp(const Aws::Utils::DateTime &value)
AWS_CLOUDWATCHEVIDENTLY_API Event(Aws::Utils::Json::JsonView jsonValue)
void SetData(Aws::String &&value)
Event & WithData(const Aws::String &value)
bool TypeHasBeenSet() const
void SetType(EventType &&value)
const Aws::String & GetData() const
Event & WithType(EventType &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetTimestamp() const
bool DataHasBeenSet() const
void SetType(const EventType &value)
Event & WithData(const char *value)
bool TimestampHasBeenSet() const
const EventType & GetType() const
Event & WithData(Aws::String &&value)
Event & WithType(const EventType &value)
void SetData(const Aws::String &value)
void SetData(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue