7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kendra/KendraRequest.h>
9#include <aws/kendra/Kendra_EXPORTS.h>
10#include <aws/kendra/model/CustomDocumentEnrichmentConfiguration.h>
11#include <aws/kendra/model/DataSourceConfiguration.h>
12#include <aws/kendra/model/DataSourceVpcConfiguration.h>
42 template <
typename IdT = Aws::String>
44 m_idHasBeenSet =
true;
45 m_id = std::forward<IdT>(value);
47 template <
typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
78 template <
typename IndexIdT = Aws::String>
80 m_indexIdHasBeenSet =
true;
81 m_indexId = std::forward<IndexIdT>(value);
83 template <
typename IndexIdT = Aws::String>
97 template <
typename ConfigurationT = DataSourceConfiguration>
99 m_configurationHasBeenSet =
true;
100 m_configuration = std::forward<ConfigurationT>(value);
102 template <
typename ConfigurationT = DataSourceConfiguration>
118 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
120 m_vpcConfigurationHasBeenSet =
true;
121 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
123 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
136 template <
typename DescriptionT = Aws::String>
138 m_descriptionHasBeenSet =
true;
139 m_description = std::forward<DescriptionT>(value);
141 template <
typename DescriptionT = Aws::String>
154 template <
typename ScheduleT = Aws::String>
156 m_scheduleHasBeenSet =
true;
157 m_schedule = std::forward<ScheduleT>(value);
159 template <
typename ScheduleT = Aws::String>
175 template <
typename RoleArnT = Aws::String>
177 m_roleArnHasBeenSet =
true;
178 m_roleArn = std::forward<RoleArnT>(value);
180 template <
typename RoleArnT = Aws::String>
198 template <
typename LanguageCodeT = Aws::String>
200 m_languageCodeHasBeenSet =
true;
201 m_languageCode = std::forward<LanguageCodeT>(value);
203 template <
typename LanguageCodeT = Aws::String>
220 return m_customDocumentEnrichmentConfiguration;
223 template <
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
225 m_customDocumentEnrichmentConfigurationHasBeenSet =
true;
226 m_customDocumentEnrichmentConfiguration = std::forward<CustomDocumentEnrichmentConfigurationT>(value);
228 template <
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
236 bool m_idHasBeenSet =
false;
239 bool m_nameHasBeenSet =
false;
242 bool m_indexIdHasBeenSet =
false;
245 bool m_configurationHasBeenSet =
false;
248 bool m_vpcConfigurationHasBeenSet =
false;
251 bool m_descriptionHasBeenSet =
false;
254 bool m_scheduleHasBeenSet =
false;
257 bool m_roleArnHasBeenSet =
false;
260 bool m_languageCodeHasBeenSet =
false;
263 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