7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/qbusiness/QBusinessRequest.h>
12#include <aws/qbusiness/QBusiness_EXPORTS.h>
13#include <aws/qbusiness/model/DataSourceVpcConfiguration.h>
14#include <aws/qbusiness/model/DocumentEnrichmentConfiguration.h>
15#include <aws/qbusiness/model/MediaExtractionConfiguration.h>
16#include <aws/qbusiness/model/Tag.h>
45 template <
typename ApplicationIdT = Aws::String>
47 m_applicationIdHasBeenSet =
true;
48 m_applicationId = std::forward<ApplicationIdT>(value);
50 template <
typename ApplicationIdT = Aws::String>
64 template <
typename IndexIdT = Aws::String>
66 m_indexIdHasBeenSet =
true;
67 m_indexId = std::forward<IndexIdT>(value);
69 template <
typename IndexIdT = Aws::String>
82 template <
typename DisplayNameT = Aws::String>
84 m_displayNameHasBeenSet =
true;
85 m_displayName = std::forward<DisplayNameT>(value);
87 template <
typename DisplayNameT = Aws::String>
117 template <
typename ConfigurationT = Aws::Utils::Document>
119 m_configurationHasBeenSet =
true;
120 m_configuration = std::forward<ConfigurationT>(value);
122 template <
typename ConfigurationT = Aws::Utils::Document>
138 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
140 m_vpcConfigurationHasBeenSet =
true;
141 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
143 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
156 template <
typename DescriptionT = Aws::String>
158 m_descriptionHasBeenSet =
true;
159 m_description = std::forward<DescriptionT>(value);
161 template <
typename DescriptionT = Aws::String>
177 template <
typename TagsT = Aws::Vector<Tag>>
179 m_tagsHasBeenSet =
true;
180 m_tags = std::forward<TagsT>(value);
182 template <
typename TagsT = Aws::Vector<Tag>>
184 SetTags(std::forward<TagsT>(value));
187 template <
typename TagsT = Tag>
189 m_tagsHasBeenSet =
true;
190 m_tags.emplace_back(std::forward<TagsT>(value));
207 template <
typename SyncScheduleT = Aws::String>
209 m_syncScheduleHasBeenSet =
true;
210 m_syncSchedule = std::forward<SyncScheduleT>(value);
212 template <
typename SyncScheduleT = Aws::String>
227 template <
typename RoleArnT = Aws::String>
229 m_roleArnHasBeenSet =
true;
230 m_roleArn = std::forward<RoleArnT>(value);
232 template <
typename RoleArnT = Aws::String>
247 template <
typename ClientTokenT = Aws::String>
249 m_clientTokenHasBeenSet =
true;
250 m_clientToken = std::forward<ClientTokenT>(value);
252 template <
typename ClientTokenT = Aws::String>
263 template <
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
265 m_documentEnrichmentConfigurationHasBeenSet =
true;
266 m_documentEnrichmentConfiguration = std::forward<DocumentEnrichmentConfigurationT>(value);
268 template <
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
282 template <
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
284 m_mediaExtractionConfigurationHasBeenSet =
true;
285 m_mediaExtractionConfiguration = std::forward<MediaExtractionConfigurationT>(value);
287 template <
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
314 DocumentEnrichmentConfiguration m_documentEnrichmentConfiguration;
316 MediaExtractionConfiguration m_mediaExtractionConfiguration;
317 bool m_applicationIdHasBeenSet =
false;
318 bool m_indexIdHasBeenSet =
false;
319 bool m_displayNameHasBeenSet =
false;
320 bool m_configurationHasBeenSet =
false;
321 bool m_vpcConfigurationHasBeenSet =
false;
322 bool m_descriptionHasBeenSet =
false;
323 bool m_tagsHasBeenSet =
false;
324 bool m_syncScheduleHasBeenSet =
false;
325 bool m_roleArnHasBeenSet =
false;
326 bool m_clientTokenHasBeenSet =
true;
327 bool m_documentEnrichmentConfigurationHasBeenSet =
false;
328 bool m_mediaExtractionConfigurationHasBeenSet =
false;
const Aws::Vector< Tag > & GetTags() const
CreateDataSourceRequest & WithTags(TagsT &&value)
const Aws::String & GetSyncSchedule() const
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
CreateDataSourceRequest & WithDisplayName(DisplayNameT &&value)
void SetMediaExtractionConfiguration(MediaExtractionConfigurationT &&value)
void SetTags(TagsT &&value)
void SetClientToken(ClientTokenT &&value)
CreateDataSourceRequest & WithVpcConfiguration(VpcConfigurationT &&value)
CreateDataSourceRequest & WithDescription(DescriptionT &&value)
AWS_QBUSINESS_API CreateDataSourceRequest()=default
const Aws::String & GetDescription() const
bool IndexIdHasBeenSet() const
bool DescriptionHasBeenSet() const
bool ApplicationIdHasBeenSet() const
CreateDataSourceRequest & WithDocumentEnrichmentConfiguration(DocumentEnrichmentConfigurationT &&value)
CreateDataSourceRequest & WithSyncSchedule(SyncScheduleT &&value)
void SetRoleArn(RoleArnT &&value)
CreateDataSourceRequest & WithConfiguration(ConfigurationT &&value)
const Aws::String & GetIndexId() const
bool MediaExtractionConfigurationHasBeenSet() const
bool VpcConfigurationHasBeenSet() const
bool DisplayNameHasBeenSet() const
CreateDataSourceRequest & AddTags(TagsT &&value)
CreateDataSourceRequest & WithClientToken(ClientTokenT &&value)
CreateDataSourceRequest & WithMediaExtractionConfiguration(MediaExtractionConfigurationT &&value)
const DataSourceVpcConfiguration & GetVpcConfiguration() const
bool ConfigurationHasBeenSet() const
void SetConfiguration(ConfigurationT &&value)
const Aws::String & GetDisplayName() const
const Aws::String & GetClientToken() const
void SetDisplayName(DisplayNameT &&value)
void SetIndexId(IndexIdT &&value)
CreateDataSourceRequest & WithApplicationId(ApplicationIdT &&value)
CreateDataSourceRequest & WithIndexId(IndexIdT &&value)
void SetDocumentEnrichmentConfiguration(DocumentEnrichmentConfigurationT &&value)
bool SyncScheduleHasBeenSet() const
void SetDescription(DescriptionT &&value)
const MediaExtractionConfiguration & GetMediaExtractionConfiguration() const
void SetVpcConfiguration(VpcConfigurationT &&value)
void SetApplicationId(ApplicationIdT &&value)
const DocumentEnrichmentConfiguration & GetDocumentEnrichmentConfiguration() const
bool DocumentEnrichmentConfigurationHasBeenSet() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetRoleArn() const
CreateDataSourceRequest & WithRoleArn(RoleArnT &&value)
const Aws::String & GetApplicationId() const
bool RoleArnHasBeenSet() const
Aws::Utils::DocumentView GetConfiguration() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
void SetSyncSchedule(SyncScheduleT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector