7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/logs/model/Destination.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace CloudWatchLogs
42 template<
typename DestinationsT = Aws::Vector<Destination>>
43 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
44 template<
typename DestinationsT = Aws::Vector<Destination>>
46 template<
typename DestinationsT = Destination>
53 template<
typename NextTokenT = Aws::String>
54 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
55 template<
typename NextTokenT = Aws::String>
62 template<
typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
64 template<
typename RequestIdT = Aws::String>
70 bool m_destinationsHasBeenSet =
false;
73 bool m_nextTokenHasBeenSet =
false;
76 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_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