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/LogStream.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace CloudWatchLogs {
36 template <
typename LogStreamsT = Aws::Vector<LogStream>>
38 m_logStreamsHasBeenSet =
true;
39 m_logStreams = std::forward<LogStreamsT>(value);
41 template <
typename LogStreamsT = Aws::Vector<LogStream>>
46 template <
typename LogStreamsT = LogStream>
48 m_logStreamsHasBeenSet =
true;
49 m_logStreams.emplace_back(std::forward<LogStreamsT>(value));
57 template <
typename NextTokenT = Aws::String>
59 m_nextTokenHasBeenSet =
true;
60 m_nextToken = std::forward<NextTokenT>(value);
62 template <
typename NextTokenT = Aws::String>
72 template <
typename RequestIdT = Aws::String>
74 m_requestIdHasBeenSet =
true;
75 m_requestId = std::forward<RequestIdT>(value);
77 template <
typename RequestIdT = Aws::String>
89 bool m_logStreamsHasBeenSet =
false;
90 bool m_nextTokenHasBeenSet =
false;
91 bool m_requestIdHasBeenSet =
false;
DescribeLogStreamsResult & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
DescribeLogStreamsResult & WithLogStreams(LogStreamsT &&value)
DescribeLogStreamsResult & AddLogStreams(LogStreamsT &&value)
AWS_CLOUDWATCHLOGS_API DescribeLogStreamsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
const Aws::Vector< LogStream > & GetLogStreams() const
void SetRequestId(RequestIdT &&value)
void SetLogStreams(LogStreamsT &&value)
AWS_CLOUDWATCHLOGS_API DescribeLogStreamsResult()=default
DescribeLogStreamsResult & WithRequestId(RequestIdT &&value)
AWS_CLOUDWATCHLOGS_API DescribeLogStreamsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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