7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qbusiness/QBusinessRequest.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
43 template <
typename ApplicationIdT = Aws::String>
45 m_applicationIdHasBeenSet =
true;
46 m_applicationId = std::forward<ApplicationIdT>(value);
48 template <
typename ApplicationIdT = Aws::String>
61 template <
typename IndexIdT = Aws::String>
63 m_indexIdHasBeenSet =
true;
64 m_indexId = std::forward<IndexIdT>(value);
66 template <
typename IndexIdT = Aws::String>
79 template <
typename DataSourceIdsT = Aws::Vector<Aws::String>>
81 m_dataSourceIdsHasBeenSet =
true;
82 m_dataSourceIds = std::forward<DataSourceIdsT>(value);
84 template <
typename DataSourceIdsT = Aws::Vector<Aws::String>>
89 template <
typename DataSourceIdsT = Aws::String>
91 m_dataSourceIdsHasBeenSet =
true;
92 m_dataSourceIds.emplace_back(std::forward<DataSourceIdsT>(value));
105 template <
typename NextTokenT = Aws::String>
107 m_nextTokenHasBeenSet =
true;
108 m_nextToken = std::forward<NextTokenT>(value);
110 template <
typename NextTokenT = Aws::String>
124 m_maxResultsHasBeenSet =
true;
125 m_maxResults = value;
134 bool m_applicationIdHasBeenSet =
false;
137 bool m_indexIdHasBeenSet =
false;
140 bool m_dataSourceIdsHasBeenSet =
false;
143 bool m_nextTokenHasBeenSet =
false;
146 bool m_maxResultsHasBeenSet =
false;
bool ApplicationIdHasBeenSet() const
ListDocumentsRequest & WithNextToken(NextTokenT &&value)
ListDocumentsRequest & WithIndexId(IndexIdT &&value)
virtual const char * GetServiceRequestName() const override
ListDocumentsRequest & WithApplicationId(ApplicationIdT &&value)
int GetMaxResults() const
void SetMaxResults(int value)
AWS_QBUSINESS_API ListDocumentsRequest()=default
ListDocumentsRequest & WithDataSourceIds(DataSourceIdsT &&value)
AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetDataSourceIds(DataSourceIdsT &&value)
const Aws::String & GetIndexId() const
bool IndexIdHasBeenSet() const
const Aws::String & GetApplicationId() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
void SetIndexId(IndexIdT &&value)
void SetApplicationId(ApplicationIdT &&value)
ListDocumentsRequest & AddDataSourceIds(DataSourceIdsT &&value)
bool NextTokenHasBeenSet() const
bool MaxResultsHasBeenSet() const
const Aws::Vector< Aws::String > & GetDataSourceIds() const
ListDocumentsRequest & WithMaxResults(int value)
void SetNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
bool DataSourceIdsHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector