7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kendra/Kendra_EXPORTS.h>
11#include <aws/kendra/model/CustomDocumentEnrichmentConfiguration.h>
12#include <aws/kendra/model/DataSourceConfiguration.h>
13#include <aws/kendra/model/DataSourceStatus.h>
14#include <aws/kendra/model/DataSourceType.h>
15#include <aws/kendra/model/DataSourceVpcConfiguration.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
58 template <
typename IndexIdT = Aws::String>
60 m_indexIdHasBeenSet =
true;
61 m_indexId = std::forward<IndexIdT>(value);
63 template <
typename IndexIdT = Aws::String>
75 template <
typename NameT = Aws::String>
77 m_nameHasBeenSet =
true;
78 m_name = std::forward<NameT>(value);
80 template <
typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
93 m_typeHasBeenSet =
true;
109 template <
typename ConfigurationT = DataSourceConfiguration>
111 m_configurationHasBeenSet =
true;
112 m_configuration = std::forward<ConfigurationT>(value);
114 template <
typename ConfigurationT = DataSourceConfiguration>
129 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
131 m_vpcConfigurationHasBeenSet =
true;
132 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
134 template <
typename VpcConfigurationT = DataSourceVpcConfiguration>
146 template <
typename CreatedAtT = Aws::Utils::DateTime>
148 m_createdAtHasBeenSet =
true;
149 m_createdAt = std::forward<CreatedAtT>(value);
151 template <
typename CreatedAtT = Aws::Utils::DateTime>
163 template <
typename UpdatedAtT = Aws::Utils::DateTime>
165 m_updatedAtHasBeenSet =
true;
166 m_updatedAt = std::forward<UpdatedAtT>(value);
168 template <
typename UpdatedAtT = Aws::Utils::DateTime>
180 template <
typename DescriptionT = Aws::String>
182 m_descriptionHasBeenSet =
true;
183 m_description = std::forward<DescriptionT>(value);
185 template <
typename DescriptionT = Aws::String>
201 m_statusHasBeenSet =
true;
215 template <
typename ScheduleT = Aws::String>
217 m_scheduleHasBeenSet =
true;
218 m_schedule = std::forward<ScheduleT>(value);
220 template <
typename ScheduleT = Aws::String>
233 template <
typename RoleArnT = Aws::String>
235 m_roleArnHasBeenSet =
true;
236 m_roleArn = std::forward<RoleArnT>(value);
238 template <
typename RoleArnT = Aws::String>
252 template <
typename ErrorMessageT = Aws::String>
254 m_errorMessageHasBeenSet =
true;
255 m_errorMessage = std::forward<ErrorMessageT>(value);
257 template <
typename ErrorMessageT = Aws::String>
273 template <
typename LanguageCodeT = Aws::String>
275 m_languageCodeHasBeenSet =
true;
276 m_languageCode = std::forward<LanguageCodeT>(value);
278 template <
typename LanguageCodeT = Aws::String>
295 return m_customDocumentEnrichmentConfiguration;
297 template <
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
299 m_customDocumentEnrichmentConfigurationHasBeenSet =
true;
300 m_customDocumentEnrichmentConfiguration = std::forward<CustomDocumentEnrichmentConfigurationT>(value);
302 template <
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
312 template <
typename RequestIdT = Aws::String>
314 m_requestIdHasBeenSet =
true;
315 m_requestId = std::forward<RequestIdT>(value);
317 template <
typename RequestIdT = Aws::String>
334 DataSourceConfiguration m_configuration;
336 DataSourceVpcConfiguration m_vpcConfiguration;
354 CustomDocumentEnrichmentConfiguration m_customDocumentEnrichmentConfiguration;
358 bool m_idHasBeenSet =
false;
359 bool m_indexIdHasBeenSet =
false;
360 bool m_nameHasBeenSet =
false;
361 bool m_typeHasBeenSet =
false;
362 bool m_configurationHasBeenSet =
false;
363 bool m_vpcConfigurationHasBeenSet =
false;
364 bool m_createdAtHasBeenSet =
false;
365 bool m_updatedAtHasBeenSet =
false;
366 bool m_descriptionHasBeenSet =
false;
367 bool m_statusHasBeenSet =
false;
368 bool m_scheduleHasBeenSet =
false;
369 bool m_roleArnHasBeenSet =
false;
370 bool m_errorMessageHasBeenSet =
false;
371 bool m_languageCodeHasBeenSet =
false;
372 bool m_customDocumentEnrichmentConfigurationHasBeenSet =
false;
373 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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