/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The parameters for using an CloudWatch Logs log stream as a
* target.See Also:
AWS
* API Reference
The name of the log stream.
*/ inline const Aws::String& GetLogStreamName() const{ return m_logStreamName; } /** *The name of the log stream.
*/ inline bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; } /** *The name of the log stream.
*/ inline void SetLogStreamName(const Aws::String& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = value; } /** *The name of the log stream.
*/ inline void SetLogStreamName(Aws::String&& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = std::move(value); } /** *The name of the log stream.
*/ inline void SetLogStreamName(const char* value) { m_logStreamNameHasBeenSet = true; m_logStreamName.assign(value); } /** *The name of the log stream.
*/ inline PipeTargetCloudWatchLogsParameters& WithLogStreamName(const Aws::String& value) { SetLogStreamName(value); return *this;} /** *The name of the log stream.
*/ inline PipeTargetCloudWatchLogsParameters& WithLogStreamName(Aws::String&& value) { SetLogStreamName(std::move(value)); return *this;} /** *The name of the log stream.
*/ inline PipeTargetCloudWatchLogsParameters& WithLogStreamName(const char* value) { SetLogStreamName(value); return *this;} /** *The time the event occurred, expressed as the number of milliseconds after * Jan 1, 1970 00:00:00 UTC.
*/ inline const Aws::String& GetTimestamp() const{ return m_timestamp; } /** *The time the event occurred, expressed as the number of milliseconds after * Jan 1, 1970 00:00:00 UTC.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *The time the event occurred, expressed as the number of milliseconds after * Jan 1, 1970 00:00:00 UTC.
*/ inline void SetTimestamp(const Aws::String& value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *The time the event occurred, expressed as the number of milliseconds after * Jan 1, 1970 00:00:00 UTC.
*/ inline void SetTimestamp(Aws::String&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); } /** *The time the event occurred, expressed as the number of milliseconds after * Jan 1, 1970 00:00:00 UTC.
*/ inline void SetTimestamp(const char* value) { m_timestampHasBeenSet = true; m_timestamp.assign(value); } /** *The time the event occurred, expressed as the number of milliseconds after * Jan 1, 1970 00:00:00 UTC.
*/ inline PipeTargetCloudWatchLogsParameters& WithTimestamp(const Aws::String& value) { SetTimestamp(value); return *this;} /** *The time the event occurred, expressed as the number of milliseconds after * Jan 1, 1970 00:00:00 UTC.
*/ inline PipeTargetCloudWatchLogsParameters& WithTimestamp(Aws::String&& value) { SetTimestamp(std::move(value)); return *this;} /** *The time the event occurred, expressed as the number of milliseconds after * Jan 1, 1970 00:00:00 UTC.
*/ inline PipeTargetCloudWatchLogsParameters& WithTimestamp(const char* value) { SetTimestamp(value); return *this;} private: Aws::String m_logStreamName; bool m_logStreamNameHasBeenSet = false; Aws::String m_timestamp; bool m_timestampHasBeenSet = false; }; } // namespace Model } // namespace Pipes } // namespace Aws