7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/Document.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
11#include <aws/qbusiness/model/DataSourceStatus.h>
12#include <aws/qbusiness/model/DataSourceVpcConfiguration.h>
13#include <aws/qbusiness/model/DocumentEnrichmentConfiguration.h>
14#include <aws/qbusiness/model/ErrorDetail.h>
15#include <aws/qbusiness/model/MediaExtractionConfiguration.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename ApplicationIdT = Aws::String>
43 m_applicationIdHasBeenSet =
true;
44 m_applicationId = std::forward<ApplicationIdT>(value);
46 template <
typename ApplicationIdT = Aws::String>
58 template <
typename IndexIdT = Aws::String>
60 m_indexIdHasBeenSet =
true;
61 m_indexId = std::forward<IndexIdT>(value);
63 template <
typename IndexIdT = Aws::String>
75 template <
typename DataSourceIdT = Aws::String>
77 m_dataSourceIdHasBeenSet =
true;
78 m_dataSourceId = std::forward<DataSourceIdT>(value);
80 template <
typename DataSourceIdT = Aws::String>
92 template <
typename DataSourceArnT = Aws::String>
94 m_dataSourceArnHasBeenSet =
true;
95 m_dataSourceArn = std::forward<DataSourceArnT>(value);
97 template <
typename DataSourceArnT = Aws::String>
109 template <
typename DisplayNameT = Aws::String>
111 m_displayNameHasBeenSet =
true;
112 m_displayName = std::forward<DisplayNameT>(value);
114 template <
typename DisplayNameT = Aws::String>
126 template <
typename TypeT = Aws::String>
128 m_typeHasBeenSet =
true;
129 m_type = std::forward<TypeT>(value);
131 template <
typename TypeT = Aws::String>
133 SetType(std::forward<TypeT>(value));
143 template <
typename ConfigurationT = Aws::Utils::Document>
145 m_configurationHasBeenSet =
true;
146 m_configuration = std::forward<ConfigurationT>(value);
148 template <
typename ConfigurationT = Aws::Utils::Document>
161 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
163 m_vpcConfigurationHasBeenSet =
true;
164 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
166 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
178 template <
typename CreatedAtT = Aws::Utils::DateTime>
180 m_createdAtHasBeenSet =
true;
181 m_createdAt = std::forward<CreatedAtT>(value);
183 template <
typename CreatedAtT = Aws::Utils::DateTime>
195 template <
typename UpdatedAtT = Aws::Utils::DateTime>
197 m_updatedAtHasBeenSet =
true;
198 m_updatedAt = std::forward<UpdatedAtT>(value);
200 template <
typename UpdatedAtT = Aws::Utils::DateTime>
212 template <
typename DescriptionT = Aws::String>
214 m_descriptionHasBeenSet =
true;
215 m_description = std::forward<DescriptionT>(value);
217 template <
typename DescriptionT = Aws::String>
232 m_statusHasBeenSet =
true;
246 template <
typename SyncScheduleT = Aws::String>
248 m_syncScheduleHasBeenSet =
true;
249 m_syncSchedule = std::forward<SyncScheduleT>(value);
251 template <
typename SyncScheduleT = Aws::String>
264 template <
typename RoleArnT = Aws::String>
266 m_roleArnHasBeenSet =
true;
267 m_roleArn = std::forward<RoleArnT>(value);
269 template <
typename RoleArnT = Aws::String>
283 template <
typename ErrorT = ErrorDetail>
285 m_errorHasBeenSet =
true;
286 m_error = std::forward<ErrorT>(value);
288 template <
typename ErrorT = ErrorDetail>
290 SetError(std::forward<ErrorT>(value));
298 template <
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
300 m_documentEnrichmentConfigurationHasBeenSet =
true;
301 m_documentEnrichmentConfiguration = std::forward<DocumentEnrichmentConfigurationT>(value);
303 template <
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
316 template <
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
318 m_mediaExtractionConfigurationHasBeenSet =
true;
319 m_mediaExtractionConfiguration = std::forward<MediaExtractionConfigurationT>(value);
321 template <
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
331 template <
typename RequestIdT = Aws::String>
333 m_requestIdHasBeenSet =
true;
334 m_requestId = std::forward<RequestIdT>(value);
336 template <
typename RequestIdT = Aws::String>
373 DocumentEnrichmentConfiguration m_documentEnrichmentConfiguration;
375 MediaExtractionConfiguration m_mediaExtractionConfiguration;
378 bool m_applicationIdHasBeenSet =
false;
379 bool m_indexIdHasBeenSet =
false;
380 bool m_dataSourceIdHasBeenSet =
false;
381 bool m_dataSourceArnHasBeenSet =
false;
382 bool m_displayNameHasBeenSet =
false;
383 bool m_typeHasBeenSet =
false;
384 bool m_configurationHasBeenSet =
false;
385 bool m_vpcConfigurationHasBeenSet =
false;
386 bool m_createdAtHasBeenSet =
false;
387 bool m_updatedAtHasBeenSet =
false;
388 bool m_descriptionHasBeenSet =
false;
389 bool m_statusHasBeenSet =
false;
390 bool m_syncScheduleHasBeenSet =
false;
391 bool m_roleArnHasBeenSet =
false;
392 bool m_errorHasBeenSet =
false;
393 bool m_documentEnrichmentConfigurationHasBeenSet =
false;
394 bool m_mediaExtractionConfigurationHasBeenSet =
false;
395 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