7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/logs/model/StartLiveTailHandler.h>
10#include <aws/core/utils/event/EventStreamDecoder.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17namespace CloudWatchLogs
70 template<
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
71 void SetLogGroupIdentifiers(LogGroupIdentifiersT&& value) { m_logGroupIdentifiersHasBeenSet =
true; m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value); }
72 template<
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
74 template<
typename LogGroupIdentifiersT = Aws::String>
88 template<
typename LogStreamNamesT = Aws::Vector<Aws::String>>
89 void SetLogStreamNames(LogStreamNamesT&& value) { m_logStreamNamesHasBeenSet =
true; m_logStreamNames = std::forward<LogStreamNamesT>(value); }
90 template<
typename LogStreamNamesT = Aws::Vector<Aws::String>>
92 template<
typename LogStreamNamesT = Aws::String>
107 template<
typename LogStreamNamePrefixesT = Aws::Vector<Aws::String>>
108 void SetLogStreamNamePrefixes(LogStreamNamePrefixesT&& value) { m_logStreamNamePrefixesHasBeenSet =
true; m_logStreamNamePrefixes = std::forward<LogStreamNamePrefixesT>(value); }
109 template<
typename LogStreamNamePrefixesT = Aws::Vector<Aws::String>>
111 template<
typename LogStreamNamePrefixesT = Aws::String>
128 template<
typename LogEventFilterPatternT = Aws::String>
129 void SetLogEventFilterPattern(LogEventFilterPatternT&& value) { m_logEventFilterPatternHasBeenSet =
true; m_logEventFilterPattern = std::forward<LogEventFilterPatternT>(value); }
130 template<
typename LogEventFilterPatternT = Aws::String>
136 bool m_logGroupIdentifiersHasBeenSet =
false;
139 bool m_logStreamNamesHasBeenSet =
false;
142 bool m_logStreamNamePrefixesHasBeenSet =
false;
145 bool m_logEventFilterPatternHasBeenSet =
false;
bool LogStreamNamesHasBeenSet() const
StartLiveTailRequest & WithLogGroupIdentifiers(LogGroupIdentifiersT &&value)
bool LogEventFilterPatternHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
void SetLogStreamNamePrefixes(LogStreamNamePrefixesT &&value)
const Aws::Vector< Aws::String > & GetLogStreamNamePrefixes() const
void SetLogGroupIdentifiers(LogGroupIdentifiersT &&value)
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
StartLiveTailRequest & AddLogStreamNames(LogStreamNamesT &&value)
StartLiveTailRequest & WithLogEventFilterPattern(LogEventFilterPatternT &&value)
void SetLogStreamNames(LogStreamNamesT &&value)
const Aws::String & GetLogEventFilterPattern() const
StartLiveTailRequest & AddLogGroupIdentifiers(LogGroupIdentifiersT &&value)
virtual const char * GetServiceRequestName() const override
StartLiveTailHandler & GetEventStreamHandler()
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual bool HasEventStreamResponse() const override
AWS_CLOUDWATCHLOGS_API StartLiveTailRequest()=default
const Aws::Vector< Aws::String > & GetLogGroupIdentifiers() const
StartLiveTailRequest & AddLogStreamNamePrefixes(LogStreamNamePrefixesT &&value)
void SetLogEventFilterPattern(LogEventFilterPatternT &&value)
bool LogStreamNamePrefixesHasBeenSet() const
StartLiveTailRequest & WithEventStreamHandler(const StartLiveTailHandler &value)
StartLiveTailRequest & WithLogStreamNamePrefixes(LogStreamNamePrefixesT &&value)
void SetEventStreamHandler(const StartLiveTailHandler &value)
bool LogGroupIdentifiersHasBeenSet() const
StartLiveTailRequest & WithLogStreamNames(LogStreamNamesT &&value)
const Aws::Vector< Aws::String > & GetLogStreamNames() const
void ResetEventStreamHandler(EventStreamHandler *handler)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector