7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/logs/model/LogGroupClass.h>
16namespace CloudWatchLogs
47 template<
typename AccountIdentifiersT = Aws::Vector<Aws::String>>
48 void SetAccountIdentifiers(AccountIdentifiersT&& value) { m_accountIdentifiersHasBeenSet =
true; m_accountIdentifiers = std::forward<AccountIdentifiersT>(value); }
49 template<
typename AccountIdentifiersT = Aws::Vector<Aws::String>>
51 template<
typename AccountIdentifiersT = Aws::String>
63 template<
typename LogGroupNamePrefixT = Aws::String>
64 void SetLogGroupNamePrefix(LogGroupNamePrefixT&& value) { m_logGroupNamePrefixHasBeenSet =
true; m_logGroupNamePrefix = std::forward<LogGroupNamePrefixT>(value); }
65 template<
typename LogGroupNamePrefixT = Aws::String>
85 template<
typename LogGroupNamePatternT = Aws::String>
86 void SetLogGroupNamePattern(LogGroupNamePatternT&& value) { m_logGroupNamePatternHasBeenSet =
true; m_logGroupNamePattern = std::forward<LogGroupNamePatternT>(value); }
87 template<
typename LogGroupNamePatternT = Aws::String>
98 template<
typename NextTokenT = Aws::String>
99 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
100 template<
typename NextTokenT = Aws::String>
111 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
166 template<
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
167 void SetLogGroupIdentifiers(LogGroupIdentifiersT&& value) { m_logGroupIdentifiersHasBeenSet =
true; m_logGroupIdentifiers = std::forward<LogGroupIdentifiersT>(value); }
168 template<
typename LogGroupIdentifiersT = Aws::Vector<Aws::String>>
170 template<
typename LogGroupIdentifiersT = Aws::String>
176 bool m_accountIdentifiersHasBeenSet =
false;
179 bool m_logGroupNamePrefixHasBeenSet =
false;
182 bool m_logGroupNamePatternHasBeenSet =
false;
185 bool m_nextTokenHasBeenSet =
false;
188 bool m_limitHasBeenSet =
false;
190 bool m_includeLinkedAccounts{
false};
191 bool m_includeLinkedAccountsHasBeenSet =
false;
194 bool m_logGroupClassHasBeenSet =
false;
197 bool m_logGroupIdentifiersHasBeenSet =
false;
DescribeLogGroupsRequest & WithAccountIdentifiers(AccountIdentifiersT &&value)
void SetLogGroupNamePrefix(LogGroupNamePrefixT &&value)
const Aws::Vector< Aws::String > & GetAccountIdentifiers() const
DescribeLogGroupsRequest & WithLogGroupIdentifiers(LogGroupIdentifiersT &&value)
DescribeLogGroupsRequest & WithIncludeLinkedAccounts(bool value)
void SetIncludeLinkedAccounts(bool value)
bool NextTokenHasBeenSet() const
DescribeLogGroupsRequest & WithLogGroupNamePrefix(LogGroupNamePrefixT &&value)
const Aws::Vector< Aws::String > & GetLogGroupIdentifiers() const
LogGroupClass GetLogGroupClass() const
bool LogGroupNamePatternHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetNextToken(NextTokenT &&value)
bool IncludeLinkedAccountsHasBeenSet() const
void SetLogGroupClass(LogGroupClass value)
bool LogGroupClassHasBeenSet() const
bool LogGroupNamePrefixHasBeenSet() const
bool LimitHasBeenSet() const
const Aws::String & GetNextToken() const
void SetLogGroupIdentifiers(LogGroupIdentifiersT &&value)
AWS_CLOUDWATCHLOGS_API DescribeLogGroupsRequest()=default
const Aws::String & GetLogGroupNamePrefix() const
void SetLogGroupNamePattern(LogGroupNamePatternT &&value)
DescribeLogGroupsRequest & WithLogGroupClass(LogGroupClass value)
DescribeLogGroupsRequest & AddAccountIdentifiers(AccountIdentifiersT &&value)
void SetAccountIdentifiers(AccountIdentifiersT &&value)
bool LogGroupIdentifiersHasBeenSet() const
DescribeLogGroupsRequest & WithNextToken(NextTokenT &&value)
bool GetIncludeLinkedAccounts() const
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
DescribeLogGroupsRequest & WithLogGroupNamePattern(LogGroupNamePatternT &&value)
const Aws::String & GetLogGroupNamePattern() const
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeLogGroupsRequest & WithLimit(int value)
DescribeLogGroupsRequest & AddLogGroupIdentifiers(LogGroupIdentifiersT &&value)
bool AccountIdentifiersHasBeenSet() const
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