7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/Document.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/qbusiness/QBusiness_EXPORTS.h>
12#include <aws/qbusiness/model/DataSourceStatus.h>
13#include <aws/qbusiness/model/DataSourceVpcConfiguration.h>
14#include <aws/qbusiness/model/DocumentEnrichmentConfiguration.h>
15#include <aws/qbusiness/model/ErrorDetail.h>
16#include <aws/qbusiness/model/MediaExtractionConfiguration.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
42 template <
typename ApplicationIdT = Aws::String>
44 m_applicationIdHasBeenSet =
true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
47 template <
typename ApplicationIdT = Aws::String>
59 template <
typename IndexIdT = Aws::String>
61 m_indexIdHasBeenSet =
true;
62 m_indexId = std::forward<IndexIdT>(value);
64 template <
typename IndexIdT = Aws::String>
76 template <
typename DataSourceIdT = Aws::String>
78 m_dataSourceIdHasBeenSet =
true;
79 m_dataSourceId = std::forward<DataSourceIdT>(value);
81 template <
typename DataSourceIdT = Aws::String>
93 template <
typename DataSourceArnT = Aws::String>
95 m_dataSourceArnHasBeenSet =
true;
96 m_dataSourceArn = std::forward<DataSourceArnT>(value);
98 template <
typename DataSourceArnT = Aws::String>
110 template <
typename DisplayNameT = Aws::String>
112 m_displayNameHasBeenSet =
true;
113 m_displayName = std::forward<DisplayNameT>(value);
115 template <
typename DisplayNameT = Aws::String>
127 template <
typename TypeT = Aws::String>
129 m_typeHasBeenSet =
true;
130 m_type = std::forward<TypeT>(value);
132 template <
typename TypeT = Aws::String>
134 SetType(std::forward<TypeT>(value));
144 template <
typename ConfigurationT = Aws::Utils::Document>
146 m_configurationHasBeenSet =
true;
147 m_configuration = std::forward<ConfigurationT>(value);
149 template <
typename ConfigurationT = Aws::Utils::Document>
162 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
164 m_vpcConfigurationHasBeenSet =
true;
165 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
167 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
179 template <
typename CreatedAtT = Aws::Utils::DateTime>
181 m_createdAtHasBeenSet =
true;
182 m_createdAt = std::forward<CreatedAtT>(value);
184 template <
typename CreatedAtT = Aws::Utils::DateTime>
196 template <
typename UpdatedAtT = Aws::Utils::DateTime>
198 m_updatedAtHasBeenSet =
true;
199 m_updatedAt = std::forward<UpdatedAtT>(value);
201 template <
typename UpdatedAtT = Aws::Utils::DateTime>
213 template <
typename DescriptionT = Aws::String>
215 m_descriptionHasBeenSet =
true;
216 m_description = std::forward<DescriptionT>(value);
218 template <
typename DescriptionT = Aws::String>
233 m_statusHasBeenSet =
true;
247 template <
typename SyncScheduleT = Aws::String>
249 m_syncScheduleHasBeenSet =
true;
250 m_syncSchedule = std::forward<SyncScheduleT>(value);
252 template <
typename SyncScheduleT = Aws::String>
265 template <
typename RoleArnT = Aws::String>
267 m_roleArnHasBeenSet =
true;
268 m_roleArn = std::forward<RoleArnT>(value);
270 template <
typename RoleArnT = Aws::String>
284 template <
typename ErrorT = ErrorDetail>
286 m_errorHasBeenSet =
true;
287 m_error = std::forward<ErrorT>(value);
289 template <
typename ErrorT = ErrorDetail>
291 SetError(std::forward<ErrorT>(value));
299 template <
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
301 m_documentEnrichmentConfigurationHasBeenSet =
true;
302 m_documentEnrichmentConfiguration = std::forward<DocumentEnrichmentConfigurationT>(value);
304 template <
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
317 template <
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
319 m_mediaExtractionConfigurationHasBeenSet =
true;
320 m_mediaExtractionConfiguration = std::forward<MediaExtractionConfigurationT>(value);
322 template <
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
332 template <
typename RequestIdT = Aws::String>
334 m_requestIdHasBeenSet =
true;
335 m_requestId = std::forward<RequestIdT>(value);
337 template <
typename RequestIdT = Aws::String>
376 DocumentEnrichmentConfiguration m_documentEnrichmentConfiguration;
378 MediaExtractionConfiguration m_mediaExtractionConfiguration;
382 bool m_applicationIdHasBeenSet =
false;
383 bool m_indexIdHasBeenSet =
false;
384 bool m_dataSourceIdHasBeenSet =
false;
385 bool m_dataSourceArnHasBeenSet =
false;
386 bool m_displayNameHasBeenSet =
false;
387 bool m_typeHasBeenSet =
false;
388 bool m_configurationHasBeenSet =
false;
389 bool m_vpcConfigurationHasBeenSet =
false;
390 bool m_createdAtHasBeenSet =
false;
391 bool m_updatedAtHasBeenSet =
false;
392 bool m_descriptionHasBeenSet =
false;
393 bool m_statusHasBeenSet =
false;
394 bool m_syncScheduleHasBeenSet =
false;
395 bool m_roleArnHasBeenSet =
false;
396 bool m_errorHasBeenSet =
false;
397 bool m_documentEnrichmentConfigurationHasBeenSet =
false;
398 bool m_mediaExtractionConfigurationHasBeenSet =
false;
399 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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