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/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/Insight.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace OpenSearchService {
44 template <
typename InsightsT = Aws::Vector<Insight>>
46 m_insightsHasBeenSet =
true;
47 m_insights = std::forward<InsightsT>(value);
49 template <
typename InsightsT = Aws::Vector<Insight>>
54 template <
typename InsightsT = Insight>
56 m_insightsHasBeenSet =
true;
57 m_insights.emplace_back(std::forward<InsightsT>(value));
69 template <
typename NextTokenT = Aws::String>
71 m_nextTokenHasBeenSet =
true;
72 m_nextToken = std::forward<NextTokenT>(value);
74 template <
typename NextTokenT = Aws::String>
84 template <
typename RequestIdT = Aws::String>
86 m_requestIdHasBeenSet =
true;
87 m_requestId = std::forward<RequestIdT>(value);
89 template <
typename RequestIdT = Aws::String>
104 bool m_insightsHasBeenSet =
false;
105 bool m_nextTokenHasBeenSet =
false;
106 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< Insight > & GetInsights() const
void SetNextToken(NextTokenT &&value)
AWS_OPENSEARCHSERVICE_API ListInsightsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
AWS_OPENSEARCHSERVICE_API ListInsightsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListInsightsResult & WithInsights(InsightsT &&value)
void SetInsights(InsightsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
const Aws::String & GetNextToken() const
AWS_OPENSEARCHSERVICE_API ListInsightsResult()=default
ListInsightsResult & WithRequestId(RequestIdT &&value)
ListInsightsResult & WithNextToken(NextTokenT &&value)
ListInsightsResult & AddInsights(InsightsT &&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