7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/ConnectWisdomServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wisdom/model/ExternalSourceConfiguration.h>
11#include <aws/wisdom/model/ImportJobType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
18namespace ConnectWisdomService
47 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
91 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
125 inline void SetUploadId(
const char* value) { m_uploadIdHasBeenSet =
true; m_uploadId.assign(value); }
133 bool m_clientTokenHasBeenSet =
false;
136 bool m_externalSourceConfigurationHasBeenSet =
false;
139 bool m_importJobTypeHasBeenSet =
false;
142 bool m_knowledgeBaseIdHasBeenSet =
false;
145 bool m_metadataHasBeenSet =
false;
148 bool m_uploadIdHasBeenSet =
false;
StartImportJobRequest & WithUploadId(const char *value)
AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetClientToken(const Aws::String &value)
StartImportJobRequest & AddMetadata(Aws::String &&key, Aws::String &&value)
bool MetadataHasBeenSet() const
StartImportJobRequest & WithImportJobType(const ImportJobType &value)
StartImportJobRequest & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
StartImportJobRequest & AddMetadata(Aws::String &&key, const char *value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetUploadId(const char *value)
StartImportJobRequest & AddMetadata(const Aws::String &key, const Aws::String &value)
bool UploadIdHasBeenSet() const
StartImportJobRequest & AddMetadata(const char *key, Aws::String &&value)
StartImportJobRequest & WithClientToken(Aws::String &&value)
const ExternalSourceConfiguration & GetExternalSourceConfiguration() const
void SetKnowledgeBaseId(const Aws::String &value)
StartImportJobRequest & WithImportJobType(ImportJobType &&value)
bool ImportJobTypeHasBeenSet() const
StartImportJobRequest & AddMetadata(Aws::String &&key, const Aws::String &value)
StartImportJobRequest & WithKnowledgeBaseId(Aws::String &&value)
void SetExternalSourceConfiguration(ExternalSourceConfiguration &&value)
StartImportJobRequest & WithKnowledgeBaseId(const char *value)
StartImportJobRequest & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
bool ExternalSourceConfigurationHasBeenSet() const
StartImportJobRequest & WithUploadId(Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API StartImportJobRequest()
StartImportJobRequest & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetExternalSourceConfiguration(const ExternalSourceConfiguration &value)
StartImportJobRequest & WithClientToken(const Aws::String &value)
const ImportJobType & GetImportJobType() const
StartImportJobRequest & AddMetadata(const char *key, const char *value)
void SetImportJobType(const ImportJobType &value)
StartImportJobRequest & WithKnowledgeBaseId(const Aws::String &value)
StartImportJobRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
StartImportJobRequest & WithExternalSourceConfiguration(const ExternalSourceConfiguration &value)
const Aws::String & GetClientToken() const
StartImportJobRequest & WithUploadId(const Aws::String &value)
StartImportJobRequest & WithExternalSourceConfiguration(ExternalSourceConfiguration &&value)
bool ClientTokenHasBeenSet() const
bool KnowledgeBaseIdHasBeenSet() const
void SetKnowledgeBaseId(const char *value)
void SetKnowledgeBaseId(Aws::String &&value)
void SetUploadId(const Aws::String &value)
void SetImportJobType(ImportJobType &&value)
void SetClientToken(const char *value)
void SetClientToken(Aws::String &&value)
const Aws::String & GetUploadId() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
void SetUploadId(Aws::String &&value)
const Aws::String & GetKnowledgeBaseId() const
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