7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/qconnect/model/ExternalSourceConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/qconnect/model/ImportJobType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/qconnect/model/ImportJobStatus.h>
78 inline void SetImportJobId(
const char* value) { m_importJobIdHasBeenSet =
true; m_importJobId.assign(value); }
104 inline void SetKnowledgeBaseArn(
const char* value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn.assign(value); }
118 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
152 inline ImportJobSummary&
AddMetadata(
const char* key,
const char* value) { m_metadataHasBeenSet =
true; m_metadata.emplace(key, value);
return *
this; }
176 inline void SetUploadId(
const char* value) { m_uploadIdHasBeenSet =
true; m_uploadId.assign(value); }
184 bool m_createdTimeHasBeenSet =
false;
187 bool m_externalSourceConfigurationHasBeenSet =
false;
190 bool m_importJobIdHasBeenSet =
false;
193 bool m_importJobTypeHasBeenSet =
false;
196 bool m_knowledgeBaseArnHasBeenSet =
false;
199 bool m_knowledgeBaseIdHasBeenSet =
false;
202 bool m_lastModifiedTimeHasBeenSet =
false;
205 bool m_metadataHasBeenSet =
false;
208 bool m_statusHasBeenSet =
false;
211 bool m_uploadIdHasBeenSet =
false;
ImportJobSummary & AddMetadata(const Aws::String &key, Aws::String &&value)
void SetImportJobType(ImportJobType &&value)
bool UploadIdHasBeenSet() const
bool ImportJobTypeHasBeenSet() const
ImportJobSummary & WithStatus(ImportJobStatus &&value)
ImportJobSummary & WithUploadId(const char *value)
void SetStatus(const ImportJobStatus &value)
void SetExternalSourceConfiguration(const ExternalSourceConfiguration &value)
ImportJobSummary & WithImportJobType(ImportJobType &&value)
const ImportJobType & GetImportJobType() const
void SetKnowledgeBaseId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
ImportJobSummary & AddMetadata(Aws::String &&key, const Aws::String &value)
ImportJobSummary & WithKnowledgeBaseId(const char *value)
const Aws::String & GetKnowledgeBaseArn() const
ImportJobSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
const ExternalSourceConfiguration & GetExternalSourceConfiguration() const
void SetImportJobId(const char *value)
const ImportJobStatus & GetStatus() const
ImportJobSummary & WithExternalSourceConfiguration(const ExternalSourceConfiguration &value)
ImportJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_QCONNECT_API ImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportJobSummary & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ImportJobSummary & WithImportJobType(const ImportJobType &value)
ImportJobSummary & WithImportJobId(Aws::String &&value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
ImportJobSummary & WithExternalSourceConfiguration(ExternalSourceConfiguration &&value)
ImportJobSummary & AddMetadata(const char *key, const char *value)
ImportJobSummary & AddMetadata(Aws::String &&key, const char *value)
void SetKnowledgeBaseArn(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
bool LastModifiedTimeHasBeenSet() const
AWS_QCONNECT_API ImportJobSummary()
ImportJobSummary & AddMetadata(const Aws::String &key, const Aws::String &value)
bool KnowledgeBaseIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
ImportJobSummary & WithKnowledgeBaseArn(const char *value)
void SetImportJobId(const Aws::String &value)
ImportJobSummary & WithKnowledgeBaseId(const Aws::String &value)
void SetUploadId(const Aws::String &value)
ImportJobSummary & WithKnowledgeBaseArn(Aws::String &&value)
void SetKnowledgeBaseId(const char *value)
ImportJobSummary & AddMetadata(const char *key, Aws::String &&value)
ImportJobSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
ImportJobSummary & WithKnowledgeBaseArn(const Aws::String &value)
const Aws::String & GetKnowledgeBaseId() const
ImportJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetUploadId() const
bool KnowledgeBaseArnHasBeenSet() const
bool StatusHasBeenSet() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
bool MetadataHasBeenSet() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ImportJobSummary & WithUploadId(Aws::String &&value)
ImportJobSummary & WithImportJobId(const Aws::String &value)
const Aws::String & GetImportJobId() const
ImportJobSummary & WithImportJobId(const char *value)
void SetUploadId(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetImportJobId(Aws::String &&value)
void SetExternalSourceConfiguration(ExternalSourceConfiguration &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
ImportJobSummary & WithKnowledgeBaseId(Aws::String &&value)
void SetImportJobType(const ImportJobType &value)
ImportJobSummary & AddMetadata(Aws::String &&key, Aws::String &&value)
ImportJobSummary & WithUploadId(const Aws::String &value)
void SetKnowledgeBaseArn(const Aws::String &value)
ImportJobSummary & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
bool ImportJobIdHasBeenSet() const
AWS_QCONNECT_API ImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetKnowledgeBaseId(const Aws::String &value)
ImportJobSummary & WithStatus(const ImportJobStatus &value)
bool ExternalSourceConfigurationHasBeenSet() const
void SetUploadId(Aws::String &&value)
void SetKnowledgeBaseArn(Aws::String &&value)
bool CreatedTimeHasBeenSet() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetStatus(ImportJobStatus &&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