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
48 inline void SetCatalog(
const char* value) { m_catalogHasBeenSet =
true; m_catalog.assign(value); }
96 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
108 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
121 inline void SetSort(
const Sort& value) { m_sortHasBeenSet =
true; m_sort = value; }
122 inline void SetSort(
Sort&& value) { m_sortHasBeenSet =
true; m_sort = std::move(value); }
129 bool m_catalogHasBeenSet =
false;
132 bool m_filtersHasBeenSet =
false;
135 bool m_maxResultsHasBeenSet =
false;
138 bool m_nextTokenHasBeenSet =
false;
141 bool m_sortHasBeenSet =
false;
void SetSort(const Sort &value)
AWS_AGREEMENTSERVICE_API Aws::String SerializePayload() const override
SearchAgreementsRequest & WithNextToken(const Aws::String &value)
const Sort & GetSort() const
const Aws::String & GetCatalog() const
void SetMaxResults(int value)
SearchAgreementsRequest & WithSort(const Sort &value)
AWS_AGREEMENTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCatalog(const Aws::String &value)
void SetFilters(const Aws::Vector< Filter > &value)
AWS_AGREEMENTSERVICE_API SearchAgreementsRequest()
void SetNextToken(const char *value)
SearchAgreementsRequest & AddFilters(Filter &&value)
void SetNextToken(Aws::String &&value)
void SetSort(Sort &&value)
virtual const char * GetServiceRequestName() const override
int GetMaxResults() const
SearchAgreementsRequest & WithFilters(const Aws::Vector< Filter > &value)
SearchAgreementsRequest & WithCatalog(const Aws::String &value)
SearchAgreementsRequest & WithCatalog(const char *value)
SearchAgreementsRequest & WithNextToken(Aws::String &&value)
const Aws::Vector< Filter > & GetFilters() const
void SetCatalog(const char *value)
void SetCatalog(Aws::String &&value)
void SetFilters(Aws::Vector< Filter > &&value)
bool NextTokenHasBeenSet() const
bool SortHasBeenSet() const
SearchAgreementsRequest & WithCatalog(Aws::String &&value)
bool FiltersHasBeenSet() const
const Aws::String & GetNextToken() const
SearchAgreementsRequest & WithMaxResults(int value)
SearchAgreementsRequest & WithSort(Sort &&value)
bool CatalogHasBeenSet() const
SearchAgreementsRequest & WithNextToken(const char *value)
bool MaxResultsHasBeenSet() const
SearchAgreementsRequest & WithFilters(Aws::Vector< Filter > &&value)
SearchAgreementsRequest & AddFilters(const Filter &value)
void SetNextToken(const Aws::String &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