7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/KendraRequest.h>
10#include <aws/kendra/Kendra_EXPORTS.h>
11#include <aws/kendra/model/CustomDocumentEnrichmentConfiguration.h>
12#include <aws/kendra/model/Document.h>
43 template <
typename IndexIdT = Aws::String>
45 m_indexIdHasBeenSet =
true;
46 m_indexId = std::forward<IndexIdT>(value);
48 template <
typename IndexIdT = Aws::String>
64 template <
typename RoleArnT = Aws::String>
66 m_roleArnHasBeenSet =
true;
67 m_roleArn = std::forward<RoleArnT>(value);
69 template <
typename RoleArnT = Aws::String>
86 template <
typename DocumentsT = Aws::Vector<Document>>
88 m_documentsHasBeenSet =
true;
89 m_documents = std::forward<DocumentsT>(value);
91 template <
typename DocumentsT = Aws::Vector<Document>>
96 template <
typename DocumentsT = Document>
98 m_documentsHasBeenSet =
true;
99 m_documents.emplace_back(std::forward<DocumentsT>(value));
115 return m_customDocumentEnrichmentConfiguration;
118 template <
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
120 m_customDocumentEnrichmentConfigurationHasBeenSet =
true;
121 m_customDocumentEnrichmentConfiguration = std::forward<CustomDocumentEnrichmentConfigurationT>(value);
123 template <
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
131 bool m_indexIdHasBeenSet =
false;
134 bool m_roleArnHasBeenSet =
false;
137 bool m_documentsHasBeenSet =
false;
140 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