7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusinessRequest.h>
10#include <aws/qbusiness/QBusiness_EXPORTS.h>
11#include <aws/qbusiness/model/DataSourceVpcConfiguration.h>
12#include <aws/qbusiness/model/DocumentEnrichmentConfiguration.h>
13#include <aws/qbusiness/model/MediaExtractionConfiguration.h>
42 template <
typename ApplicationIdT = Aws::String>
44 m_applicationIdHasBeenSet =
true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
47 template <
typename ApplicationIdT = Aws::String>
60 template <
typename IndexIdT = Aws::String>
62 m_indexIdHasBeenSet =
true;
63 m_indexId = std::forward<IndexIdT>(value);
65 template <
typename IndexIdT = Aws::String>
78 template <
typename DataSourceIdT = Aws::String>
80 m_dataSourceIdHasBeenSet =
true;
81 m_dataSourceId = std::forward<DataSourceIdT>(value);
83 template <
typename DataSourceIdT = Aws::String>
96 template <
typename DisplayNameT = Aws::String>
98 m_displayNameHasBeenSet =
true;
99 m_displayName = std::forward<DisplayNameT>(value);
101 template <
typename DisplayNameT = Aws::String>
112 template <
typename ConfigurationT = Aws::Utils::Document>
114 m_configurationHasBeenSet =
true;
115 m_configuration = std::forward<ConfigurationT>(value);
117 template <
typename ConfigurationT = Aws::Utils::Document>
128 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
130 m_vpcConfigurationHasBeenSet =
true;
131 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
133 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
146 template <
typename DescriptionT = Aws::String>
148 m_descriptionHasBeenSet =
true;
149 m_description = std::forward<DescriptionT>(value);
151 template <
typename DescriptionT = Aws::String>
164 template <
typename SyncScheduleT = Aws::String>
166 m_syncScheduleHasBeenSet =
true;
167 m_syncSchedule = std::forward<SyncScheduleT>(value);
169 template <
typename SyncScheduleT = Aws::String>
183 template <
typename RoleArnT = Aws::String>
185 m_roleArnHasBeenSet =
true;
186 m_roleArn = std::forward<RoleArnT>(value);
188 template <
typename RoleArnT = Aws::String>
199 template <
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
201 m_documentEnrichmentConfigurationHasBeenSet =
true;
202 m_documentEnrichmentConfiguration = std::forward<DocumentEnrichmentConfigurationT>(value);
204 template <
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
218 template <
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
220 m_mediaExtractionConfigurationHasBeenSet =
true;
221 m_mediaExtractionConfiguration = std::forward<MediaExtractionConfigurationT>(value);
223 template <
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
251 bool m_applicationIdHasBeenSet =
false;
252 bool m_indexIdHasBeenSet =
false;
253 bool m_dataSourceIdHasBeenSet =
false;
254 bool m_displayNameHasBeenSet =
false;
255 bool m_configurationHasBeenSet =
false;
256 bool m_vpcConfigurationHasBeenSet =
false;
257 bool m_descriptionHasBeenSet =
false;
258 bool m_syncScheduleHasBeenSet =
false;
259 bool m_roleArnHasBeenSet =
false;
260 bool m_documentEnrichmentConfigurationHasBeenSet =
false;
261 bool m_mediaExtractionConfigurationHasBeenSet =
false;
bool RoleArnHasBeenSet() const
const Aws::String & GetIndexId() const
const Aws::String & GetDescription() const
bool IndexIdHasBeenSet() const
UpdateDataSourceRequest & WithConfiguration(ConfigurationT &&value)
UpdateDataSourceRequest & WithSyncSchedule(SyncScheduleT &&value)
const MediaExtractionConfiguration & GetMediaExtractionConfiguration() const
virtual const char * GetServiceRequestName() const override
bool VpcConfigurationHasBeenSet() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
const DocumentEnrichmentConfiguration & GetDocumentEnrichmentConfiguration() const
const Aws::String & GetDataSourceId() const
UpdateDataSourceRequest & WithMediaExtractionConfiguration(MediaExtractionConfigurationT &&value)
UpdateDataSourceRequest & WithDescription(DescriptionT &&value)
void SetDocumentEnrichmentConfiguration(DocumentEnrichmentConfigurationT &&value)
UpdateDataSourceRequest & WithDisplayName(DisplayNameT &&value)
bool DisplayNameHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
void SetDataSourceId(DataSourceIdT &&value)
void SetApplicationId(ApplicationIdT &&value)
UpdateDataSourceRequest & WithVpcConfiguration(VpcConfigurationT &&value)
void SetMediaExtractionConfiguration(MediaExtractionConfigurationT &&value)
bool DocumentEnrichmentConfigurationHasBeenSet() const
bool DataSourceIdHasBeenSet() const
const Aws::String & GetRoleArn() const
bool SyncScheduleHasBeenSet() const
UpdateDataSourceRequest & WithDocumentEnrichmentConfiguration(DocumentEnrichmentConfigurationT &&value)
void SetRoleArn(RoleArnT &&value)
UpdateDataSourceRequest & WithApplicationId(ApplicationIdT &&value)
const Aws::String & GetDisplayName() const
bool MediaExtractionConfigurationHasBeenSet() const
bool ConfigurationHasBeenSet() const
void SetSyncSchedule(SyncScheduleT &&value)
bool DescriptionHasBeenSet() const
UpdateDataSourceRequest & WithDataSourceId(DataSourceIdT &&value)
const Aws::String & GetApplicationId() const
const DataSourceVpcConfiguration & GetVpcConfiguration() const
void SetVpcConfiguration(VpcConfigurationT &&value)
Aws::Utils::DocumentView GetConfiguration() const
UpdateDataSourceRequest & WithIndexId(IndexIdT &&value)
void SetConfiguration(ConfigurationT &&value)
bool ApplicationIdHasBeenSet() const
void SetIndexId(IndexIdT &&value)
AWS_QBUSINESS_API UpdateDataSourceRequest()=default
const Aws::String & GetSyncSchedule() const
UpdateDataSourceRequest & WithRoleArn(RoleArnT &&value)
void SetDescription(DescriptionT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String