7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/workdocs/WorkDocsRequest.h>
10#include <aws/workdocs/WorkDocs_EXPORTS.h>
11#include <aws/workdocs/model/AdditionalResponseFieldType.h>
12#include <aws/workdocs/model/Filters.h>
13#include <aws/workdocs/model/SearchQueryScopeType.h>
14#include <aws/workdocs/model/SearchSortResult.h>
45 template <
typename AuthenticationTokenT = Aws::String>
47 m_authenticationTokenHasBeenSet =
true;
48 m_authenticationToken = std::forward<AuthenticationTokenT>(value);
50 template <
typename AuthenticationTokenT = Aws::String>
65 template <
typename QueryTextT = Aws::String>
67 m_queryTextHasBeenSet =
true;
68 m_queryText = std::forward<QueryTextT>(value);
70 template <
typename QueryTextT = Aws::String>
85 template <
typename QueryScopesT = Aws::Vector<SearchQueryScopeType>>
87 m_queryScopesHasBeenSet =
true;
88 m_queryScopes = std::forward<QueryScopesT>(value);
90 template <
typename QueryScopesT = Aws::Vector<SearchQueryScopeType>>
96 m_queryScopesHasBeenSet =
true;
97 m_queryScopes.push_back(value);
109 template <
typename OrganizationIdT = Aws::String>
111 m_organizationIdHasBeenSet =
true;
112 m_organizationId = std::forward<OrganizationIdT>(value);
114 template <
typename OrganizationIdT = Aws::String>
128 template <
typename AdditionalResponseFieldsT = Aws::Vector<AdditionalResponseFieldType>>
130 m_additionalResponseFieldsHasBeenSet =
true;
131 m_additionalResponseFields = std::forward<AdditionalResponseFieldsT>(value);
133 template <
typename AdditionalResponseFieldsT = Aws::Vector<AdditionalResponseFieldType>>
139 m_additionalResponseFieldsHasBeenSet =
true;
140 m_additionalResponseFields.push_back(value);
151 template <
typename FiltersT = Filters>
153 m_filtersHasBeenSet =
true;
154 m_filters = std::forward<FiltersT>(value);
156 template <
typename FiltersT = Filters>
169 template <
typename OrderByT = Aws::Vector<SearchSortResult>>
171 m_orderByHasBeenSet =
true;
172 m_orderBy = std::forward<OrderByT>(value);
174 template <
typename OrderByT = Aws::Vector<SearchSortResult>>
179 template <
typename OrderByT = SearchSortResult>
181 m_orderByHasBeenSet =
true;
182 m_orderBy.emplace_back(std::forward<OrderByT>(value));
194 m_limitHasBeenSet =
true;
209 template <
typename MarkerT = Aws::String>
211 m_markerHasBeenSet =
true;
212 m_marker = std::forward<MarkerT>(value);
214 template <
typename MarkerT = Aws::String>
238 bool m_authenticationTokenHasBeenSet =
false;
239 bool m_queryTextHasBeenSet =
false;
240 bool m_queryScopesHasBeenSet =
false;
241 bool m_organizationIdHasBeenSet =
false;
242 bool m_additionalResponseFieldsHasBeenSet =
false;
243 bool m_filtersHasBeenSet =
false;
244 bool m_orderByHasBeenSet =
false;
245 bool m_limitHasBeenSet =
false;
246 bool m_markerHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
bool QueryTextHasBeenSet() const
const Aws::String & GetAuthenticationToken() const
void SetFilters(FiltersT &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
SearchResourcesRequest & WithFilters(FiltersT &&value)
bool QueryScopesHasBeenSet() const
bool AdditionalResponseFieldsHasBeenSet() const
SearchResourcesRequest & AddAdditionalResponseFields(AdditionalResponseFieldType value)
const Filters & GetFilters() const
SearchResourcesRequest & WithMarker(MarkerT &&value)
SearchResourcesRequest & WithQueryText(QueryTextT &&value)
const Aws::Vector< AdditionalResponseFieldType > & GetAdditionalResponseFields() const
SearchResourcesRequest & AddQueryScopes(SearchQueryScopeType value)
AWS_WORKDOCS_API SearchResourcesRequest()=default
void SetQueryScopes(QueryScopesT &&value)
SearchResourcesRequest & WithAdditionalResponseFields(AdditionalResponseFieldsT &&value)
void SetAdditionalResponseFields(AdditionalResponseFieldsT &&value)
SearchResourcesRequest & WithOrganizationId(OrganizationIdT &&value)
SearchResourcesRequest & WithLimit(int value)
const Aws::Vector< SearchQueryScopeType > & GetQueryScopes() const
const Aws::Vector< SearchSortResult > & GetOrderBy() const
SearchResourcesRequest & AddOrderBy(OrderByT &&value)
SearchResourcesRequest & WithQueryScopes(QueryScopesT &&value)
bool OrderByHasBeenSet() const
void SetOrganizationId(OrganizationIdT &&value)
bool AuthenticationTokenHasBeenSet() const
void SetAuthenticationToken(AuthenticationTokenT &&value)
const Aws::String & GetMarker() const
SearchResourcesRequest & WithOrderBy(OrderByT &&value)
bool OrganizationIdHasBeenSet() const
SearchResourcesRequest & WithAuthenticationToken(AuthenticationTokenT &&value)
const Aws::String & GetOrganizationId() const
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool MarkerHasBeenSet() const
void SetQueryText(QueryTextT &&value)
const Aws::String & GetQueryText() const
void SetOrderBy(OrderByT &&value)
bool FiltersHasBeenSet() const
void SetMarker(MarkerT &&value)
bool LimitHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
AdditionalResponseFieldType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector