7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/wisdom/model/ExternalSourceConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/wisdom/model/ImportJobType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/wisdom/model/ImportJobStatus.h>
26namespace ConnectWisdomService
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); }
131 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
165 inline ImportJobData&
AddMetadata(
const char* key,
const char* value) { m_metadataHasBeenSet =
true; m_metadata.emplace(key, value);
return *
this; }
189 inline void SetUploadId(
const char* value) { m_uploadIdHasBeenSet =
true; m_uploadId.assign(value); }
204 inline void SetUrl(
const char* value) { m_urlHasBeenSet =
true; m_url.assign(value); }
224 bool m_createdTimeHasBeenSet =
false;
227 bool m_externalSourceConfigurationHasBeenSet =
false;
230 bool m_failedRecordReportHasBeenSet =
false;
233 bool m_importJobIdHasBeenSet =
false;
236 bool m_importJobTypeHasBeenSet =
false;
239 bool m_knowledgeBaseArnHasBeenSet =
false;
242 bool m_knowledgeBaseIdHasBeenSet =
false;
245 bool m_lastModifiedTimeHasBeenSet =
false;
248 bool m_metadataHasBeenSet =
false;
251 bool m_statusHasBeenSet =
false;
254 bool m_uploadIdHasBeenSet =
false;
257 bool m_urlHasBeenSet =
false;
260 bool m_urlExpiryHasBeenSet =
false;
AWS_CONNECTWISDOMSERVICE_API ImportJobData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImportJobId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
ImportJobData & WithUrlExpiry(const Aws::Utils::DateTime &value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
bool UploadIdHasBeenSet() const
void SetStatus(const ImportJobStatus &value)
void SetExternalSourceConfiguration(ExternalSourceConfiguration &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
ImportJobData & WithExternalSourceConfiguration(ExternalSourceConfiguration &&value)
ImportJobData & WithImportJobType(const ImportJobType &value)
ImportJobData & AddMetadata(Aws::String &&key, const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ImportJobData & AddMetadata(Aws::String &&key, Aws::String &&value)
bool UrlExpiryHasBeenSet() const
const ImportJobType & GetImportJobType() const
ImportJobData & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
ImportJobData & WithLastModifiedTime(Aws::Utils::DateTime &&value)
ImportJobData & WithUploadId(const Aws::String &value)
ImportJobData & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetUploadId(const Aws::String &value)
const Aws::String & GetImportJobId() const
AWS_CONNECTWISDOMSERVICE_API ImportJobData(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(Aws::Utils::DateTime &&value)
ImportJobData & WithStatus(ImportJobStatus &&value)
void SetImportJobType(ImportJobType &&value)
void SetStatus(ImportJobStatus &&value)
void SetUploadId(const char *value)
const Aws::String & GetFailedRecordReport() const
ImportJobData & WithKnowledgeBaseArn(Aws::String &&value)
const Aws::String & GetKnowledgeBaseId() const
void SetKnowledgeBaseId(Aws::String &&value)
ImportJobData & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetUploadId(Aws::String &&value)
ImportJobData & WithImportJobId(Aws::String &&value)
bool ImportJobTypeHasBeenSet() const
ImportJobData & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ImportJobData & WithImportJobId(const char *value)
bool CreatedTimeHasBeenSet() const
const Aws::String & GetKnowledgeBaseArn() const
void SetFailedRecordReport(const Aws::String &value)
ImportJobData & WithStatus(const ImportJobStatus &value)
ImportJobData & WithFailedRecordReport(const char *value)
const Aws::String & GetUrl() const
void SetImportJobId(const Aws::String &value)
ImportJobData & WithKnowledgeBaseArn(const char *value)
ImportJobData & AddMetadata(const char *key, const char *value)
bool ExternalSourceConfigurationHasBeenSet() const
ImportJobData & WithFailedRecordReport(const Aws::String &value)
bool ImportJobIdHasBeenSet() const
ImportJobData & WithImportJobId(const Aws::String &value)
ImportJobData & WithUrl(const Aws::String &value)
ImportJobData & WithUrl(const char *value)
ImportJobData & WithFailedRecordReport(Aws::String &&value)
ImportJobData & WithKnowledgeBaseArn(const Aws::String &value)
ImportJobData & AddMetadata(Aws::String &&key, const char *value)
const ExternalSourceConfiguration & GetExternalSourceConfiguration() const
ImportJobData & WithUrl(Aws::String &&value)
bool FailedRecordReportHasBeenSet() const
bool StatusHasBeenSet() const
ImportJobData & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetUrl(const char *value)
ImportJobData & WithExternalSourceConfiguration(const ExternalSourceConfiguration &value)
void SetUrl(Aws::String &&value)
void SetKnowledgeBaseArn(const char *value)
ImportJobData & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetUrlExpiry(Aws::Utils::DateTime &&value)
void SetImportJobId(const char *value)
ImportJobData & WithKnowledgeBaseId(Aws::String &&value)
ImportJobData & WithUrlExpiry(Aws::Utils::DateTime &&value)
void SetImportJobType(const ImportJobType &value)
ImportJobData & WithKnowledgeBaseId(const char *value)
const Aws::String & GetUploadId() const
void SetKnowledgeBaseId(const Aws::String &value)
const Aws::Utils::DateTime & GetUrlExpiry() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetKnowledgeBaseId(const char *value)
void SetFailedRecordReport(Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API ImportJobData()
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
const ImportJobStatus & GetStatus() const
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ImportJobData & WithUploadId(Aws::String &&value)
ImportJobData & WithImportJobType(ImportJobType &&value)
ImportJobData & WithUploadId(const char *value)
void SetFailedRecordReport(const char *value)
bool UrlHasBeenSet() const
void SetUrlExpiry(const Aws::Utils::DateTime &value)
void SetKnowledgeBaseArn(const Aws::String &value)
void SetUrl(const Aws::String &value)
void SetKnowledgeBaseArn(Aws::String &&value)
bool KnowledgeBaseIdHasBeenSet() const
ImportJobData & AddMetadata(const char *key, Aws::String &&value)
ImportJobData & AddMetadata(const Aws::String &key, const Aws::String &value)
bool LastModifiedTimeHasBeenSet() const
void SetExternalSourceConfiguration(const ExternalSourceConfiguration &value)
ImportJobData & WithKnowledgeBaseId(const Aws::String &value)
bool KnowledgeBaseArnHasBeenSet() const
bool MetadataHasBeenSet() 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
Aws::Utils::Json::JsonValue JsonValue