7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/wisdom/model/ExternalSourceConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/wisdom/model/ImportJobType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/wisdom/model/ImportJobStatus.h>
26namespace ConnectWisdomService
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); }
119 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
153 inline ImportJobSummary&
AddMetadata(
const char* key,
const char* value) { m_metadataHasBeenSet =
true; m_metadata.emplace(key, value);
return *
this; }
177 inline void SetUploadId(
const char* value) { m_uploadIdHasBeenSet =
true; m_uploadId.assign(value); }
185 bool m_createdTimeHasBeenSet =
false;
188 bool m_externalSourceConfigurationHasBeenSet =
false;
191 bool m_importJobIdHasBeenSet =
false;
194 bool m_importJobTypeHasBeenSet =
false;
197 bool m_knowledgeBaseArnHasBeenSet =
false;
200 bool m_knowledgeBaseIdHasBeenSet =
false;
203 bool m_lastModifiedTimeHasBeenSet =
false;
206 bool m_metadataHasBeenSet =
false;
209 bool m_statusHasBeenSet =
false;
212 bool m_uploadIdHasBeenSet =
false;
const ExternalSourceConfiguration & GetExternalSourceConfiguration() const
ImportJobSummary & AddMetadata(const Aws::String &key, const Aws::String &value)
ImportJobSummary & WithStatus(ImportJobStatus &&value)
ImportJobSummary & AddMetadata(Aws::String &&key, const char *value)
void SetImportJobId(const Aws::String &value)
ImportJobSummary & WithKnowledgeBaseArn(Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API ImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExternalSourceConfiguration(ExternalSourceConfiguration &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ImportJobIdHasBeenSet() const
void SetUploadId(Aws::String &&value)
ImportJobSummary & WithImportJobType(const ImportJobType &value)
ImportJobSummary & AddMetadata(Aws::String &&key, Aws::String &&value)
ImportJobSummary & WithKnowledgeBaseId(Aws::String &&value)
ImportJobSummary & WithUploadId(const char *value)
ImportJobSummary & WithUploadId(const Aws::String &value)
ImportJobSummary & AddMetadata(const char *key, Aws::String &&value)
ImportJobSummary & WithImportJobId(const char *value)
ImportJobSummary & WithStatus(const ImportJobStatus &value)
void SetKnowledgeBaseId(const Aws::String &value)
ImportJobSummary & AddMetadata(const char *key, const char *value)
void SetKnowledgeBaseArn(Aws::String &&value)
ImportJobSummary & WithKnowledgeBaseArn(const char *value)
bool MetadataHasBeenSet() const
void SetKnowledgeBaseId(const char *value)
ImportJobSummary & WithUploadId(Aws::String &&value)
void SetKnowledgeBaseArn(const Aws::String &value)
ImportJobSummary & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetKnowledgeBaseId() const
void SetKnowledgeBaseArn(const char *value)
ImportJobSummary & WithCreatedTime(Aws::Utils::DateTime &&value)
bool UploadIdHasBeenSet() const
ImportJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const ImportJobType & GetImportJobType() const
bool LastModifiedTimeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
ImportJobSummary & WithExternalSourceConfiguration(ExternalSourceConfiguration &&value)
void SetUploadId(const char *value)
ImportJobSummary & WithKnowledgeBaseArn(const Aws::String &value)
void SetStatus(ImportJobStatus &&value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetImportJobId() const
void SetImportJobId(Aws::String &&value)
bool StatusHasBeenSet() const
void SetImportJobType(ImportJobType &&value)
bool CreatedTimeHasBeenSet() const
bool ExternalSourceConfigurationHasBeenSet() const
ImportJobSummary & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
ImportJobSummary & WithImportJobId(const Aws::String &value)
bool KnowledgeBaseIdHasBeenSet() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
ImportJobSummary & WithImportJobId(Aws::String &&value)
void SetImportJobType(const ImportJobType &value)
void SetImportJobId(const char *value)
void SetKnowledgeBaseId(Aws::String &&value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetUploadId() const
bool KnowledgeBaseArnHasBeenSet() const
ImportJobSummary & AddMetadata(Aws::String &&key, const Aws::String &value)
ImportJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetKnowledgeBaseArn() const
ImportJobSummary & WithExternalSourceConfiguration(const ExternalSourceConfiguration &value)
ImportJobSummary & WithCreatedTime(const Aws::Utils::DateTime &value)
ImportJobSummary & AddMetadata(const Aws::String &key, Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API ImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
ImportJobSummary & WithKnowledgeBaseId(const char *value)
AWS_CONNECTWISDOMSERVICE_API ImportJobSummary()
const ImportJobStatus & GetStatus() const
void SetUploadId(const Aws::String &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
ImportJobSummary & WithImportJobType(ImportJobType &&value)
bool ImportJobTypeHasBeenSet() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
ImportJobSummary & WithKnowledgeBaseId(const Aws::String &value)
void SetExternalSourceConfiguration(const ExternalSourceConfiguration &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetStatus(const 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