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>
45 inline void SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
59 inline void SetIndexId(
const char* value) { m_indexIdHasBeenSet =
true; m_indexId.assign(value); }
88 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
103 inline void SetDataSourceSyncId(
const char* value) { m_dataSourceSyncIdHasBeenSet =
true; m_dataSourceSyncId.assign(value); }
111 bool m_applicationIdHasBeenSet =
false;
114 bool m_indexIdHasBeenSet =
false;
117 bool m_documentsHasBeenSet =
false;
120 bool m_roleArnHasBeenSet =
false;
123 bool m_dataSourceSyncIdHasBeenSet =
false;
AWS_QBUSINESS_API Aws::String SerializePayload() const override
const Aws::Vector< Document > & GetDocuments() const
bool DataSourceSyncIdHasBeenSet() const
const Aws::String & GetApplicationId() const
BatchPutDocumentRequest & WithDataSourceSyncId(const char *value)
BatchPutDocumentRequest & WithDocuments(const Aws::Vector< Document > &value)
BatchPutDocumentRequest & WithIndexId(Aws::String &&value)
BatchPutDocumentRequest & AddDocuments(const Document &value)
BatchPutDocumentRequest & WithIndexId(const char *value)
bool RoleArnHasBeenSet() const
void SetApplicationId(const char *value)
void SetRoleArn(Aws::String &&value)
const Aws::String & GetDataSourceSyncId() const
BatchPutDocumentRequest & WithRoleArn(const char *value)
void SetDataSourceSyncId(Aws::String &&value)
void SetIndexId(const Aws::String &value)
void SetRoleArn(const char *value)
BatchPutDocumentRequest & WithDocuments(Aws::Vector< Document > &&value)
void SetIndexId(const char *value)
void SetDocuments(const Aws::Vector< Document > &value)
const Aws::String & GetRoleArn() const
bool IndexIdHasBeenSet() const
BatchPutDocumentRequest & WithDataSourceSyncId(Aws::String &&value)
BatchPutDocumentRequest & WithIndexId(const Aws::String &value)
void SetDataSourceSyncId(const char *value)
BatchPutDocumentRequest & WithApplicationId(const char *value)
BatchPutDocumentRequest & WithRoleArn(Aws::String &&value)
void SetDocuments(Aws::Vector< Document > &&value)
BatchPutDocumentRequest & WithApplicationId(const Aws::String &value)
AWS_QBUSINESS_API BatchPutDocumentRequest()
bool ApplicationIdHasBeenSet() const
BatchPutDocumentRequest & AddDocuments(Document &&value)
void SetApplicationId(Aws::String &&value)
BatchPutDocumentRequest & WithDataSourceSyncId(const Aws::String &value)
void SetDataSourceSyncId(const Aws::String &value)
const Aws::String & GetIndexId() const
bool DocumentsHasBeenSet() const
void SetIndexId(Aws::String &&value)
void SetApplicationId(const Aws::String &value)
BatchPutDocumentRequest & WithRoleArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetRoleArn(const Aws::String &value)
BatchPutDocumentRequest & WithApplicationId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector