7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/FilterClause.h>
12#include <aws/datazone/model/InventorySearchScope.h>
13#include <aws/datazone/model/SearchSort.h>
14#include <aws/datazone/model/SearchOutputAdditionalAttribute.h>
15#include <aws/datazone/model/SearchInItem.h>
47 template<
typename AdditionalAttributesT = Aws::Vector<SearchOutputAdditionalAttribute>>
48 void SetAdditionalAttributes(AdditionalAttributesT&& value) { m_additionalAttributesHasBeenSet =
true; m_additionalAttributes = std::forward<AdditionalAttributesT>(value); }
49 template<
typename AdditionalAttributesT = Aws::Vector<SearchOutputAdditionalAttribute>>
60 template<
typename DomainIdentifierT = Aws::String>
61 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet =
true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
62 template<
typename DomainIdentifierT = Aws::String>
72 template<
typename FiltersT = FilterClause>
73 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
74 template<
typename FiltersT = FilterClause>
88 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
103 template<
typename NextTokenT = Aws::String>
104 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
105 template<
typename NextTokenT = Aws::String>
115 template<
typename OwningProjectIdentifierT = Aws::String>
116 void SetOwningProjectIdentifier(OwningProjectIdentifierT&& value) { m_owningProjectIdentifierHasBeenSet =
true; m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value); }
117 template<
typename OwningProjectIdentifierT = Aws::String>
127 template<
typename SearchInT = Aws::Vector<SearchInItem>>
128 void SetSearchIn(SearchInT&& value) { m_searchInHasBeenSet =
true; m_searchIn = std::forward<SearchInT>(value); }
129 template<
typename SearchInT = Aws::Vector<SearchInItem>>
131 template<
typename SearchInT = SearchInItem>
132 SearchRequest&
AddSearchIn(SearchInT&& value) { m_searchInHasBeenSet =
true; m_searchIn.emplace_back(std::forward<SearchInT>(value));
return *
this; }
151 template<
typename SearchTextT = Aws::String>
152 void SetSearchText(SearchTextT&& value) { m_searchTextHasBeenSet =
true; m_searchText = std::forward<SearchTextT>(value); }
153 template<
typename SearchTextT = Aws::String>
163 template<
typename SortT = SearchSort>
164 void SetSort(SortT&& value) { m_sortHasBeenSet =
true; m_sort = std::forward<SortT>(value); }
165 template<
typename SortT = SearchSort>
171 bool m_additionalAttributesHasBeenSet =
false;
174 bool m_domainIdentifierHasBeenSet =
false;
177 bool m_filtersHasBeenSet =
false;
180 bool m_maxResultsHasBeenSet =
false;
183 bool m_nextTokenHasBeenSet =
false;
186 bool m_owningProjectIdentifierHasBeenSet =
false;
189 bool m_searchInHasBeenSet =
false;
192 bool m_searchScopeHasBeenSet =
false;
195 bool m_searchTextHasBeenSet =
false;
198 bool m_sortHasBeenSet =
false;
const Aws::Vector< SearchInItem > & GetSearchIn() const
bool SearchTextHasBeenSet() const
const Aws::String & GetOwningProjectIdentifier() const
void SetSort(SortT &&value)
bool FiltersHasBeenSet() const
bool OwningProjectIdentifierHasBeenSet() const
InventorySearchScope GetSearchScope() const
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
SearchRequest & WithSort(SortT &&value)
SearchRequest & WithSearchText(SearchTextT &&value)
void SetFilters(FiltersT &&value)
bool MaxResultsHasBeenSet() const
void SetDomainIdentifier(DomainIdentifierT &&value)
const Aws::String & GetDomainIdentifier() const
bool NextTokenHasBeenSet() const
bool DomainIdentifierHasBeenSet() const
SearchRequest & WithAdditionalAttributes(AdditionalAttributesT &&value)
bool SearchScopeHasBeenSet() const
SearchRequest & WithDomainIdentifier(DomainIdentifierT &&value)
const Aws::String & GetSearchText() const
bool AdditionalAttributesHasBeenSet() const
void SetSearchIn(SearchInT &&value)
void SetMaxResults(int value)
SearchRequest & WithFilters(FiltersT &&value)
SearchRequest & WithSearchIn(SearchInT &&value)
void SetAdditionalAttributes(AdditionalAttributesT &&value)
SearchRequest & WithSearchScope(InventorySearchScope value)
const FilterClause & GetFilters() const
void SetSearchText(SearchTextT &&value)
void SetOwningProjectIdentifier(OwningProjectIdentifierT &&value)
void SetSearchScope(InventorySearchScope value)
SearchRequest & AddAdditionalAttributes(SearchOutputAdditionalAttribute value)
const Aws::String & GetNextToken() const
SearchRequest & WithOwningProjectIdentifier(OwningProjectIdentifierT &&value)
bool SortHasBeenSet() const
SearchRequest & AddSearchIn(SearchInT &&value)
const SearchSort & GetSort() const
void SetNextToken(NextTokenT &&value)
const Aws::Vector< SearchOutputAdditionalAttribute > & GetAdditionalAttributes() const
AWS_DATAZONE_API SearchRequest()=default
SearchRequest & WithNextToken(NextTokenT &&value)
int GetMaxResults() const
bool SearchInHasBeenSet() const
SearchRequest & WithMaxResults(int value)
SearchOutputAdditionalAttribute
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector