7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/logs/CloudWatchLogs_EXPORTS.h>
11#include <aws/logs/model/LogGroup.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace CloudWatchLogs {
38 template <
typename LogGroupsT = Aws::Vector<LogGroup>>
40 m_logGroupsHasBeenSet =
true;
41 m_logGroups = std::forward<LogGroupsT>(value);
43 template <
typename LogGroupsT = Aws::Vector<LogGroup>>
48 template <
typename LogGroupsT = LogGroup>
50 m_logGroupsHasBeenSet =
true;
51 m_logGroups.emplace_back(std::forward<LogGroupsT>(value));
59 template <
typename NextTokenT = Aws::String>
61 m_nextTokenHasBeenSet =
true;
62 m_nextToken = std::forward<NextTokenT>(value);
64 template <
typename NextTokenT = Aws::String>
74 template <
typename RequestIdT = Aws::String>
76 m_requestIdHasBeenSet =
true;
77 m_requestId = std::forward<RequestIdT>(value);
79 template <
typename RequestIdT = Aws::String>
94 bool m_logGroupsHasBeenSet =
false;
95 bool m_nextTokenHasBeenSet =
false;
96 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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