7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/KendraRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kendra/model/DataSourceConfiguration.h>
11#include <aws/kendra/model/DataSourceVpcConfiguration.h>
12#include <aws/kendra/model/CustomDocumentEnrichmentConfiguration.h>
46 template<
typename IdT = Aws::String>
47 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
48 template<
typename IdT = Aws::String>
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
70 template<
typename IndexIdT = Aws::String>
71 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
72 template<
typename IndexIdT = Aws::String>
83 template<
typename ConfigurationT = DataSourceConfiguration>
84 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
85 template<
typename ConfigurationT = DataSourceConfiguration>
98 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
99 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet =
true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
100 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
110 template<
typename DescriptionT = Aws::String>
111 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
112 template<
typename DescriptionT = Aws::String>
122 template<
typename ScheduleT = Aws::String>
123 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
124 template<
typename ScheduleT = Aws::String>
137 template<
typename RoleArnT = Aws::String>
138 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
139 template<
typename RoleArnT = Aws::String>
154 template<
typename LanguageCodeT = Aws::String>
155 void SetLanguageCode(LanguageCodeT&& value) { m_languageCodeHasBeenSet =
true; m_languageCode = std::forward<LanguageCodeT>(value); }
156 template<
typename LanguageCodeT = Aws::String>
171 template<
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
172 void SetCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfigurationT&& value) { m_customDocumentEnrichmentConfigurationHasBeenSet =
true; m_customDocumentEnrichmentConfiguration = std::forward<CustomDocumentEnrichmentConfigurationT>(value); }
173 template<
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
179 bool m_idHasBeenSet =
false;
182 bool m_nameHasBeenSet =
false;
185 bool m_indexIdHasBeenSet =
false;
188 bool m_configurationHasBeenSet =
false;
191 bool m_vpcConfigurationHasBeenSet =
false;
194 bool m_descriptionHasBeenSet =
false;
197 bool m_scheduleHasBeenSet =
false;
200 bool m_roleArnHasBeenSet =
false;
203 bool m_languageCodeHasBeenSet =
false;
206 bool m_customDocumentEnrichmentConfigurationHasBeenSet =
false;
AWS_KENDRA_API Aws::String SerializePayload() const override
UpdateDataSourceRequest & WithLanguageCode(LanguageCodeT &&value)
AWS_KENDRA_API UpdateDataSourceRequest()=default
bool LanguageCodeHasBeenSet() const
bool CustomDocumentEnrichmentConfigurationHasBeenSet() const
void SetLanguageCode(LanguageCodeT &&value)
const Aws::String & GetId() const
UpdateDataSourceRequest & WithConfiguration(ConfigurationT &&value)
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDataSourceRequest & WithVpcConfiguration(VpcConfigurationT &&value)
bool NameHasBeenSet() const
UpdateDataSourceRequest & WithId(IdT &&value)
bool IdHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
bool RoleArnHasBeenSet() const
bool IndexIdHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetSchedule() const
const CustomDocumentEnrichmentConfiguration & GetCustomDocumentEnrichmentConfiguration() const
bool VpcConfigurationHasBeenSet() const
void SetIndexId(IndexIdT &&value)
UpdateDataSourceRequest & WithIndexId(IndexIdT &&value)
void SetCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfigurationT &&value)
UpdateDataSourceRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRoleArn() const
UpdateDataSourceRequest & WithCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfigurationT &&value)
bool ConfigurationHasBeenSet() const
UpdateDataSourceRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetIndexId() const
const DataSourceConfiguration & GetConfiguration() const
const DataSourceVpcConfiguration & GetVpcConfiguration() const
UpdateDataSourceRequest & WithSchedule(ScheduleT &&value)
bool ScheduleHasBeenSet() const
void SetVpcConfiguration(VpcConfigurationT &&value)
void SetSchedule(ScheduleT &&value)
const Aws::String & GetName() const
UpdateDataSourceRequest & WithRoleArn(RoleArnT &&value)
const Aws::String & GetLanguageCode() const
void SetConfiguration(ConfigurationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String