7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qconnect/model/ExternalSourceConfiguration.h>
11#include <aws/qconnect/model/ImportJobType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
47 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
90 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
124 inline void SetUploadId(
const char* value) { m_uploadIdHasBeenSet =
true; m_uploadId.assign(value); }
132 bool m_clientTokenHasBeenSet =
false;
135 bool m_externalSourceConfigurationHasBeenSet =
false;
138 bool m_importJobTypeHasBeenSet =
false;
141 bool m_knowledgeBaseIdHasBeenSet =
false;
144 bool m_metadataHasBeenSet =
false;
147 bool m_uploadIdHasBeenSet =
false;
const Aws::String & GetUploadId() const
const ExternalSourceConfiguration & GetExternalSourceConfiguration() const
void SetClientToken(const char *value)
StartImportJobRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
void SetClientToken(Aws::String &&value)
void SetUploadId(const Aws::String &value)
StartImportJobRequest & WithUploadId(const Aws::String &value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
void SetImportJobType(const ImportJobType &value)
void SetKnowledgeBaseId(const Aws::String &value)
StartImportJobRequest & AddMetadata(Aws::String &&key, const char *value)
bool ExternalSourceConfigurationHasBeenSet() const
StartImportJobRequest & WithUploadId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
StartImportJobRequest & WithImportJobType(const ImportJobType &value)
void SetClientToken(const Aws::String &value)
StartImportJobRequest & WithImportJobType(ImportJobType &&value)
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
bool UploadIdHasBeenSet() const
AWS_QCONNECT_API StartImportJobRequest()
StartImportJobRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetKnowledgeBaseId(const char *value)
StartImportJobRequest & WithClientToken(Aws::String &&value)
bool MetadataHasBeenSet() const
StartImportJobRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
const Aws::String & GetClientToken() const
bool ImportJobTypeHasBeenSet() const
void SetUploadId(const char *value)
StartImportJobRequest & AddMetadata(const char *key, const char *value)
void SetKnowledgeBaseId(Aws::String &&value)
StartImportJobRequest & AddMetadata(const char *key, Aws::String &&value)
void SetUploadId(Aws::String &&value)
void SetImportJobType(ImportJobType &&value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
StartImportJobRequest & WithUploadId(const char *value)
StartImportJobRequest & WithKnowledgeBaseId(const char *value)
void SetExternalSourceConfiguration(ExternalSourceConfiguration &&value)
const Aws::String & GetKnowledgeBaseId() const
StartImportJobRequest & WithKnowledgeBaseId(const Aws::String &value)
StartImportJobRequest & WithExternalSourceConfiguration(const ExternalSourceConfiguration &value)
bool ClientTokenHasBeenSet() const
const ImportJobType & GetImportJobType() const
void SetExternalSourceConfiguration(const ExternalSourceConfiguration &value)
StartImportJobRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
StartImportJobRequest & WithKnowledgeBaseId(Aws::String &&value)
StartImportJobRequest & WithExternalSourceConfiguration(ExternalSourceConfiguration &&value)
bool KnowledgeBaseIdHasBeenSet() const
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
StartImportJobRequest & WithClientToken(const Aws::String &value)
StartImportJobRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
StartImportJobRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
StartImportJobRequest & WithClientToken(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String