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/Tag.h>
16#include <aws/core/utils/UUID.h>
50 inline void SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
65 inline void SetIndexId(
const char* value) { m_indexIdHasBeenSet =
true; m_indexId.assign(value); }
79 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
137 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
174 inline void SetSyncSchedule(
const char* value) { m_syncScheduleHasBeenSet =
true; m_syncSchedule.assign(value); }
189 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
205 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
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 =
false;
253 bool m_documentEnrichmentConfigurationHasBeenSet =
false;
void SetIndexId(const Aws::String &value)
void SetConfiguration(const Aws::Utils::Document &value)
void SetClientToken(const Aws::String &value)
CreateDataSourceRequest & WithDocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration &&value)
const Aws::Vector< Tag > & GetTags() const
CreateDataSourceRequest & WithRoleArn(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetRoleArn(const Aws::String &value)
const Aws::String & GetSyncSchedule() const
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
CreateDataSourceRequest & WithSyncSchedule(const char *value)
CreateDataSourceRequest & WithDescription(Aws::String &&value)
CreateDataSourceRequest & WithClientToken(const char *value)
void SetSyncSchedule(Aws::String &&value)
CreateDataSourceRequest & WithDescription(const char *value)
void SetSyncSchedule(const Aws::String &value)
CreateDataSourceRequest & WithTags(const Aws::Vector< Tag > &value)
void SetApplicationId(Aws::String &&value)
CreateDataSourceRequest & WithApplicationId(const Aws::String &value)
CreateDataSourceRequest & WithRoleArn(const Aws::String &value)
void SetClientToken(const char *value)
CreateDataSourceRequest & WithDisplayName(const Aws::String &value)
void SetVpcConfiguration(DataSourceVpcConfiguration &&value)
const Aws::String & GetDescription() const
void SetRoleArn(Aws::String &&value)
CreateDataSourceRequest & AddTags(const Tag &value)
void SetDocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration &&value)
void SetDescription(Aws::String &&value)
void SetIndexId(Aws::String &&value)
void SetDocumentEnrichmentConfiguration(const DocumentEnrichmentConfiguration &value)
bool IndexIdHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateDataSourceRequest & WithDisplayName(Aws::String &&value)
bool ApplicationIdHasBeenSet() const
void SetRoleArn(const char *value)
CreateDataSourceRequest & WithClientToken(const Aws::String &value)
CreateDataSourceRequest & WithDisplayName(const char *value)
const Aws::String & GetIndexId() const
void SetApplicationId(const char *value)
void SetConfiguration(Aws::Utils::Document &&value)
CreateDataSourceRequest & WithTags(Aws::Vector< Tag > &&value)
void SetDescription(const char *value)
bool VpcConfigurationHasBeenSet() const
CreateDataSourceRequest & WithClientToken(Aws::String &&value)
bool DisplayNameHasBeenSet() const
CreateDataSourceRequest & WithVpcConfiguration(const DataSourceVpcConfiguration &value)
CreateDataSourceRequest & WithDocumentEnrichmentConfiguration(const DocumentEnrichmentConfiguration &value)
void SetDisplayName(Aws::String &&value)
CreateDataSourceRequest & WithVpcConfiguration(DataSourceVpcConfiguration &&value)
void SetDisplayName(const char *value)
const DataSourceVpcConfiguration & GetVpcConfiguration() const
bool ConfigurationHasBeenSet() const
const Aws::String & GetDisplayName() const
const Aws::String & GetClientToken() const
CreateDataSourceRequest & WithIndexId(Aws::String &&value)
CreateDataSourceRequest & WithApplicationId(Aws::String &&value)
CreateDataSourceRequest & WithRoleArn(const char *value)
void SetIndexId(const char *value)
bool SyncScheduleHasBeenSet() const
CreateDataSourceRequest & WithSyncSchedule(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_QBUSINESS_API CreateDataSourceRequest()
const DocumentEnrichmentConfiguration & GetDocumentEnrichmentConfiguration() const
bool DocumentEnrichmentConfigurationHasBeenSet() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetRoleArn() const
CreateDataSourceRequest & WithIndexId(const Aws::String &value)
void SetDisplayName(const Aws::String &value)
CreateDataSourceRequest & WithConfiguration(const Aws::Utils::Document &value)
void SetVpcConfiguration(const DataSourceVpcConfiguration &value)
const Aws::String & GetApplicationId() const
bool RoleArnHasBeenSet() const
CreateDataSourceRequest & AddTags(Tag &&value)
CreateDataSourceRequest & WithApplicationId(const char *value)
Aws::Utils::DocumentView GetConfiguration() const
CreateDataSourceRequest & WithDescription(const Aws::String &value)
CreateDataSourceRequest & WithConfiguration(Aws::Utils::Document &&value)
void SetClientToken(Aws::String &&value)
CreateDataSourceRequest & WithIndexId(const char *value)
CreateDataSourceRequest & WithSyncSchedule(Aws::String &&value)
void SetApplicationId(const Aws::String &value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
void SetSyncSchedule(const char *value)
void SetDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector