/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a log event, which is a record of activity that was recorded by
* the application or resource being monitored.See Also:
AWS
* API Reference
The time the event occurred, expressed as the number of milliseconds after
* Jan 1, 1970 00:00:00 UTC
.
The time the event occurred, expressed as the number of milliseconds after
* Jan 1, 1970 00:00:00 UTC
.
The time the event occurred, expressed as the number of milliseconds after
* Jan 1, 1970 00:00:00 UTC
.
The time the event occurred, expressed as the number of milliseconds after
* Jan 1, 1970 00:00:00 UTC
.
The raw event message. Each log event can be no larger than 256 KB.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The raw event message. Each log event can be no larger than 256 KB.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The raw event message. Each log event can be no larger than 256 KB.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The raw event message. Each log event can be no larger than 256 KB.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The raw event message. Each log event can be no larger than 256 KB.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The raw event message. Each log event can be no larger than 256 KB.
*/ inline InputLogEvent& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The raw event message. Each log event can be no larger than 256 KB.
*/ inline InputLogEvent& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The raw event message. Each log event can be no larger than 256 KB.
*/ inline InputLogEvent& WithMessage(const char* value) { SetMessage(value); return *this;} private: long long m_timestamp; bool m_timestampHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws