7#include <aws/iotevents-data/IoTEventsData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace IoTEventsData
35 AWS_IOTEVENTSDATA_API
Timer() =
default;
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
59 template<
typename TimestampT = Aws::Utils::DateTime>
60 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
61 template<
typename TimestampT = Aws::Utils::DateTime>
67 bool m_nameHasBeenSet =
false;
70 bool m_timestampHasBeenSet =
false;
bool NameHasBeenSet() const
Timer & WithTimestamp(TimestampT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
bool TimestampHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetName() const
AWS_IOTEVENTSDATA_API Timer & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTSDATA_API Timer(Aws::Utils::Json::JsonView jsonValue)
Timer & WithName(NameT &&value)
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTEVENTSDATA_API Timer()=default
void SetTimestamp(TimestampT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue