7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Document.h>
11#include <aws/qbusiness/model/DataSourceVpcConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/qbusiness/model/DocumentEnrichmentConfiguration.h>
14#include <aws/qbusiness/model/MediaExtractionConfiguration.h>
15#include <aws/qbusiness/model/Tag.h>
17#include <aws/core/utils/UUID.h>
49 template<
typename ApplicationIdT = Aws::String>
51 template<
typename ApplicationIdT = Aws::String>
62 template<
typename IndexIdT = Aws::String>
63 void SetIndexId(
IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
64 template<
typename IndexIdT = Aws::String>
74 template<
typename DisplayNameT = Aws::String>
76 template<
typename DisplayNameT = Aws::String>
103 template<
typename ConfigurationT = Aws::Utils::Document>
105 template<
typename ConfigurationT = Aws::Utils::Document>
118 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
120 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
130 template<
typename DescriptionT = Aws::String>
132 template<
typename DescriptionT = Aws::String>
145 template<
typename TagsT = Aws::Vector<Tag>>
146 void SetTags(
TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
147 template<
typename TagsT = Aws::Vector<Tag>>
149 template<
typename TagsT = Tag>
165 template<
typename SyncScheduleT = Aws::String>
167 template<
typename SyncScheduleT = Aws::String>
178 template<
typename RoleArnT = Aws::String>
179 void SetRoleArn(
RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
180 template<
typename RoleArnT = Aws::String>
192 template<
typename ClientTokenT = Aws::String>
194 template<
typename ClientTokenT = Aws::String>
202 template<
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
204 template<
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
215 template<
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
217 template<
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
223 bool m_applicationIdHasBeenSet =
false;
226 bool m_indexIdHasBeenSet =
false;
229 bool m_displayNameHasBeenSet =
false;
232 bool m_configurationHasBeenSet =
false;
235 bool m_vpcConfigurationHasBeenSet =
false;
238 bool m_descriptionHasBeenSet =
false;
241 bool m_tagsHasBeenSet =
false;
244 bool m_syncScheduleHasBeenSet =
false;
247 bool m_roleArnHasBeenSet =
false;
250 bool m_clientTokenHasBeenSet =
true;
252 DocumentEnrichmentConfiguration m_documentEnrichmentConfiguration;
253 bool m_documentEnrichmentConfigurationHasBeenSet =
false;
255 MediaExtractionConfiguration m_mediaExtractionConfiguration;
256 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