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() =
default;
51 template<
typename DataT = Aws::String>
52 void SetData(DataT&& value) { m_dataHasBeenSet =
true; m_data = std::forward<DataT>(value); }
53 template<
typename DataT = Aws::String>
63 template<
typename TimestampT = Aws::Utils::DateTime>
64 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
65 template<
typename TimestampT = Aws::Utils::DateTime>
84 bool m_dataHasBeenSet =
false;
87 bool m_timestampHasBeenSet =
false;
90 bool m_typeHasBeenSet =
false;
AWS_CLOUDWATCHEVIDENTLY_API Event & operator=(Aws::Utils::Json::JsonView jsonValue)
Event & WithTimestamp(TimestampT &&value)
void SetTimestamp(TimestampT &&value)
Event & WithType(EventType value)
AWS_CLOUDWATCHEVIDENTLY_API Event(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
Event & WithData(DataT &&value)
void SetData(DataT &&value)
EventType GetType() const
const Aws::String & GetData() const
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetTimestamp() const
bool DataHasBeenSet() const
void SetType(EventType value)
bool TimestampHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API Event()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue