7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/KendraRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kendra/model/CustomDocumentEnrichmentConfiguration.h>
12#include <aws/kendra/model/Document.h>
47 template<
typename IndexIdT = Aws::String>
48 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
49 template<
typename IndexIdT = Aws::String>
62 template<
typename RoleArnT = Aws::String>
63 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
64 template<
typename RoleArnT = Aws::String>
78 template<
typename DocumentsT = Aws::Vector<Document>>
79 void SetDocuments(DocumentsT&& value) { m_documentsHasBeenSet =
true; m_documents = std::forward<DocumentsT>(value); }
80 template<
typename DocumentsT = Aws::Vector<Document>>
82 template<
typename DocumentsT = Document>
98 template<
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
99 void SetCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfigurationT&& value) { m_customDocumentEnrichmentConfigurationHasBeenSet =
true; m_customDocumentEnrichmentConfiguration = std::forward<CustomDocumentEnrichmentConfigurationT>(value); }
100 template<
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
106 bool m_indexIdHasBeenSet =
false;
109 bool m_roleArnHasBeenSet =
false;
112 bool m_documentsHasBeenSet =
false;
115 bool m_customDocumentEnrichmentConfigurationHasBeenSet =
false;
BatchPutDocumentRequest & WithDocuments(DocumentsT &&value)
const Aws::Vector< Document > & GetDocuments() const
AWS_KENDRA_API BatchPutDocumentRequest()=default
bool CustomDocumentEnrichmentConfigurationHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
bool DocumentsHasBeenSet() const
BatchPutDocumentRequest & AddDocuments(DocumentsT &&value)
bool IndexIdHasBeenSet() const
const Aws::String & GetIndexId() const
const Aws::String & GetRoleArn() const
void SetIndexId(IndexIdT &&value)
void SetCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfigurationT &&value)
BatchPutDocumentRequest & WithRoleArn(RoleArnT &&value)
const CustomDocumentEnrichmentConfiguration & GetCustomDocumentEnrichmentConfiguration() const
bool RoleArnHasBeenSet() const
void SetDocuments(DocumentsT &&value)
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
BatchPutDocumentRequest & WithIndexId(IndexIdT &&value)
BatchPutDocumentRequest & WithCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfigurationT &&value)
AWS_KENDRA_API Aws::String SerializePayload() const override
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