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>
15#include <aws/qbusiness/model/MediaExtractionConfiguration.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
47 template<
typename ApplicationIdT = Aws::String>
49 template<
typename ApplicationIdT = Aws::String>
58 template<
typename IndexIdT = Aws::String>
59 void SetIndexId(
IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
60 template<
typename IndexIdT = Aws::String>
69 template<
typename DataSourceIdT = Aws::String>
71 template<
typename DataSourceIdT = Aws::String>
80 template<
typename DataSourceArnT = Aws::String>
82 template<
typename DataSourceArnT = Aws::String>
91 template<
typename DisplayNameT = Aws::String>
93 template<
typename DisplayNameT = Aws::String>
102 template<
typename TypeT = Aws::String>
103 void SetType(
TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
104 template<
typename TypeT = Aws::String>
113 template<
typename ConfigurationT = Aws::Utils::Document>
115 template<
typename ConfigurationT = Aws::Utils::Document>
125 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
127 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
136 template<
typename CreatedAtT = Aws::Utils::DateTime>
138 template<
typename CreatedAtT = Aws::Utils::DateTime>
147 template<
typename UpdatedAtT = Aws::Utils::DateTime>
149 template<
typename UpdatedAtT = Aws::Utils::DateTime>
158 template<
typename DescriptionT = Aws::String>
160 template<
typename DescriptionT = Aws::String>
180 template<
typename SyncScheduleT = Aws::String>
182 template<
typename SyncScheduleT = Aws::String>
192 template<
typename RoleArnT = Aws::String>
193 void SetRoleArn(
RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
194 template<
typename RoleArnT = Aws::String>
205 template<
typename ErrorT = ErrorDetail>
206 void SetError(
ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
207 template<
typename ErrorT = ErrorDetail>
214 template<
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
216 template<
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
226 template<
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
228 template<
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
235 template<
typename RequestIdT = Aws::String>
237 template<
typename RequestIdT = Aws::String>
243 bool m_applicationIdHasBeenSet =
false;
246 bool m_indexIdHasBeenSet =
false;
249 bool m_dataSourceIdHasBeenSet =
false;
252 bool m_dataSourceArnHasBeenSet =
false;
255 bool m_displayNameHasBeenSet =
false;
258 bool m_typeHasBeenSet =
false;
261 bool m_configurationHasBeenSet =
false;
264 bool m_vpcConfigurationHasBeenSet =
false;
267 bool m_createdAtHasBeenSet =
false;
270 bool m_updatedAtHasBeenSet =
false;
273 bool m_descriptionHasBeenSet =
false;
276 bool m_statusHasBeenSet =
false;
279 bool m_syncScheduleHasBeenSet =
false;
282 bool m_roleArnHasBeenSet =
false;
285 bool m_errorHasBeenSet =
false;
287 DocumentEnrichmentConfiguration m_documentEnrichmentConfiguration;
288 bool m_documentEnrichmentConfigurationHasBeenSet =
false;
290 MediaExtractionConfiguration m_mediaExtractionConfiguration;
291 bool m_mediaExtractionConfigurationHasBeenSet =
false;
294 bool m_requestIdHasBeenSet =
false;
void SetDataSourceId(DataSourceIdT &&value)
void SetDisplayName(DisplayNameT &&value)
void SetConfiguration(ConfigurationT &&value)
GetDataSourceResult & WithApplicationId(ApplicationIdT &&value)
void SetRequestId(RequestIdT &&value)
AWS_QBUSINESS_API GetDataSourceResult()=default
AWS_QBUSINESS_API GetDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetType() const
GetDataSourceResult & WithVpcConfiguration(VpcConfigurationT &&value)
GetDataSourceResult & WithType(TypeT &&value)
GetDataSourceResult & WithDisplayName(DisplayNameT &&value)
const MediaExtractionConfiguration & GetMediaExtractionConfiguration() const
const Aws::String & GetRoleArn() const
const ErrorDetail & GetError() const
const Aws::String & GetDescription() const
const Aws::String & GetIndexId() const
GetDataSourceResult & WithMediaExtractionConfiguration(MediaExtractionConfigurationT &&value)
void SetDescription(DescriptionT &&value)
void SetType(TypeT &&value)
void SetVpcConfiguration(VpcConfigurationT &&value)
const Aws::String & GetRequestId() const
DataSourceStatus GetStatus() const
void SetApplicationId(ApplicationIdT &&value)
GetDataSourceResult & WithRoleArn(RoleArnT &&value)
void SetMediaExtractionConfiguration(MediaExtractionConfigurationT &&value)
const DataSourceVpcConfiguration & GetVpcConfiguration() const
GetDataSourceResult & WithUpdatedAt(UpdatedAtT &&value)
void SetDataSourceArn(DataSourceArnT &&value)
AWS_QBUSINESS_API GetDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataSourceResult & WithError(ErrorT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDataSourceResult & WithStatus(DataSourceStatus value)
void SetRoleArn(RoleArnT &&value)
const Aws::String & GetDataSourceArn() const
void SetSyncSchedule(SyncScheduleT &&value)
const DocumentEnrichmentConfiguration & GetDocumentEnrichmentConfiguration() const
GetDataSourceResult & WithDescription(DescriptionT &&value)
GetDataSourceResult & WithIndexId(IndexIdT &&value)
GetDataSourceResult & WithDataSourceArn(DataSourceArnT &&value)
const Aws::String & GetDataSourceId() const
void SetStatus(DataSourceStatus value)
const Aws::String & GetSyncSchedule() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetApplicationId() const
void SetCreatedAt(CreatedAtT &&value)
GetDataSourceResult & WithDocumentEnrichmentConfiguration(DocumentEnrichmentConfigurationT &&value)
GetDataSourceResult & WithConfiguration(ConfigurationT &&value)
GetDataSourceResult & WithRequestId(RequestIdT &&value)
GetDataSourceResult & WithSyncSchedule(SyncScheduleT &&value)
Aws::Utils::DocumentView GetConfiguration() const
const Aws::String & GetDisplayName() const
GetDataSourceResult & WithDataSourceId(DataSourceIdT &&value)
void SetDocumentEnrichmentConfiguration(DocumentEnrichmentConfigurationT &&value)
void SetError(ErrorT &&value)
GetDataSourceResult & WithCreatedAt(CreatedAtT &&value)
void SetIndexId(IndexIdT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue