7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/logs/model/OrderBy.h>
15namespace CloudWatchLogs
46 template<
typename LogGroupNameT = Aws::String>
47 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet =
true; m_logGroupName = std::forward<LogGroupNameT>(value); }
48 template<
typename LogGroupNameT = Aws::String>
62 template<
typename LogGroupIdentifierT = Aws::String>
63 void SetLogGroupIdentifier(LogGroupIdentifierT&& value) { m_logGroupIdentifierHasBeenSet =
true; m_logGroupIdentifier = std::forward<LogGroupIdentifierT>(value); }
64 template<
typename LogGroupIdentifierT = Aws::String>
75 template<
typename LogStreamNamePrefixT = Aws::String>
76 void SetLogStreamNamePrefix(LogStreamNamePrefixT&& value) { m_logStreamNamePrefixHasBeenSet =
true; m_logStreamNamePrefix = std::forward<LogStreamNamePrefixT>(value); }
77 template<
typename LogStreamNamePrefixT = Aws::String>
109 inline void SetDescending(
bool value) { m_descendingHasBeenSet =
true; m_descending = value; }
120 template<
typename NextTokenT = Aws::String>
121 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
122 template<
typename NextTokenT = Aws::String>
133 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
139 bool m_logGroupNameHasBeenSet =
false;
142 bool m_logGroupIdentifierHasBeenSet =
false;
145 bool m_logStreamNamePrefixHasBeenSet =
false;
148 bool m_orderByHasBeenSet =
false;
150 bool m_descending{
false};
151 bool m_descendingHasBeenSet =
false;
154 bool m_nextTokenHasBeenSet =
false;
157 bool m_limitHasBeenSet =
false;
bool LogGroupIdentifierHasBeenSet() const
DescribeLogStreamsRequest & WithLogGroupName(LogGroupNameT &&value)
DescribeLogStreamsRequest & WithNextToken(NextTokenT &&value)
DescribeLogStreamsRequest & WithLogGroupIdentifier(LogGroupIdentifierT &&value)
bool NextTokenHasBeenSet() const
bool DescendingHasBeenSet() const
const Aws::String & GetLogGroupName() const
bool LogGroupNameHasBeenSet() const
void SetLogStreamNamePrefix(LogStreamNamePrefixT &&value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
bool LogStreamNamePrefixHasBeenSet() const
void SetLogGroupName(LogGroupNameT &&value)
const Aws::String & GetLogStreamNamePrefix() const
DescribeLogStreamsRequest & WithLimit(int value)
void SetNextToken(NextTokenT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeLogStreamsRequest & WithLogStreamNamePrefix(LogStreamNamePrefixT &&value)
const Aws::String & GetNextToken() const
AWS_CLOUDWATCHLOGS_API DescribeLogStreamsRequest()=default
bool OrderByHasBeenSet() const
void SetOrderBy(OrderBy value)
bool LimitHasBeenSet() const
DescribeLogStreamsRequest & WithOrderBy(OrderBy value)
DescribeLogStreamsRequest & WithDescending(bool value)
OrderBy GetOrderBy() const
bool GetDescending() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetLogGroupIdentifier() const
void SetDescending(bool value)
void SetLogGroupIdentifier(LogGroupIdentifierT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String