7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/opensearch/model/DescribePackagesFilter.h>
16namespace OpenSearchService
63 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
78 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
86 bool m_filtersHasBeenSet =
false;
89 bool m_maxResultsHasBeenSet =
false;
92 bool m_nextTokenHasBeenSet =
false;
void SetFilters(Aws::Vector< DescribePackagesFilter > &&value)
DescribePackagesRequest & WithFilters(const Aws::Vector< DescribePackagesFilter > &value)
DescribePackagesRequest & AddFilters(const DescribePackagesFilter &value)
void SetNextToken(Aws::String &&value)
DescribePackagesRequest & AddFilters(DescribePackagesFilter &&value)
void SetNextToken(const char *value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
void SetFilters(const Aws::Vector< DescribePackagesFilter > &value)
bool MaxResultsHasBeenSet() const
int GetMaxResults() const
DescribePackagesRequest & WithFilters(Aws::Vector< DescribePackagesFilter > &&value)
bool FiltersHasBeenSet() const
DescribePackagesRequest & WithNextToken(Aws::String &&value)
const Aws::Vector< DescribePackagesFilter > & GetFilters() const
DescribePackagesRequest & WithMaxResults(int value)
bool NextTokenHasBeenSet() const
const Aws::String & GetNextToken() const
void SetNextToken(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API DescribePackagesRequest()
DescribePackagesRequest & WithNextToken(const char *value)
DescribePackagesRequest & WithNextToken(const Aws::String &value)
void SetMaxResults(int value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector