7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/InsightEntity.h>
11#include <aws/opensearch/model/InsightSortOrder.h>
12#include <aws/opensearch/model/InsightTimeRange.h>
17namespace OpenSearchService {
45 template <
typename EntityT = InsightEntity>
47 m_entityHasBeenSet =
true;
48 m_entity = std::forward<EntityT>(value);
50 template <
typename EntityT = InsightEntity>
64 template <
typename TimeRangeT = InsightTimeRange>
66 m_timeRangeHasBeenSet =
true;
67 m_timeRange = std::forward<TimeRangeT>(value);
69 template <
typename TimeRangeT = InsightTimeRange>
84 m_sortOrderHasBeenSet =
true;
102 m_maxResultsHasBeenSet =
true;
103 m_maxResults = value;
120 template <
typename NextTokenT = Aws::String>
122 m_nextTokenHasBeenSet =
true;
123 m_nextToken = std::forward<NextTokenT>(value);
125 template <
typename NextTokenT = Aws::String>
141 bool m_entityHasBeenSet =
false;
142 bool m_timeRangeHasBeenSet =
false;
143 bool m_sortOrderHasBeenSet =
false;
144 bool m_maxResultsHasBeenSet =
false;
145 bool m_nextTokenHasBeenSet =
false;
ListInsightsRequest & WithNextToken(NextTokenT &&value)
ListInsightsRequest & WithMaxResults(int value)
void SetSortOrder(InsightSortOrder value)
int GetMaxResults() const
ListInsightsRequest & WithSortOrder(InsightSortOrder value)
const InsightTimeRange & GetTimeRange() const
ListInsightsRequest & WithTimeRange(TimeRangeT &&value)
bool MaxResultsHasBeenSet() const
bool EntityHasBeenSet() const
void SetNextToken(NextTokenT &&value)
bool NextTokenHasBeenSet() const
bool TimeRangeHasBeenSet() const
void SetEntity(EntityT &&value)
const InsightEntity & GetEntity() const
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
void SetTimeRange(TimeRangeT &&value)
ListInsightsRequest & WithEntity(EntityT &&value)
void SetMaxResults(int value)
InsightSortOrder GetSortOrder() const
virtual const char * GetServiceRequestName() const override
AWS_OPENSEARCHSERVICE_API ListInsightsRequest()=default
bool SortOrderHasBeenSet() const
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String