7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/qbusiness/model/DeleteDocument.h>
43 template<
typename ApplicationIdT = Aws::String>
45 template<
typename ApplicationIdT = Aws::String>
56 template<
typename IndexIdT = Aws::String>
57 void SetIndexId(
IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
58 template<
typename IndexIdT = Aws::String>
68 template<
typename DocumentsT = Aws::Vector<DeleteDocument>>
69 void SetDocuments(
DocumentsT&& value) { m_documentsHasBeenSet =
true; m_documents = std::forward<DocumentsT>(value); }
70 template<
typename DocumentsT = Aws::Vector<DeleteDocument>>
72 template<
typename DocumentsT = DeleteDocument>
83 template<
typename DataSourceSyncIdT = Aws::String>
85 template<
typename DataSourceSyncIdT = Aws::String>
91 bool m_applicationIdHasBeenSet =
false;
94 bool m_indexIdHasBeenSet =
false;
97 bool m_documentsHasBeenSet =
false;
100 bool m_dataSourceSyncIdHasBeenSet =
false;
bool DataSourceSyncIdHasBeenSet() const
BatchDeleteDocumentRequest & AddDocuments(DocumentsT &&value)
const Aws::String & GetDataSourceSyncId() const
BatchDeleteDocumentRequest & WithDataSourceSyncId(DataSourceSyncIdT &&value)
void SetIndexId(IndexIdT &&value)
const Aws::String & GetIndexId() const
bool ApplicationIdHasBeenSet() const
AWS_QBUSINESS_API BatchDeleteDocumentRequest()=default
bool IndexIdHasBeenSet() const
BatchDeleteDocumentRequest & WithDocuments(DocumentsT &&value)
const Aws::String & GetApplicationId() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::Vector< DeleteDocument > & GetDocuments() const
void SetDocuments(DocumentsT &&value)
void SetApplicationId(ApplicationIdT &&value)
BatchDeleteDocumentRequest & WithIndexId(IndexIdT &&value)
BatchDeleteDocumentRequest & WithApplicationId(ApplicationIdT &&value)
bool DocumentsHasBeenSet() const
void SetDataSourceSyncId(DataSourceSyncIdT &&value)
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