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/Document.h>
43 template<
typename ApplicationIdT = Aws::String>
45 template<
typename ApplicationIdT = Aws::String>
55 template<
typename IndexIdT = Aws::String>
56 void SetIndexId(
IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
57 template<
typename IndexIdT = Aws::String>
67 template<
typename DocumentsT = Aws::Vector<Document>>
68 void SetDocuments(
DocumentsT&& value) { m_documentsHasBeenSet =
true; m_documents = std::forward<DocumentsT>(value); }
69 template<
typename DocumentsT = Aws::Vector<Document>>
71 template<
typename DocumentsT = Document>
82 template<
typename RoleArnT = Aws::String>
83 void SetRoleArn(
RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
84 template<
typename RoleArnT = Aws::String>
95 template<
typename DataSourceSyncIdT = Aws::String>
97 template<
typename DataSourceSyncIdT = Aws::String>
103 bool m_applicationIdHasBeenSet =
false;
106 bool m_indexIdHasBeenSet =
false;
109 bool m_documentsHasBeenSet =
false;
112 bool m_roleArnHasBeenSet =
false;
115 bool m_dataSourceSyncIdHasBeenSet =
false;
AWS_QBUSINESS_API Aws::String SerializePayload() const override
BatchPutDocumentRequest & WithIndexId(IndexIdT &&value)
const Aws::Vector< Document > & GetDocuments() const
void SetIndexId(IndexIdT &&value)
bool DataSourceSyncIdHasBeenSet() const
void SetDocuments(DocumentsT &&value)
const Aws::String & GetApplicationId() const
BatchPutDocumentRequest & WithApplicationId(ApplicationIdT &&value)
void SetApplicationId(ApplicationIdT &&value)
bool RoleArnHasBeenSet() const
BatchPutDocumentRequest & AddDocuments(DocumentsT &&value)
const Aws::String & GetDataSourceSyncId() const
const Aws::String & GetRoleArn() const
bool IndexIdHasBeenSet() const
BatchPutDocumentRequest & WithRoleArn(RoleArnT &&value)
void SetRoleArn(RoleArnT &&value)
bool ApplicationIdHasBeenSet() const
BatchPutDocumentRequest & WithDocuments(DocumentsT &&value)
const Aws::String & GetIndexId() const
bool DocumentsHasBeenSet() const
BatchPutDocumentRequest & WithDataSourceSyncId(DataSourceSyncIdT &&value)
void SetDataSourceSyncId(DataSourceSyncIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_QBUSINESS_API BatchPutDocumentRequest()=default
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