7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qconnect/QConnect_EXPORTS.h>
11#include <aws/qconnect/model/ExternalSourceConfiguration.h>
12#include <aws/qconnect/model/ImportJobStatus.h>
13#include <aws/qconnect/model/ImportJobType.h>
45 template <
typename ImportJobIdT = Aws::String>
47 m_importJobIdHasBeenSet =
true;
48 m_importJobId = std::forward<ImportJobIdT>(value);
50 template <
typename ImportJobIdT = Aws::String>
63 template <
typename KnowledgeBaseIdT = Aws::String>
65 m_knowledgeBaseIdHasBeenSet =
true;
66 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
68 template <
typename KnowledgeBaseIdT = Aws::String>
82 template <
typename UploadIdT = Aws::String>
84 m_uploadIdHasBeenSet =
true;
85 m_uploadId = std::forward<UploadIdT>(value);
87 template <
typename UploadIdT = Aws::String>
100 template <
typename KnowledgeBaseArnT = Aws::String>
102 m_knowledgeBaseArnHasBeenSet =
true;
103 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
105 template <
typename KnowledgeBaseArnT = Aws::String>
119 m_importJobTypeHasBeenSet =
true;
120 m_importJobType = value;
135 m_statusHasBeenSet =
true;
151 template <
typename UrlT = Aws::String>
153 m_urlHasBeenSet =
true;
154 m_url = std::forward<UrlT>(value);
156 template <
typename UrlT = Aws::String>
158 SetUrl(std::forward<UrlT>(value));
170 template <
typename FailedRecordReportT = Aws::String>
172 m_failedRecordReportHasBeenSet =
true;
173 m_failedRecordReport = std::forward<FailedRecordReportT>(value);
175 template <
typename FailedRecordReportT = Aws::String>
188 template <
typename UrlExpiryT = Aws::Utils::DateTime>
190 m_urlExpiryHasBeenSet =
true;
191 m_urlExpiry = std::forward<UrlExpiryT>(value);
193 template <
typename UrlExpiryT = Aws::Utils::DateTime>
206 template <
typename CreatedTimeT = Aws::Utils::DateTime>
208 m_createdTimeHasBeenSet =
true;
209 m_createdTime = std::forward<CreatedTimeT>(value);
211 template <
typename CreatedTimeT = Aws::Utils::DateTime>
224 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
226 m_lastModifiedTimeHasBeenSet =
true;
227 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
229 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
242 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
244 m_metadataHasBeenSet =
true;
245 m_metadata = std::forward<MetadataT>(value);
247 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
252 template <
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::String>
254 m_metadataHasBeenSet =
true;
255 m_metadata.emplace(std::forward<MetadataKeyT>(
key), std::forward<MetadataValueT>(value));
264 template <
typename ExternalSourceConfigurationT = ExternalSourceConfiguration>
266 m_externalSourceConfigurationHasBeenSet =
true;
267 m_externalSourceConfiguration = std::forward<ExternalSourceConfigurationT>(value);
269 template <
typename ExternalSourceConfigurationT = ExternalSourceConfiguration>
300 ExternalSourceConfiguration m_externalSourceConfiguration;
301 bool m_importJobIdHasBeenSet =
false;
302 bool m_knowledgeBaseIdHasBeenSet =
false;
303 bool m_uploadIdHasBeenSet =
false;
304 bool m_knowledgeBaseArnHasBeenSet =
false;
305 bool m_importJobTypeHasBeenSet =
false;
306 bool m_statusHasBeenSet =
false;
307 bool m_urlHasBeenSet =
false;
308 bool m_failedRecordReportHasBeenSet =
false;
309 bool m_urlExpiryHasBeenSet =
false;
310 bool m_createdTimeHasBeenSet =
false;
311 bool m_lastModifiedTimeHasBeenSet =
false;
312 bool m_metadataHasBeenSet =
false;
313 bool m_externalSourceConfigurationHasBeenSet =
false;
void SetFailedRecordReport(FailedRecordReportT &&value)
void SetExternalSourceConfiguration(ExternalSourceConfigurationT &&value)
AWS_QCONNECT_API ImportJobData()=default
const Aws::String & GetKnowledgeBaseId() const
bool ExternalSourceConfigurationHasBeenSet() const
void SetUrlExpiry(UrlExpiryT &&value)
bool StatusHasBeenSet() const
void SetUploadId(UploadIdT &&value)
bool UploadIdHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
ImportJobData & WithImportJobId(ImportJobIdT &&value)
ImportJobData & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
void SetImportJobId(ImportJobIdT &&value)
ImportJobData & WithStatus(ImportJobStatus value)
ImportJobData & WithExternalSourceConfiguration(ExternalSourceConfigurationT &&value)
const ExternalSourceConfiguration & GetExternalSourceConfiguration() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetUrl(UrlT &&value)
const Aws::String & GetUrl() const
ImportJobData & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
void SetCreatedTime(CreatedTimeT &&value)
bool ImportJobIdHasBeenSet() const
bool KnowledgeBaseArnHasBeenSet() const
const Aws::String & GetUploadId() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetImportJobType(ImportJobType 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
ImportJobStatus GetStatus() const
ImportJobData & WithLastModifiedTime(LastModifiedTimeT &&value)
bool UrlExpiryHasBeenSet() const
ImportJobData & WithUploadId(UploadIdT &&value)
bool UrlHasBeenSet() const
ImportJobData & WithMetadata(MetadataT &&value)
ImportJobType GetImportJobType() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
ImportJobData & WithCreatedTime(CreatedTimeT &&value)
ImportJobData & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
bool LastModifiedTimeHasBeenSet() const
AWS_QCONNECT_API ImportJobData & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportJobData & WithUrlExpiry(UrlExpiryT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
const Aws::Utils::DateTime & GetUrlExpiry() const
bool CreatedTimeHasBeenSet() const
void SetMetadata(MetadataT &&value)
ImportJobData & WithUrl(UrlT &&value)
bool MetadataHasBeenSet() const
void SetStatus(ImportJobStatus value)
const Aws::String & GetImportJobId() const
ImportJobData & WithImportJobType(ImportJobType value)
bool FailedRecordReportHasBeenSet() const
bool ImportJobTypeHasBeenSet() const
ImportJobData & WithFailedRecordReport(FailedRecordReportT &&value)
AWS_QCONNECT_API ImportJobData(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
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