/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This structure contains the information for one sample log event that is
* associated with an anomaly found by a log anomaly detector.See
* Also:
AWS API
* Reference
The time stamp of the log event.
*/ inline long long GetTimestamp() const{ return m_timestamp; } /** *The time stamp of the log event.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *The time stamp of the log event.
*/ inline void SetTimestamp(long long value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *The time stamp of the log event.
*/ inline LogEvent& WithTimestamp(long long value) { SetTimestamp(value); return *this;} /** *The message content of the log event.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The message content of the log event.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The message content of the log event.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The message content of the log event.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The message content of the log event.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The message content of the log event.
*/ inline LogEvent& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The message content of the log event.
*/ inline LogEvent& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The message content of the log event.
*/ inline LogEvent& 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