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>
120 template<
typename CreatedTimeT = Aws::Utils::DateTime>
122 template<
typename CreatedTimeT = Aws::Utils::DateTime>
132 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
134 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
144 template<
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
145 void SetMetadata(
MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
146 template<
typename MetadataT = Aws::Map<Aws::String, Aws::String>>
148 template<
typename MetadataKeyT = Aws::String,
typename MetadataValueT = Aws::String>
150 m_metadataHasBeenSet =
true; m_metadata.emplace(std::forward<MetadataKeyT>(
key), std::forward<MetadataValueT>(value));
return *
this;
161 template<
typename ExternalSourceConfigurationT = ExternalSourceConfiguration>
163 template<
typename ExternalSourceConfigurationT = ExternalSourceConfiguration>
169 bool m_importJobIdHasBeenSet =
false;
172 bool m_knowledgeBaseIdHasBeenSet =
false;
175 bool m_uploadIdHasBeenSet =
false;
178 bool m_knowledgeBaseArnHasBeenSet =
false;
181 bool m_importJobTypeHasBeenSet =
false;
184 bool m_statusHasBeenSet =
false;
187 bool m_createdTimeHasBeenSet =
false;
190 bool m_lastModifiedTimeHasBeenSet =
false;
193 bool m_metadataHasBeenSet =
false;
195 ExternalSourceConfiguration m_externalSourceConfiguration;
196 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