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;
150 template <
typename CreatedTimeT = Aws::Utils::DateTime>
152 m_createdTimeHasBeenSet =
true;
153 m_createdTime = std::forward<CreatedTimeT>(value);
155 template <
typename CreatedTimeT = Aws::Utils::DateTime>
168 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
170 m_lastModifiedTimeHasBeenSet =
true;
171 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
173 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
186 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
188 m_metadataHasBeenSet =
true;
189 m_metadata = std::forward<MetadataT>(value);
191 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
196 template <
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::String>
198 m_metadataHasBeenSet =
true;
199 m_metadata.emplace(std::forward<MetadataKeyT>(
key), std::forward<MetadataValueT>(value));
211 template <
typename ExternalSourceConfigurationT = ExternalSourceConfiguration>
213 m_externalSourceConfigurationHasBeenSet =
true;
214 m_externalSourceConfiguration = std::forward<ExternalSourceConfigurationT>(value);
216 template <
typename ExternalSourceConfigurationT = ExternalSourceConfiguration>
241 ExternalSourceConfiguration m_externalSourceConfiguration;
242 bool m_importJobIdHasBeenSet =
false;
243 bool m_knowledgeBaseIdHasBeenSet =
false;
244 bool m_uploadIdHasBeenSet =
false;
245 bool m_knowledgeBaseArnHasBeenSet =
false;
246 bool m_importJobTypeHasBeenSet =
false;
247 bool m_statusHasBeenSet =
false;
248 bool m_createdTimeHasBeenSet =
false;
249 bool m_lastModifiedTimeHasBeenSet =
false;
250 bool m_metadataHasBeenSet =
false;
251 bool m_externalSourceConfigurationHasBeenSet =
false;
ImportJobSummary & WithCreatedTime(CreatedTimeT &&value)
bool UploadIdHasBeenSet() const
bool ImportJobTypeHasBeenSet() const
ImportJobSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetStatus(ImportJobStatus value)
const Aws::Utils::DateTime & GetCreatedTime() const
ImportJobStatus GetStatus() const
ImportJobSummary & WithStatus(ImportJobStatus value)
const Aws::String & GetKnowledgeBaseArn() const
const ExternalSourceConfiguration & GetExternalSourceConfiguration() const
void SetImportJobId(ImportJobIdT &&value)
ImportJobSummary & WithImportJobId(ImportJobIdT &&value)
AWS_QCONNECT_API ImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportJobType GetImportJobType() const
void SetUploadId(UploadIdT &&value)
void SetExternalSourceConfiguration(ExternalSourceConfigurationT &&value)
bool LastModifiedTimeHasBeenSet() const
ImportJobSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
bool KnowledgeBaseIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
AWS_QCONNECT_API ImportJobSummary()=default
ImportJobSummary & WithImportJobType(ImportJobType value)
ImportJobSummary & WithExternalSourceConfiguration(ExternalSourceConfigurationT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::String & GetKnowledgeBaseId() const
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
ImportJobSummary & WithMetadata(MetadataT &&value)
ImportJobSummary & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
ImportJobSummary & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
const Aws::String & GetUploadId() const
bool KnowledgeBaseArnHasBeenSet() const
bool StatusHasBeenSet() const
void SetCreatedTime(CreatedTimeT &&value)
ImportJobSummary & WithUploadId(UploadIdT &&value)
void SetMetadata(MetadataT &&value)
bool MetadataHasBeenSet() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetImportJobId() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetImportJobType(ImportJobType value)
bool ImportJobIdHasBeenSet() const
AWS_QCONNECT_API ImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
bool ExternalSourceConfigurationHasBeenSet() const
bool CreatedTimeHasBeenSet() const
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