7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/qconnect/model/ExternalSourceConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/qconnect/model/ImportJobType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/qconnect/model/ImportJobStatus.h>
76 inline void SetFailedRecordReport(
const char* value) { m_failedRecordReportHasBeenSet =
true; m_failedRecordReport.assign(value); }
90 inline void SetImportJobId(
const char* value) { m_importJobIdHasBeenSet =
true; m_importJobId.assign(value); }
116 inline void SetKnowledgeBaseArn(
const char* value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn.assign(value); }
130 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
164 inline ImportJobData&
AddMetadata(
const char* key,
const char* value) { m_metadataHasBeenSet =
true; m_metadata.emplace(key, value);
return *
this; }
188 inline void SetUploadId(
const char* value) { m_uploadIdHasBeenSet =
true; m_uploadId.assign(value); }
203 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
223 bool m_createdTimeHasBeenSet =
false;
226 bool m_externalSourceConfigurationHasBeenSet =
false;
229 bool m_failedRecordReportHasBeenSet =
false;
232 bool m_importJobIdHasBeenSet =
false;
235 bool m_importJobTypeHasBeenSet =
false;
238 bool m_knowledgeBaseArnHasBeenSet =
false;
241 bool m_knowledgeBaseIdHasBeenSet =
false;
244 bool m_lastModifiedTimeHasBeenSet =
false;
247 bool m_metadataHasBeenSet =
false;
250 bool m_statusHasBeenSet =
false;
253 bool m_uploadIdHasBeenSet =
false;
256 bool m_urlHasBeenSet =
false;
259 bool m_urlExpiryHasBeenSet =
false;
ImportJobData & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetKnowledgeBaseId() const
bool ExternalSourceConfigurationHasBeenSet() const
ImportJobData & WithImportJobId(Aws::String &&value)
ImportJobData & WithImportJobId(const Aws::String &value)
bool StatusHasBeenSet() const
ImportJobData & WithUploadId(const Aws::String &value)
ImportJobData & WithUploadId(const char *value)
bool UploadIdHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetKnowledgeBaseArn(const char *value)
ImportJobData & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ImportJobData & WithExternalSourceConfiguration(const ExternalSourceConfiguration &value)
void SetImportJobId(const char *value)
ImportJobData & WithStatus(const ImportJobStatus &value)
ImportJobData & WithCreatedTime(Aws::Utils::DateTime &&value)
ImportJobData & WithImportJobId(const char *value)
ImportJobData & WithImportJobType(ImportJobType &&value)
ImportJobData & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetKnowledgeBaseId(const Aws::String &value)
void SetKnowledgeBaseId(Aws::String &&value)
ImportJobData & WithCreatedTime(const Aws::Utils::DateTime &value)
ImportJobData & AddMetadata(Aws::String &&key, Aws::String &&value)
ImportJobData & WithUrlExpiry(Aws::Utils::DateTime &&value)
ImportJobData & WithUrl(const Aws::String &value)
const ExternalSourceConfiguration & GetExternalSourceConfiguration() const
void SetImportJobType(const ImportJobType &value)
const Aws::String & GetUrl() const
void SetImportJobId(Aws::String &&value)
bool ImportJobIdHasBeenSet() const
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
void SetKnowledgeBaseId(const char *value)
void SetUrl(Aws::String &&value)
void SetFailedRecordReport(Aws::String &&value)
ImportJobData & WithImportJobType(const ImportJobType &value)
bool KnowledgeBaseArnHasBeenSet() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetUploadId() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUrlExpiry(Aws::Utils::DateTime &&value)
ImportJobData & WithUploadId(Aws::String &&value)
ImportJobData & WithKnowledgeBaseId(Aws::String &&value)
const Aws::String & GetKnowledgeBaseArn() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
bool KnowledgeBaseIdHasBeenSet() const
const Aws::String & GetFailedRecordReport() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetKnowledgeBaseArn(Aws::String &&value)
ImportJobData & AddMetadata(const char *key, Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
ImportJobData & WithKnowledgeBaseId(const Aws::String &value)
ImportJobData & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetKnowledgeBaseArn(const Aws::String &value)
void SetStatus(ImportJobStatus &&value)
bool UrlExpiryHasBeenSet() const
void SetExternalSourceConfiguration(ExternalSourceConfiguration &&value)
ImportJobData & WithKnowledgeBaseArn(Aws::String &&value)
bool UrlHasBeenSet() const
void SetImportJobId(const Aws::String &value)
ImportJobData & AddMetadata(Aws::String &&key, const Aws::String &value)
const ImportJobType & GetImportJobType() const
ImportJobData & WithStatus(ImportJobStatus &&value)
ImportJobData & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetUrl(const char *value)
bool LastModifiedTimeHasBeenSet() const
ImportJobData & WithExternalSourceConfiguration(ExternalSourceConfiguration &&value)
void SetUrlExpiry(const Aws::Utils::DateTime &value)
ImportJobData & WithKnowledgeBaseId(const char *value)
AWS_QCONNECT_API ImportJobData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUrlExpiry() const
ImportJobData & WithFailedRecordReport(Aws::String &&value)
AWS_QCONNECT_API ImportJobData()
bool CreatedTimeHasBeenSet() const
ImportJobData & AddMetadata(const Aws::String &key, const Aws::String &value)
bool MetadataHasBeenSet() const
ImportJobData & WithFailedRecordReport(const Aws::String &value)
ImportJobData & AddMetadata(Aws::String &&key, const char *value)
void SetUploadId(const Aws::String &value)
void SetFailedRecordReport(const char *value)
ImportJobData & WithKnowledgeBaseArn(const Aws::String &value)
ImportJobData & WithUrl(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
ImportJobData & WithFailedRecordReport(const char *value)
const Aws::String & GetImportJobId() const
void SetExternalSourceConfiguration(const ExternalSourceConfiguration &value)
void SetUploadId(const char *value)
void SetUploadId(Aws::String &&value)
void SetFailedRecordReport(const Aws::String &value)
ImportJobData & WithUrl(Aws::String &&value)
ImportJobData & WithKnowledgeBaseArn(const char *value)
ImportJobData & AddMetadata(const char *key, const char *value)
void SetUrl(const Aws::String &value)
const ImportJobStatus & GetStatus() const
bool FailedRecordReportHasBeenSet() const
ImportJobData & WithUrlExpiry(const Aws::Utils::DateTime &value)
bool ImportJobTypeHasBeenSet() const
void SetImportJobType(ImportJobType &&value)
void SetStatus(const ImportJobStatus &value)
AWS_QCONNECT_API ImportJobData(Aws::Utils::Json::JsonView jsonValue)
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
Aws::Utils::Json::JsonValue JsonValue