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/Destination.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace CloudWatchLogs {
37 template <
typename DestinationsT = Aws::Vector<Destination>>
39 m_destinationsHasBeenSet =
true;
40 m_destinations = std::forward<DestinationsT>(value);
42 template <
typename DestinationsT = Aws::Vector<Destination>>
47 template <
typename DestinationsT = Destination>
49 m_destinationsHasBeenSet =
true;
50 m_destinations.emplace_back(std::forward<DestinationsT>(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>
93 bool m_destinationsHasBeenSet =
false;
94 bool m_nextTokenHasBeenSet =
false;
95 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
DescribeDestinationsResult & AddDestinations(DestinationsT &&value)
DescribeDestinationsResult & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::Vector< Destination > & GetDestinations() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_CLOUDWATCHLOGS_API DescribeDestinationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDestinations(DestinationsT &&value)
DescribeDestinationsResult & WithDestinations(DestinationsT &&value)
DescribeDestinationsResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
AWS_CLOUDWATCHLOGS_API DescribeDestinationsResult()=default
AWS_CLOUDWATCHLOGS_API DescribeDestinationsResult(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