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/wisdom/ConnectWisdomService_EXPORTS.h>
11#include <aws/wisdom/model/ExternalSourceConfiguration.h>
12#include <aws/wisdom/model/ImportJobStatus.h>
13#include <aws/wisdom/model/ImportJobType.h>
24namespace ConnectWisdomService {
45 template <
typename CreatedTimeT = Aws::Utils::DateTime>
47 m_createdTimeHasBeenSet =
true;
48 m_createdTime = std::forward<CreatedTimeT>(value);
50 template <
typename CreatedTimeT = Aws::Utils::DateTime>
64 template <
typename ExternalSourceConfigurationT = ExternalSourceConfiguration>
66 m_externalSourceConfigurationHasBeenSet =
true;
67 m_externalSourceConfiguration = std::forward<ExternalSourceConfigurationT>(value);
69 template <
typename ExternalSourceConfigurationT = ExternalSourceConfiguration>
82 template <
typename ImportJobIdT = Aws::String>
84 m_importJobIdHasBeenSet =
true;
85 m_importJobId = std::forward<ImportJobIdT>(value);
87 template <
typename ImportJobIdT = Aws::String>
101 m_importJobTypeHasBeenSet =
true;
102 m_importJobType = value;
116 template <
typename KnowledgeBaseArnT = Aws::String>
118 m_knowledgeBaseArnHasBeenSet =
true;
119 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
121 template <
typename KnowledgeBaseArnT = Aws::String>
135 template <
typename KnowledgeBaseIdT = Aws::String>
137 m_knowledgeBaseIdHasBeenSet =
true;
138 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
140 template <
typename KnowledgeBaseIdT = Aws::String>
153 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
155 m_lastModifiedTimeHasBeenSet =
true;
156 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
158 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
171 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
173 m_metadataHasBeenSet =
true;
174 m_metadata = std::forward<MetadataT>(value);
176 template <
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
181 template <
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::String>
183 m_metadataHasBeenSet =
true;
184 m_metadata.emplace(std::forward<MetadataKeyT>(key), std::forward<MetadataValueT>(value));
196 m_statusHasBeenSet =
true;
212 template <
typename UploadIdT = Aws::String>
214 m_uploadIdHasBeenSet =
true;
215 m_uploadId = std::forward<UploadIdT>(value);
217 template <
typename UploadIdT = Aws::String>
226 ExternalSourceConfiguration m_externalSourceConfiguration;
243 bool m_createdTimeHasBeenSet =
false;
244 bool m_externalSourceConfigurationHasBeenSet =
false;
245 bool m_importJobIdHasBeenSet =
false;
246 bool m_importJobTypeHasBeenSet =
false;
247 bool m_knowledgeBaseArnHasBeenSet =
false;
248 bool m_knowledgeBaseIdHasBeenSet =
false;
249 bool m_lastModifiedTimeHasBeenSet =
false;
250 bool m_metadataHasBeenSet =
false;
251 bool m_statusHasBeenSet =
false;
252 bool m_uploadIdHasBeenSet =
false;
const ExternalSourceConfiguration & GetExternalSourceConfiguration() const
ImportJobSummary & WithUploadId(UploadIdT &&value)
AWS_CONNECTWISDOMSERVICE_API ImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportJobSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetImportJobId(ImportJobIdT &&value)
bool ImportJobIdHasBeenSet() const
bool MetadataHasBeenSet() const
const Aws::String & GetKnowledgeBaseId() const
bool UploadIdHasBeenSet() const
void SetExternalSourceConfiguration(ExternalSourceConfigurationT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
bool LastModifiedTimeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
const Aws::String & GetImportJobId() const
bool StatusHasBeenSet() const
ImportJobSummary & WithExternalSourceConfiguration(ExternalSourceConfigurationT &&value)
ImportJobStatus GetStatus() const
void SetMetadata(MetadataT &&value)
ImportJobSummary & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
bool CreatedTimeHasBeenSet() const
ImportJobSummary & WithImportJobId(ImportJobIdT &&value)
bool ExternalSourceConfigurationHasBeenSet() const
bool KnowledgeBaseIdHasBeenSet() const
AWS_CONNECTWISDOMSERVICE_API ImportJobSummary()=default
const Aws::String & GetUploadId() const
bool KnowledgeBaseArnHasBeenSet() const
const Aws::String & GetKnowledgeBaseArn() const
ImportJobSummary & WithStatus(ImportJobStatus value)
ImportJobSummary & AddMetadata(MetadataKeyT &&key, MetadataValueT &&value)
ImportJobType GetImportJobType() const
void SetUploadId(UploadIdT &&value)
ImportJobSummary & WithCreatedTime(CreatedTimeT &&value)
void SetImportJobType(ImportJobType value)
AWS_CONNECTWISDOMSERVICE_API ImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
ImportJobSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetCreatedTime(CreatedTimeT &&value)
bool ImportJobTypeHasBeenSet() const
void SetStatus(ImportJobStatus value)
ImportJobSummary & WithImportJobType(ImportJobType value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
ImportJobSummary & WithMetadata(MetadataT &&value)
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