7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
10#include <aws/logs/model/LogGroup.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace CloudWatchLogs {
37 template <
typename LogGroupsT = Aws::Vector<LogGroup>>
39 m_logGroupsHasBeenSet =
true;
40 m_logGroups = std::forward<LogGroupsT>(value);
42 template <
typename LogGroupsT = Aws::Vector<LogGroup>>
47 template <
typename LogGroupsT = LogGroup>
49 m_logGroupsHasBeenSet =
true;
50 m_logGroups.emplace_back(std::forward<LogGroupsT>(value));
58 template <
typename NextTokenT = Aws::String>
60 m_nextTokenHasBeenSet =
true;
61 m_nextToken = std::forward<NextTokenT>(value);
63 template <
typename NextTokenT = Aws::String>
73 template <
typename RequestIdT = Aws::String>
75 m_requestIdHasBeenSet =
true;
76 m_requestId = std::forward<RequestIdT>(value);
78 template <
typename RequestIdT = Aws::String>
90 bool m_logGroupsHasBeenSet =
false;
91 bool m_nextTokenHasBeenSet =
false;
92 bool m_requestIdHasBeenSet =
false;
DescribeLogGroupsResult & WithRequestId(RequestIdT &&value)
AWS_CLOUDWATCHLOGS_API DescribeLogGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
AWS_CLOUDWATCHLOGS_API DescribeLogGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeLogGroupsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< LogGroup > & GetLogGroups() const
void SetLogGroups(LogGroupsT &&value)
AWS_CLOUDWATCHLOGS_API DescribeLogGroupsResult()=default
const Aws::String & GetNextToken() const
DescribeLogGroupsResult & WithLogGroups(LogGroupsT &&value)
DescribeLogGroupsResult & AddLogGroups(LogGroupsT &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue