7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/workdocs/model/Filters.h>
12#include <aws/workdocs/model/SearchQueryScopeType.h>
13#include <aws/workdocs/model/AdditionalResponseFieldType.h>
14#include <aws/workdocs/model/SearchSortResult.h>
51 inline void SetAuthenticationToken(
const char* value) { m_authenticationTokenHasBeenSet =
true; m_authenticationToken.assign(value); }
67 inline void SetQueryText(
const char* value) { m_queryTextHasBeenSet =
true; m_queryText.assign(value); }
98 inline void SetOrganizationId(
const char* value) { m_organizationIdHasBeenSet =
true; m_organizationId.assign(value); }
126 inline void SetFilters(
Filters&& value) { m_filtersHasBeenSet =
true; m_filters = std::move(value); }
151 inline void SetLimit(
int value) { m_limitHasBeenSet =
true; m_limit = value; }
163 inline void SetMarker(
const char* value) { m_markerHasBeenSet =
true; m_marker.assign(value); }
171 bool m_authenticationTokenHasBeenSet =
false;
174 bool m_queryTextHasBeenSet =
false;
177 bool m_queryScopesHasBeenSet =
false;
180 bool m_organizationIdHasBeenSet =
false;
183 bool m_additionalResponseFieldsHasBeenSet =
false;
186 bool m_filtersHasBeenSet =
false;
189 bool m_orderByHasBeenSet =
false;
192 bool m_limitHasBeenSet =
false;
195 bool m_markerHasBeenSet =
false;
void SetAuthenticationToken(const char *value)
SearchResourcesRequest & WithFilters(const Filters &value)
void SetMarker(const Aws::String &value)
void SetFilters(Filters &&value)
virtual const char * GetServiceRequestName() const override
bool QueryTextHasBeenSet() const
const Aws::String & GetAuthenticationToken() const
AWS_WORKDOCS_API Aws::String SerializePayload() const override
bool QueryScopesHasBeenSet() const
SearchResourcesRequest & AddQueryScopes(const SearchQueryScopeType &value)
void SetOrganizationId(Aws::String &&value)
void SetOrderBy(Aws::Vector< SearchSortResult > &&value)
SearchResourcesRequest & WithQueryText(const Aws::String &value)
void SetOrganizationId(const Aws::String &value)
void SetQueryText(const Aws::String &value)
bool AdditionalResponseFieldsHasBeenSet() const
SearchResourcesRequest & WithAdditionalResponseFields(Aws::Vector< AdditionalResponseFieldType > &&value)
SearchResourcesRequest & AddAdditionalResponseFields(const AdditionalResponseFieldType &value)
const Filters & GetFilters() const
SearchResourcesRequest & AddAdditionalResponseFields(AdditionalResponseFieldType &&value)
const Aws::Vector< AdditionalResponseFieldType > & GetAdditionalResponseFields() const
void SetMarker(const char *value)
SearchResourcesRequest & WithQueryText(const char *value)
void SetOrderBy(const Aws::Vector< SearchSortResult > &value)
SearchResourcesRequest & WithMarker(const char *value)
void SetAuthenticationToken(Aws::String &&value)
SearchResourcesRequest & WithFilters(Filters &&value)
SearchResourcesRequest & AddQueryScopes(SearchQueryScopeType &&value)
SearchResourcesRequest & WithQueryScopes(const Aws::Vector< SearchQueryScopeType > &value)
void SetMarker(Aws::String &&value)
void SetOrganizationId(const char *value)
SearchResourcesRequest & WithOrganizationId(const char *value)
void SetQueryScopes(const Aws::Vector< SearchQueryScopeType > &value)
SearchResourcesRequest & WithMarker(Aws::String &&value)
SearchResourcesRequest & WithAuthenticationToken(const Aws::String &value)
SearchResourcesRequest & WithAuthenticationToken(Aws::String &&value)
SearchResourcesRequest & WithOrganizationId(Aws::String &&value)
SearchResourcesRequest & WithLimit(int value)
SearchResourcesRequest & WithMarker(const Aws::String &value)
SearchResourcesRequest & WithOrderBy(Aws::Vector< SearchSortResult > &&value)
const Aws::Vector< SearchQueryScopeType > & GetQueryScopes() const
const Aws::Vector< SearchSortResult > & GetOrderBy() const
void SetQueryText(const char *value)
bool OrderByHasBeenSet() const
void SetAdditionalResponseFields(Aws::Vector< AdditionalResponseFieldType > &&value)
void SetAdditionalResponseFields(const Aws::Vector< AdditionalResponseFieldType > &value)
SearchResourcesRequest & WithQueryScopes(Aws::Vector< SearchQueryScopeType > &&value)
bool AuthenticationTokenHasBeenSet() const
void SetQueryScopes(Aws::Vector< SearchQueryScopeType > &&value)
const Aws::String & GetMarker() const
SearchResourcesRequest & WithOrganizationId(const Aws::String &value)
void SetAuthenticationToken(const Aws::String &value)
bool OrganizationIdHasBeenSet() const
const Aws::String & GetOrganizationId() const
SearchResourcesRequest & AddOrderBy(SearchSortResult &&value)
SearchResourcesRequest & AddOrderBy(const SearchSortResult &value)
AWS_WORKDOCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool MarkerHasBeenSet() const
void SetFilters(const Filters &value)
const Aws::String & GetQueryText() const
void SetQueryText(Aws::String &&value)
AWS_WORKDOCS_API SearchResourcesRequest()
SearchResourcesRequest & WithQueryText(Aws::String &&value)
bool FiltersHasBeenSet() const
bool LimitHasBeenSet() const
SearchResourcesRequest & WithAuthenticationToken(const char *value)
SearchResourcesRequest & WithOrderBy(const Aws::Vector< SearchSortResult > &value)
SearchResourcesRequest & WithAdditionalResponseFields(const Aws::Vector< AdditionalResponseFieldType > &value)
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