7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/ImportJobType.h>
10#include <aws/qconnect/model/ImportJobStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/qconnect/model/ExternalSourceConfiguration.h>
51 template<
typename ImportJobIdT = Aws::String>
53 template<
typename ImportJobIdT = Aws::String>
63 template<
typename KnowledgeBaseIdT = Aws::String>
65 template<
typename KnowledgeBaseIdT = Aws::String>
76 template<
typename UploadIdT = Aws::String>
77 void SetUploadId(
UploadIdT&& value) { m_uploadIdHasBeenSet =
true; m_uploadId = std::forward<UploadIdT>(value); }
78 template<
typename UploadIdT = Aws::String>
88 template<
typename KnowledgeBaseArnT = Aws::String>
90 template<
typename KnowledgeBaseArnT = Aws::String>
121 template<
typename UrlT = Aws::String>
122 void SetUrl(
UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
123 template<
typename UrlT = Aws::String>
134 template<
typename FailedRecordReportT = Aws::String>
136 template<
typename FailedRecordReportT = Aws::String>
146 template<
typename UrlExpiryT = Aws::Utils::DateTime>
148 template<
typename UrlExpiryT = Aws::Utils::DateTime>
158 template<
typename CreatedTimeT = Aws::Utils::DateTime>
160 template<
typename CreatedTimeT = Aws::Utils::DateTime>
170 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
172 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
182 template<
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
183 void SetMetadata(
MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
184 template<
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
186 template<
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::String>
188 m_metadataHasBeenSet =
true; m_metadata.emplace(std::forward<MetadataKeyT>(
key), std::forward<MetadataValueT>(value));
return *
this;
196 template<
typename ExternalSourceConfigurationT = ExternalSourceConfiguration>
198 template<
typename ExternalSourceConfigurationT = ExternalSourceConfiguration>
204 bool m_importJobIdHasBeenSet =
false;
207 bool m_knowledgeBaseIdHasBeenSet =
false;
210 bool m_uploadIdHasBeenSet =
false;
213 bool m_knowledgeBaseArnHasBeenSet =
false;
216 bool m_importJobTypeHasBeenSet =
false;
219 bool m_statusHasBeenSet =
false;
222 bool m_urlHasBeenSet =
false;
225 bool m_failedRecordReportHasBeenSet =
false;
228 bool m_urlExpiryHasBeenSet =
false;
231 bool m_createdTimeHasBeenSet =
false;
234 bool m_lastModifiedTimeHasBeenSet =
false;
237 bool m_metadataHasBeenSet =
false;
239 ExternalSourceConfiguration m_externalSourceConfiguration;
240 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