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/Delivery.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace CloudWatchLogs {
38 template <
typename DeliveriesT = Aws::Vector<Delivery>>
40 m_deliveriesHasBeenSet =
true;
41 m_deliveries = std::forward<DeliveriesT>(value);
43 template <
typename DeliveriesT = Aws::Vector<Delivery>>
48 template <
typename DeliveriesT = Delivery>
50 m_deliveriesHasBeenSet =
true;
51 m_deliveries.emplace_back(std::forward<DeliveriesT>(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_deliveriesHasBeenSet =
false;
95 bool m_nextTokenHasBeenSet =
false;
96 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
AWS_CLOUDWATCHLOGS_API DescribeDeliveriesResult()=default
DescribeDeliveriesResult & WithDeliveries(DeliveriesT &&value)
DescribeDeliveriesResult & AddDeliveries(DeliveriesT &&value)
const Aws::String & GetNextToken() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
DescribeDeliveriesResult & WithNextToken(NextTokenT &&value)
AWS_CLOUDWATCHLOGS_API DescribeDeliveriesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Delivery > & GetDeliveries() const
DescribeDeliveriesResult & WithRequestId(RequestIdT &&value)
AWS_CLOUDWATCHLOGS_API DescribeDeliveriesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetDeliveries(DeliveriesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue