7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kendra/model/DataSourceType.h>
10#include <aws/kendra/model/DataSourceConfiguration.h>
11#include <aws/kendra/model/DataSourceVpcConfiguration.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/kendra/model/DataSourceStatus.h>
14#include <aws/kendra/model/CustomDocumentEnrichmentConfiguration.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
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>
57 template<
typename IndexIdT = Aws::String>
58 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
59 template<
typename IndexIdT = Aws::String>
68 template<
typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
70 template<
typename NameT = Aws::String>
90 template<
typename ConfigurationT = DataSourceConfiguration>
91 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
92 template<
typename ConfigurationT = DataSourceConfiguration>
104 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
105 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet =
true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
106 template<
typename VpcConfigurationT = DataSourceVpcConfiguration>
115 template<
typename CreatedAtT = Aws::Utils::DateTime>
116 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
117 template<
typename CreatedAtT = Aws::Utils::DateTime>
126 template<
typename UpdatedAtT = Aws::Utils::DateTime>
127 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
128 template<
typename UpdatedAtT = Aws::Utils::DateTime>
137 template<
typename DescriptionT = Aws::String>
138 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
139 template<
typename DescriptionT = Aws::String>
160 template<
typename ScheduleT = Aws::String>
161 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
162 template<
typename ScheduleT = Aws::String>
172 template<
typename RoleArnT = Aws::String>
173 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
174 template<
typename RoleArnT = Aws::String>
185 template<
typename ErrorMessageT = Aws::String>
186 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
187 template<
typename ErrorMessageT = Aws::String>
200 template<
typename LanguageCodeT = Aws::String>
201 void SetLanguageCode(LanguageCodeT&& value) { m_languageCodeHasBeenSet =
true; m_languageCode = std::forward<LanguageCodeT>(value); }
202 template<
typename LanguageCodeT = Aws::String>
216 template<
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
217 void SetCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfigurationT&& value) { m_customDocumentEnrichmentConfigurationHasBeenSet =
true; m_customDocumentEnrichmentConfiguration = std::forward<CustomDocumentEnrichmentConfigurationT>(value); }
218 template<
typename CustomDocumentEnrichmentConfigurationT = CustomDocumentEnrichmentConfiguration>
225 template<
typename RequestIdT = Aws::String>
226 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
227 template<
typename RequestIdT = Aws::String>
233 bool m_idHasBeenSet =
false;
236 bool m_indexIdHasBeenSet =
false;
239 bool m_nameHasBeenSet =
false;
242 bool m_typeHasBeenSet =
false;
244 DataSourceConfiguration m_configuration;
245 bool m_configurationHasBeenSet =
false;
247 DataSourceVpcConfiguration m_vpcConfiguration;
248 bool m_vpcConfigurationHasBeenSet =
false;
251 bool m_createdAtHasBeenSet =
false;
254 bool m_updatedAtHasBeenSet =
false;
257 bool m_descriptionHasBeenSet =
false;
260 bool m_statusHasBeenSet =
false;
263 bool m_scheduleHasBeenSet =
false;
266 bool m_roleArnHasBeenSet =
false;
269 bool m_errorMessageHasBeenSet =
false;
272 bool m_languageCodeHasBeenSet =
false;
274 CustomDocumentEnrichmentConfiguration m_customDocumentEnrichmentConfiguration;
275 bool m_customDocumentEnrichmentConfigurationHasBeenSet =
false;
278 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