7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename CreatedAtT = Aws::Utils::DateTime>
48 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
49 template<
typename CreatedAtT = Aws::Utils::DateTime>
59 template<
typename MessageT = Aws::String>
60 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
61 template<
typename MessageT = Aws::String>
67 bool m_createdAtHasBeenSet =
false;
70 bool m_messageHasBeenSet =
false;
LogEvent & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
AWS_LIGHTSAIL_API LogEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API LogEvent()=default
bool CreatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
AWS_LIGHTSAIL_API LogEvent(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
LogEvent & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue