7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/marketplace-agreement/AgreementServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/marketplace-agreement/model/Sort.h>
12#include <aws/marketplace-agreement/model/Filter.h>
17namespace AgreementService
46 template<
typename CatalogT = Aws::String>
47 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet =
true; m_catalog = std::forward<CatalogT>(value); }
48 template<
typename CatalogT = Aws::String>
80 template<
typename FiltersT = Aws::Vector<Filter>>
81 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
82 template<
typename FiltersT = Aws::Vector<Filter>>
84 template<
typename FiltersT = Filter>
94 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
104 template<
typename NextTokenT = Aws::String>
105 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
106 template<
typename NextTokenT = Aws::String>
117 template<
typename SortT = Sort>
118 void SetSort(SortT&& value) { m_sortHasBeenSet =
true; m_sort = std::forward<SortT>(value); }
119 template<
typename SortT = Sort>
125 bool m_catalogHasBeenSet =
false;
128 bool m_filtersHasBeenSet =
false;
131 bool m_maxResultsHasBeenSet =
false;
134 bool m_nextTokenHasBeenSet =
false;
137 bool m_sortHasBeenSet =
false;
AWS_AGREEMENTSERVICE_API Aws::String SerializePayload() const override
const Sort & GetSort() const
const Aws::String & GetCatalog() const
void SetMaxResults(int value)
AWS_AGREEMENTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetFilters(FiltersT &&value)
SearchAgreementsRequest & AddFilters(FiltersT &&value)
SearchAgreementsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
SearchAgreementsRequest & WithFilters(FiltersT &&value)
int GetMaxResults() const
SearchAgreementsRequest & WithCatalog(CatalogT &&value)
void SetSort(SortT &&value)
const Aws::Vector< Filter > & GetFilters() const
bool NextTokenHasBeenSet() const
void SetNextToken(NextTokenT &&value)
bool SortHasBeenSet() const
bool FiltersHasBeenSet() const
void SetCatalog(CatalogT &&value)
const Aws::String & GetNextToken() const
SearchAgreementsRequest & WithMaxResults(int value)
bool CatalogHasBeenSet() const
bool MaxResultsHasBeenSet() const
AWS_AGREEMENTSERVICE_API SearchAgreementsRequest()=default
SearchAgreementsRequest & WithSort(SortT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector