7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.h>
10#include <aws/qbusiness/model/DataSourceVpcConfiguration.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/qbusiness/model/DataSourceStatus.h>
13#include <aws/qbusiness/model/ErrorDetail.h>
14#include <aws/qbusiness/model/DocumentEnrichmentConfiguration.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
61 inline void SetIndexId(
const char* value) { m_indexId.assign(value); }
113 inline void SetType(
const char* value) { m_type.assign(value); }
211 inline void SetRoleArn(
const char* value) { m_roleArn.assign(value); }
244 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
GetDataSourceResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithIndexId(const char *value)
GetDataSourceResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetDataSourceResult & WithSyncSchedule(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithIndexId(Aws::String &&value)
void SetDataSourceArn(const Aws::String &value)
GetDataSourceResult & WithDataSourceArn(Aws::String &&value)
GetDataSourceResult & WithApplicationId(Aws::String &&value)
void SetSyncSchedule(const char *value)
void SetConfiguration(Aws::Utils::Document &&value)
GetDataSourceResult & WithDocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration &&value)
GetDataSourceResult & WithDataSourceArn(const char *value)
GetDataSourceResult & WithType(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetError(ErrorDetail &&value)
void SetDataSourceArn(Aws::String &&value)
AWS_QBUSINESS_API GetDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIndexId(Aws::String &&value)
void SetStatus(const DataSourceStatus &value)
const Aws::String & GetType() const
GetDataSourceResult & WithSyncSchedule(const Aws::String &value)
void SetSyncSchedule(Aws::String &&value)
GetDataSourceResult & WithDescription(const Aws::String &value)
GetDataSourceResult & WithDisplayName(const Aws::String &value)
GetDataSourceResult & WithDisplayName(Aws::String &&value)
void SetDataSourceArn(const char *value)
GetDataSourceResult & WithStatus(DataSourceStatus &&value)
void SetDataSourceId(const Aws::String &value)
void SetDocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration &&value)
GetDataSourceResult & WithDescription(Aws::String &&value)
const Aws::String & GetRoleArn() const
const ErrorDetail & GetError() const
const Aws::String & GetDescription() const
void SetDisplayName(const Aws::String &value)
const Aws::String & GetIndexId() const
void SetDescription(const char *value)
GetDataSourceResult & WithDataSourceArn(const Aws::String &value)
GetDataSourceResult & WithRequestId(Aws::String &&value)
GetDataSourceResult & WithDataSourceId(const char *value)
AWS_QBUSINESS_API GetDataSourceResult()
GetDataSourceResult & WithType(const char *value)
GetDataSourceResult & WithVpcConfiguration(const DataSourceVpcConfiguration &value)
const Aws::String & GetRequestId() const
GetDataSourceResult & WithRoleArn(const char *value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetDescription(Aws::String &&value)
void SetStatus(DataSourceStatus &&value)
const DataSourceVpcConfiguration & GetVpcConfiguration() const
void SetRoleArn(Aws::String &&value)
void SetType(const Aws::String &value)
AWS_QBUSINESS_API GetDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRoleArn(const char *value)
void SetVpcConfiguration(const DataSourceVpcConfiguration &value)
void SetDataSourceId(const char *value)
GetDataSourceResult & WithError(const ErrorDetail &value)
GetDataSourceResult & WithRequestId(const char *value)
GetDataSourceResult & WithVpcConfiguration(DataSourceVpcConfiguration &&value)
void SetConfiguration(const Aws::Utils::Document &value)
GetDataSourceResult & WithIndexId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDataSourceResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetRequestId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
const Aws::String & GetDataSourceArn() const
void SetRoleArn(const Aws::String &value)
void SetDataSourceId(Aws::String &&value)
GetDataSourceResult & WithDocumentEnrichmentConfiguration(const DocumentEnrichmentConfiguration &value)
const DataSourceStatus & GetStatus() const
void SetApplicationId(const Aws::String &value)
GetDataSourceResult & WithDescription(const char *value)
GetDataSourceResult & WithStatus(const DataSourceStatus &value)
void SetVpcConfiguration(DataSourceVpcConfiguration &&value)
GetDataSourceResult & WithDataSourceId(const Aws::String &value)
void SetDisplayName(Aws::String &&value)
const DocumentEnrichmentConfiguration & GetDocumentEnrichmentConfiguration() const
GetDataSourceResult & WithDisplayName(const char *value)
void SetType(const char *value)
GetDataSourceResult & WithApplicationId(const Aws::String &value)
GetDataSourceResult & WithDataSourceId(Aws::String &&value)
void SetIndexId(const char *value)
GetDataSourceResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetDataSourceResult & WithApplicationId(const char *value)
void SetApplicationId(const char *value)
void SetError(const ErrorDetail &value)
const Aws::String & GetDataSourceId() const
void SetDocumentEnrichmentConfiguration(const DocumentEnrichmentConfiguration &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetSyncSchedule() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetApplicationId() const
void SetSyncSchedule(const Aws::String &value)
void SetDisplayName(const char *value)
GetDataSourceResult & WithRoleArn(const Aws::String &value)
void SetType(Aws::String &&value)
GetDataSourceResult & WithRoleArn(Aws::String &&value)
void SetRequestId(Aws::String &&value)
Aws::Utils::DocumentView GetConfiguration() const
const Aws::String & GetDisplayName() const
GetDataSourceResult & WithError(ErrorDetail &&value)
GetDataSourceResult & WithConfiguration(const Aws::Utils::Document &value)
GetDataSourceResult & WithRequestId(const Aws::String &value)
GetDataSourceResult & WithType(Aws::String &&value)
void SetApplicationId(Aws::String &&value)
GetDataSourceResult & WithConfiguration(Aws::Utils::Document &&value)
GetDataSourceResult & WithSyncSchedule(const char *value)
void SetIndexId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue