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/core/utils/memory/stl/AWSVector.h>
11#include <aws/kendra/Kendra_EXPORTS.h>
12#include <aws/kendra/model/CapacityUnitsConfiguration.h>
13#include <aws/kendra/model/DocumentMetadataConfiguration.h>
14#include <aws/kendra/model/IndexEdition.h>
15#include <aws/kendra/model/IndexStatistics.h>
16#include <aws/kendra/model/IndexStatus.h>
17#include <aws/kendra/model/ServerSideEncryptionConfiguration.h>
18#include <aws/kendra/model/UserContextPolicy.h>
19#include <aws/kendra/model/UserGroupResolutionConfiguration.h>
20#include <aws/kendra/model/UserTokenConfiguration.h>
25template <
typename RESULT_TYPE>
26class AmazonWebServiceResult;
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
63 template <
typename IdT = Aws::String>
65 m_idHasBeenSet =
true;
66 m_id = std::forward<IdT>(value);
68 template <
typename IdT = Aws::String>
70 SetId(std::forward<IdT>(value));
82 m_editionHasBeenSet =
true;
97 template <
typename RoleArnT = Aws::String>
99 m_roleArnHasBeenSet =
true;
100 m_roleArn = std::forward<RoleArnT>(value);
102 template <
typename RoleArnT = Aws::String>
115 return m_serverSideEncryptionConfiguration;
117 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
119 m_serverSideEncryptionConfigurationHasBeenSet =
true;
120 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
122 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
138 m_statusHasBeenSet =
true;
152 template <
typename DescriptionT = Aws::String>
154 m_descriptionHasBeenSet =
true;
155 m_description = std::forward<DescriptionT>(value);
157 template <
typename DescriptionT = Aws::String>
169 template <
typename CreatedAtT = Aws::Utils::DateTime>
171 m_createdAtHasBeenSet =
true;
172 m_createdAt = std::forward<CreatedAtT>(value);
174 template <
typename CreatedAtT = Aws::Utils::DateTime>
186 template <
typename UpdatedAtT = Aws::Utils::DateTime>
188 m_updatedAtHasBeenSet =
true;
189 m_updatedAt = std::forward<UpdatedAtT>(value);
191 template <
typename UpdatedAtT = Aws::Utils::DateTime>
205 return m_documentMetadataConfigurations;
207 template <
typename DocumentMetadataConfigurationsT = Aws::Vector<DocumentMetadataConfiguration>>
209 m_documentMetadataConfigurationsHasBeenSet =
true;
210 m_documentMetadataConfigurations = std::forward<DocumentMetadataConfigurationsT>(value);
212 template <
typename DocumentMetadataConfigurationsT = Aws::Vector<DocumentMetadataConfiguration>>
217 template <
typename DocumentMetadataConfigurationsT = DocumentMetadataConfiguration>
219 m_documentMetadataConfigurationsHasBeenSet =
true;
220 m_documentMetadataConfigurations.emplace_back(std::forward<DocumentMetadataConfigurationsT>(value));
231 template <
typename IndexStatisticsT = IndexStatistics>
233 m_indexStatisticsHasBeenSet =
true;
234 m_indexStatistics = std::forward<IndexStatisticsT>(value);
236 template <
typename IndexStatisticsT = IndexStatistics>
249 template <
typename ErrorMessageT = Aws::String>
251 m_errorMessageHasBeenSet =
true;
252 m_errorMessage = std::forward<ErrorMessageT>(value);
254 template <
typename ErrorMessageT = Aws::String>
272 template <
typename CapacityUnitsT = CapacityUnitsConfiguration>
274 m_capacityUnitsHasBeenSet =
true;
275 m_capacityUnits = std::forward<CapacityUnitsT>(value);
277 template <
typename CapacityUnitsT = CapacityUnitsConfiguration>
289 template <
typename UserTokenConfigurationsT = Aws::Vector<UserTokenConfiguration>>
291 m_userTokenConfigurationsHasBeenSet =
true;
292 m_userTokenConfigurations = std::forward<UserTokenConfigurationsT>(value);
294 template <
typename UserTokenConfigurationsT = Aws::Vector<UserTokenConfiguration>>
299 template <
typename UserTokenConfigurationsT = UserTokenConfiguration>
301 m_userTokenConfigurationsHasBeenSet =
true;
302 m_userTokenConfigurations.emplace_back(std::forward<UserTokenConfigurationsT>(value));
313 m_userContextPolicyHasBeenSet =
true;
314 m_userContextPolicy = value;
329 template <
typename UserGroupResolutionConfigurationT = UserGroupResolutionConfiguration>
331 m_userGroupResolutionConfigurationHasBeenSet =
true;
332 m_userGroupResolutionConfiguration = std::forward<UserGroupResolutionConfigurationT>(value);
334 template <
typename UserGroupResolutionConfigurationT = UserGroupResolutionConfiguration>
344 template <
typename RequestIdT = Aws::String>
346 m_requestIdHasBeenSet =
true;
347 m_requestId = std::forward<RequestIdT>(value);
349 template <
typename RequestIdT = Aws::String>
366 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
378 IndexStatistics m_indexStatistics;
382 CapacityUnitsConfiguration m_capacityUnits;
388 UserGroupResolutionConfiguration m_userGroupResolutionConfiguration;
392 bool m_nameHasBeenSet =
false;
393 bool m_idHasBeenSet =
false;
394 bool m_editionHasBeenSet =
false;
395 bool m_roleArnHasBeenSet =
false;
396 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
397 bool m_statusHasBeenSet =
false;
398 bool m_descriptionHasBeenSet =
false;
399 bool m_createdAtHasBeenSet =
false;
400 bool m_updatedAtHasBeenSet =
false;
401 bool m_documentMetadataConfigurationsHasBeenSet =
false;
402 bool m_indexStatisticsHasBeenSet =
false;
403 bool m_errorMessageHasBeenSet =
false;
404 bool m_capacityUnitsHasBeenSet =
false;
405 bool m_userTokenConfigurationsHasBeenSet =
false;
406 bool m_userContextPolicyHasBeenSet =
false;
407 bool m_userGroupResolutionConfigurationHasBeenSet =
false;
408 bool m_requestIdHasBeenSet =
false;
void SetCreatedAt(CreatedAtT &&value)
IndexEdition GetEdition() const
DescribeIndexResult & WithErrorMessage(ErrorMessageT &&value)
void SetUserContextPolicy(UserContextPolicy value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Vector< DocumentMetadataConfiguration > & GetDocumentMetadataConfigurations() const
DescribeIndexResult & WithRoleArn(RoleArnT &&value)
void SetName(NameT &&value)
const Aws::String & GetRequestId() const
void SetStatus(IndexStatus value)
DescribeIndexResult & WithDescription(DescriptionT &&value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
DescribeIndexResult & AddUserTokenConfigurations(UserTokenConfigurationsT &&value)
UserContextPolicy GetUserContextPolicy() const
DescribeIndexResult & WithRequestId(RequestIdT &&value)
DescribeIndexResult & WithUpdatedAt(UpdatedAtT &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
void SetUserTokenConfigurations(UserTokenConfigurationsT &&value)
DescribeIndexResult & WithEdition(IndexEdition value)
const UserGroupResolutionConfiguration & GetUserGroupResolutionConfiguration() const
const Aws::Vector< UserTokenConfiguration > & GetUserTokenConfigurations() const
AWS_KENDRA_API DescribeIndexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUserGroupResolutionConfiguration(UserGroupResolutionConfigurationT &&value)
DescribeIndexResult & AddDocumentMetadataConfigurations(DocumentMetadataConfigurationsT &&value)
void SetCapacityUnits(CapacityUnitsT &&value)
const CapacityUnitsConfiguration & GetCapacityUnits() const
const IndexStatistics & GetIndexStatistics() const
const Aws::String & GetName() const
void SetIndexStatistics(IndexStatisticsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetEdition(IndexEdition value)
DescribeIndexResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetId() const
void SetDocumentMetadataConfigurations(DocumentMetadataConfigurationsT &&value)
void SetDescription(DescriptionT &&value)
AWS_KENDRA_API DescribeIndexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeIndexResult & WithStatus(IndexStatus value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_KENDRA_API DescribeIndexResult()=default
DescribeIndexResult & WithUserTokenConfigurations(UserTokenConfigurationsT &&value)
void SetRoleArn(RoleArnT &&value)
DescribeIndexResult & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
const Aws::String & GetDescription() const
DescribeIndexResult & WithName(NameT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetErrorMessage() const
DescribeIndexResult & WithCapacityUnits(CapacityUnitsT &&value)
void SetRequestId(RequestIdT &&value)
DescribeIndexResult & WithUserContextPolicy(UserContextPolicy value)
IndexStatus GetStatus() const
DescribeIndexResult & WithId(IdT &&value)
DescribeIndexResult & WithUserGroupResolutionConfiguration(UserGroupResolutionConfigurationT &&value)
const Aws::String & GetRoleArn() const
void SetErrorMessage(ErrorMessageT &&value)
DescribeIndexResult & WithIndexStatistics(IndexStatisticsT &&value)
DescribeIndexResult & WithDocumentMetadataConfigurations(DocumentMetadataConfigurationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue