7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.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/DataSourceStatus.h>
13#include <aws/kendra/model/DataSourceType.h>
14#include <aws/kendra/model/DataSourceVpcConfiguration.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename IdT = Aws::String>
42 m_idHasBeenSet =
true;
43 m_id = std::forward<IdT>(value);
45 template <
typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
57 template <
typename IndexIdT = Aws::String>
59 m_indexIdHasBeenSet =
true;
60 m_indexId = std::forward<IndexIdT>(value);
62 template <
typename IndexIdT = Aws::String>
74 template <
typename NameT = Aws::String>
76 m_nameHasBeenSet =
true;
77 m_name = std::forward<NameT>(value);
79 template <
typename NameT = Aws::String>
81 SetName(std::forward<NameT>(value));
92 m_typeHasBeenSet =
true;
108 template <
typename ConfigurationT = DataSourceConfiguration>
110 m_configurationHasBeenSet =
true;
111 m_configuration = std::forward<ConfigurationT>(value);
113 template <
typename ConfigurationT = DataSourceConfiguration>
128 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
130 m_vpcConfigurationHasBeenSet =
true;
131 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
133 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
145 template <
typename CreatedAtT = Aws::Utils::DateTime>
147 m_createdAtHasBeenSet =
true;
148 m_createdAt = std::forward<CreatedAtT>(value);
150 template <
typename CreatedAtT = Aws::Utils::DateTime>
162 template <
typename UpdatedAtT = Aws::Utils::DateTime>
164 m_updatedAtHasBeenSet =
true;
165 m_updatedAt = std::forward<UpdatedAtT>(value);
167 template <
typename UpdatedAtT = Aws::Utils::DateTime>
179 template <
typename DescriptionT = Aws::String>
181 m_descriptionHasBeenSet =
true;
182 m_description = std::forward<DescriptionT>(value);
184 template <
typename DescriptionT = Aws::String>
200 m_statusHasBeenSet =
true;
214 template <
typename ScheduleT = Aws::String>
216 m_scheduleHasBeenSet =
true;
217 m_schedule = std::forward<ScheduleT>(value);
219 template <
typename ScheduleT = Aws::String>
232 template <
typename RoleArnT = Aws::String>
234 m_roleArnHasBeenSet =
true;
235 m_roleArn = std::forward<RoleArnT>(value);
237 template <
typename RoleArnT = Aws::String>
251 template <
typename ErrorMessageT = Aws::String>
253 m_errorMessageHasBeenSet =
true;
254 m_errorMessage = std::forward<ErrorMessageT>(value);
256 template <
typename ErrorMessageT = Aws::String>
272 template <
typename LanguageCodeT = Aws::String>
274 m_languageCodeHasBeenSet =
true;
275 m_languageCode = std::forward<LanguageCodeT>(value);
277 template <
typename LanguageCodeT = Aws::String>
294 return m_customDocumentEnrichmentConfiguration;
296 template <
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
298 m_customDocumentEnrichmentConfigurationHasBeenSet =
true;
299 m_customDocumentEnrichmentConfiguration = std::forward<CustomDocumentEnrichmentConfigurationT>(value);
301 template <
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
311 template <
typename RequestIdT = Aws::String>
313 m_requestIdHasBeenSet =
true;
314 m_requestId = std::forward<RequestIdT>(value);
316 template <
typename RequestIdT = Aws::String>
331 DataSourceConfiguration m_configuration;
333 DataSourceVpcConfiguration m_vpcConfiguration;
351 CustomDocumentEnrichmentConfiguration m_customDocumentEnrichmentConfiguration;
354 bool m_idHasBeenSet =
false;
355 bool m_indexIdHasBeenSet =
false;
356 bool m_nameHasBeenSet =
false;
357 bool m_typeHasBeenSet =
false;
358 bool m_configurationHasBeenSet =
false;
359 bool m_vpcConfigurationHasBeenSet =
false;
360 bool m_createdAtHasBeenSet =
false;
361 bool m_updatedAtHasBeenSet =
false;
362 bool m_descriptionHasBeenSet =
false;
363 bool m_statusHasBeenSet =
false;
364 bool m_scheduleHasBeenSet =
false;
365 bool m_roleArnHasBeenSet =
false;
366 bool m_errorMessageHasBeenSet =
false;
367 bool m_languageCodeHasBeenSet =
false;
368 bool m_customDocumentEnrichmentConfigurationHasBeenSet =
false;
369 bool m_requestIdHasBeenSet =
false;
const DataSourceConfiguration & GetConfiguration() const
DescribeDataSourceResult & WithStatus(DataSourceStatus value)
DataSourceStatus GetStatus() const
DescribeDataSourceResult & WithLanguageCode(LanguageCodeT &&value)
void SetStatus(DataSourceStatus value)
void SetVpcConfiguration(VpcConfigurationT &&value)
DescribeDataSourceResult & WithName(NameT &&value)
DescribeDataSourceResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DescribeDataSourceResult & WithConfiguration(ConfigurationT &&value)
const Aws::String & GetRequestId() const
void SetName(NameT &&value)
const Aws::String & GetRoleArn() const
void SetRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
DescribeDataSourceResult & WithSchedule(ScheduleT &&value)
DescribeDataSourceResult & WithErrorMessage(ErrorMessageT &&value)
const CustomDocumentEnrichmentConfiguration & GetCustomDocumentEnrichmentConfiguration() const
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetSchedule() const
AWS_KENDRA_API DescribeDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDataSourceResult & WithIndexId(IndexIdT &&value)
void SetIndexId(IndexIdT &&value)
void SetRoleArn(RoleArnT &&value)
DescribeDataSourceResult & WithRoleArn(RoleArnT &&value)
void SetCreatedAt(CreatedAtT &&value)
DescribeDataSourceResult & WithVpcConfiguration(VpcConfigurationT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
DescribeDataSourceResult & WithType(DataSourceType value)
void SetLanguageCode(LanguageCodeT &&value)
DataSourceType GetType() const
const Aws::String & GetLanguageCode() const
AWS_KENDRA_API DescribeDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetId() const
void SetCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfigurationT &&value)
DescribeDataSourceResult & WithId(IdT &&value)
DescribeDataSourceResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetName() const
void SetType(DataSourceType value)
DescribeDataSourceResult & WithCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfigurationT &&value)
DescribeDataSourceResult & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetSchedule(ScheduleT &&value)
const Aws::String & GetErrorMessage() const
AWS_KENDRA_API DescribeDataSourceResult()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetConfiguration(ConfigurationT &&value)
DescribeDataSourceResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetIndexId() const
const DataSourceVpcConfiguration & GetVpcConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue