7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opsworks/model/CloudWatchLogsTimeZone.h>
10#include <aws/opsworks/model/CloudWatchLogsInitialPosition.h>
11#include <aws/opsworks/model/CloudWatchLogsEncoding.h>
57 inline void SetLogGroupName(
const char* value) { m_logGroupNameHasBeenSet =
true; m_logGroupName.assign(value); }
74 inline void SetDatetimeFormat(
const char* value) { m_datetimeFormatHasBeenSet =
true; m_datetimeFormat.assign(value); }
110 inline void SetFile(
const char* value) { m_fileHasBeenSet =
true; m_file.assign(value); }
128 inline void SetFileFingerprintLines(
const char* value) { m_fileFingerprintLinesHasBeenSet =
true; m_fileFingerprintLines.assign(value); }
142 inline void SetMultiLineStartPattern(
const char* value) { m_multiLineStartPatternHasBeenSet =
true; m_multiLineStartPattern.assign(value); }
183 inline void SetBufferDuration(
int value) { m_bufferDurationHasBeenSet =
true; m_bufferDuration = value; }
194 inline void SetBatchCount(
int value) { m_batchCountHasBeenSet =
true; m_batchCount = value; }
206 inline void SetBatchSize(
int value) { m_batchSizeHasBeenSet =
true; m_batchSize = value; }
212 bool m_logGroupNameHasBeenSet =
false;
215 bool m_datetimeFormatHasBeenSet =
false;
218 bool m_timeZoneHasBeenSet =
false;
221 bool m_fileHasBeenSet =
false;
224 bool m_fileFingerprintLinesHasBeenSet =
false;
227 bool m_multiLineStartPatternHasBeenSet =
false;
230 bool m_initialPositionHasBeenSet =
false;
233 bool m_encodingHasBeenSet =
false;
235 int m_bufferDuration;
236 bool m_bufferDurationHasBeenSet =
false;
239 bool m_batchCountHasBeenSet =
false;
242 bool m_batchSizeHasBeenSet =
false;
CloudWatchLogsLogStream & WithFile(const char *value)
void SetDatetimeFormat(Aws::String &&value)
void SetMultiLineStartPattern(const char *value)
bool TimeZoneHasBeenSet() const
void SetBatchCount(int value)
void SetEncoding(CloudWatchLogsEncoding &&value)
bool LogGroupNameHasBeenSet() const
void SetDatetimeFormat(const Aws::String &value)
void SetFileFingerprintLines(Aws::String &&value)
AWS_OPSWORKS_API CloudWatchLogsLogStream()
CloudWatchLogsLogStream & WithTimeZone(const CloudWatchLogsTimeZone &value)
const CloudWatchLogsEncoding & GetEncoding() const
AWS_OPSWORKS_API CloudWatchLogsLogStream & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MultiLineStartPatternHasBeenSet() const
bool FileHasBeenSet() const
const Aws::String & GetDatetimeFormat() const
void SetMultiLineStartPattern(Aws::String &&value)
CloudWatchLogsLogStream & WithBatchCount(int value)
void SetFileFingerprintLines(const Aws::String &value)
void SetLogGroupName(Aws::String &&value)
void SetTimeZone(CloudWatchLogsTimeZone &&value)
int GetBufferDuration() const
CloudWatchLogsLogStream & WithLogGroupName(const Aws::String &value)
bool BatchSizeHasBeenSet() const
CloudWatchLogsLogStream & WithBufferDuration(int value)
CloudWatchLogsLogStream & WithDatetimeFormat(Aws::String &&value)
bool FileFingerprintLinesHasBeenSet() const
bool DatetimeFormatHasBeenSet() const
void SetTimeZone(const CloudWatchLogsTimeZone &value)
CloudWatchLogsLogStream & WithFileFingerprintLines(Aws::String &&value)
CloudWatchLogsLogStream & WithFile(const Aws::String &value)
const CloudWatchLogsInitialPosition & GetInitialPosition() const
void SetFileFingerprintLines(const char *value)
CloudWatchLogsLogStream & WithMultiLineStartPattern(Aws::String &&value)
void SetLogGroupName(const char *value)
void SetFile(const Aws::String &value)
CloudWatchLogsLogStream & WithLogGroupName(Aws::String &&value)
const Aws::String & GetFileFingerprintLines() const
void SetLogGroupName(const Aws::String &value)
CloudWatchLogsLogStream & WithLogGroupName(const char *value)
bool BatchCountHasBeenSet() const
CloudWatchLogsLogStream & WithInitialPosition(CloudWatchLogsInitialPosition &&value)
CloudWatchLogsLogStream & WithMultiLineStartPattern(const char *value)
CloudWatchLogsLogStream & WithFileFingerprintLines(const Aws::String &value)
AWS_OPSWORKS_API CloudWatchLogsLogStream(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLogGroupName() const
const Aws::String & GetMultiLineStartPattern() const
void SetMultiLineStartPattern(const Aws::String &value)
void SetFile(const char *value)
bool InitialPositionHasBeenSet() const
int GetBatchCount() const
CloudWatchLogsLogStream & WithEncoding(const CloudWatchLogsEncoding &value)
const CloudWatchLogsTimeZone & GetTimeZone() const
void SetFile(Aws::String &&value)
bool BufferDurationHasBeenSet() const
CloudWatchLogsLogStream & WithFileFingerprintLines(const char *value)
const Aws::String & GetFile() const
CloudWatchLogsLogStream & WithBatchSize(int value)
void SetEncoding(const CloudWatchLogsEncoding &value)
void SetInitialPosition(CloudWatchLogsInitialPosition &&value)
CloudWatchLogsLogStream & WithTimeZone(CloudWatchLogsTimeZone &&value)
CloudWatchLogsLogStream & WithDatetimeFormat(const char *value)
bool EncodingHasBeenSet() const
CloudWatchLogsLogStream & WithEncoding(CloudWatchLogsEncoding &&value)
void SetBatchSize(int value)
CloudWatchLogsLogStream & WithDatetimeFormat(const Aws::String &value)
CloudWatchLogsLogStream & WithFile(Aws::String &&value)
void SetDatetimeFormat(const char *value)
void SetBufferDuration(int value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInitialPosition(const CloudWatchLogsInitialPosition &value)
CloudWatchLogsLogStream & WithInitialPosition(const CloudWatchLogsInitialPosition &value)
CloudWatchLogsLogStream & WithMultiLineStartPattern(const Aws::String &value)
CloudWatchLogsInitialPosition
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue