7#include <aws/core/utils/event/EventStreamDecoder.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/logs/CloudWatchLogsRequest.h>
11#include <aws/logs/CloudWatchLogs_EXPORTS.h>
12#include <aws/logs/model/StartLiveTailHandler.h>
17namespace CloudWatchLogs {
72 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
74 m_logGroupIdentifiersHasBeenSet =
true;
75 m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value);
77 template <
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
82 template <
typename LogGroupIdentifiersT = Aws::String>
84 m_logGroupIdentifiersHasBeenSet =
true;
85 m_logGroupIdentifiers.emplace_back(std::forward<LogGroupIdentifiersT>(value));
100 template <
typename LogStreamNamesT = Aws::Vector<Aws::String>>
102 m_logStreamNamesHasBeenSet =
true;
103 m_logStreamNames = std::forward<LogStreamNamesT>(value);
105 template <
typename LogStreamNamesT = Aws::Vector<Aws::String>>
110 template <
typename LogStreamNamesT = Aws::String>
112 m_logStreamNamesHasBeenSet =
true;
113 m_logStreamNames.emplace_back(std::forward<LogStreamNamesT>(value));
129 template <
typename LogStreamNamePrefixesT = Aws::Vector<Aws::String>>
131 m_logStreamNamePrefixesHasBeenSet =
true;
132 m_logStreamNamePrefixes = std::forward<LogStreamNamePrefixesT>(value);
134 template <
typename LogStreamNamePrefixesT = Aws::Vector<Aws::String>>
139 template <
typename LogStreamNamePrefixesT = Aws::String>
141 m_logStreamNamePrefixesHasBeenSet =
true;
142 m_logStreamNamePrefixes.emplace_back(std::forward<LogStreamNamePrefixesT>(value));
160 template <
typename LogEventFilterPatternT = Aws::String>
162 m_logEventFilterPatternHasBeenSet =
true;
163 m_logEventFilterPattern = std::forward<LogEventFilterPatternT>(value);
165 template <
typename LogEventFilterPatternT = Aws::String>
182 bool m_logGroupIdentifiersHasBeenSet =
false;
183 bool m_logStreamNamesHasBeenSet =
false;
184 bool m_logStreamNamePrefixesHasBeenSet =
false;
185 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