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/LogGroupClass.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16namespace CloudWatchLogs
56 template<
typename LogGroupNamePatternT = Aws::String>
57 void SetLogGroupNamePattern(LogGroupNamePatternT&& value) { m_logGroupNamePatternHasBeenSet =
true; m_logGroupNamePattern = std::forward<LogGroupNamePatternT>(value); }
58 template<
typename LogGroupNamePatternT = Aws::String>
86 inline void SetIncludeLinkedAccounts(
bool value) { m_includeLinkedAccountsHasBeenSet =
true; m_includeLinkedAccounts = value; }
98 template<
typename AccountIdentifiersT = Aws::Vector<Aws::String>>
99 void SetAccountIdentifiers(AccountIdentifiersT&& value) { m_accountIdentifiersHasBeenSet =
true; m_accountIdentifiers = std::forward<AccountIdentifiersT>(value); }
100 template<
typename AccountIdentifiersT = Aws::Vector<Aws::String>>
102 template<
typename AccountIdentifiersT = Aws::String>
110 template<
typename NextTokenT = Aws::String>
111 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
112 template<
typename NextTokenT = Aws::String>
123 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
129 bool m_logGroupNamePatternHasBeenSet =
false;
132 bool m_logGroupClassHasBeenSet =
false;
134 bool m_includeLinkedAccounts{
false};
135 bool m_includeLinkedAccountsHasBeenSet =
false;
138 bool m_accountIdentifiersHasBeenSet =
false;
141 bool m_nextTokenHasBeenSet =
false;
144 bool m_limitHasBeenSet =
false;
ListLogGroupsRequest & WithLimit(int value)
void SetIncludeLinkedAccounts(bool value)
bool LogGroupNamePatternHasBeenSet() const
void SetLogGroupClass(LogGroupClass value)
bool LogGroupClassHasBeenSet() const
const Aws::String & GetLogGroupNamePattern() const
LogGroupClass GetLogGroupClass() const
bool NextTokenHasBeenSet() const
ListLogGroupsRequest & WithAccountIdentifiers(AccountIdentifiersT &&value)
const Aws::Vector< Aws::String > & GetAccountIdentifiers() const
bool AccountIdentifiersHasBeenSet() const
ListLogGroupsRequest & WithNextToken(NextTokenT &&value)
bool LimitHasBeenSet() const
ListLogGroupsRequest & WithLogGroupClass(LogGroupClass value)
virtual const char * GetServiceRequestName() const override
bool IncludeLinkedAccountsHasBeenSet() const
ListLogGroupsRequest & AddAccountIdentifiers(AccountIdentifiersT &&value)
void SetLogGroupNamePattern(LogGroupNamePatternT &&value)
const Aws::String & GetNextToken() const
bool GetIncludeLinkedAccounts() const
AWS_CLOUDWATCHLOGS_API ListLogGroupsRequest()=default
ListLogGroupsRequest & WithLogGroupNamePattern(LogGroupNamePatternT &&value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAccountIdentifiers(AccountIdentifiersT &&value)
ListLogGroupsRequest & WithIncludeLinkedAccounts(bool value)
void SetNextToken(NextTokenT &&value)
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