7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kendra/Kendra_EXPORTS.h>
11#include <aws/kendra/model/CapacityUnitsConfiguration.h>
12#include <aws/kendra/model/DocumentMetadataConfiguration.h>
13#include <aws/kendra/model/IndexEdition.h>
14#include <aws/kendra/model/IndexStatistics.h>
15#include <aws/kendra/model/IndexStatus.h>
16#include <aws/kendra/model/ServerSideEncryptionConfiguration.h>
17#include <aws/kendra/model/UserContextPolicy.h>
18#include <aws/kendra/model/UserGroupResolutionConfiguration.h>
19#include <aws/kendra/model/UserTokenConfiguration.h>
24template <
typename RESULT_TYPE>
25class AmazonWebServiceResult;
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
62 template <
typename IdT = Aws::String>
64 m_idHasBeenSet =
true;
65 m_id = std::forward<IdT>(value);
67 template <
typename IdT = Aws::String>
69 SetId(std::forward<IdT>(value));
81 m_editionHasBeenSet =
true;
96 template <
typename RoleArnT = Aws::String>
98 m_roleArnHasBeenSet =
true;
99 m_roleArn = std::forward<RoleArnT>(value);
101 template <
typename RoleArnT = Aws::String>
114 return m_serverSideEncryptionConfiguration;
116 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
118 m_serverSideEncryptionConfigurationHasBeenSet =
true;
119 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
121 template <
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
137 m_statusHasBeenSet =
true;
151 template <
typename DescriptionT = Aws::String>
153 m_descriptionHasBeenSet =
true;
154 m_description = std::forward<DescriptionT>(value);
156 template <
typename DescriptionT = Aws::String>
168 template <
typename CreatedAtT = Aws::Utils::DateTime>
170 m_createdAtHasBeenSet =
true;
171 m_createdAt = std::forward<CreatedAtT>(value);
173 template <
typename CreatedAtT = Aws::Utils::DateTime>
185 template <
typename UpdatedAtT = Aws::Utils::DateTime>
187 m_updatedAtHasBeenSet =
true;
188 m_updatedAt = std::forward<UpdatedAtT>(value);
190 template <
typename UpdatedAtT = Aws::Utils::DateTime>
204 return m_documentMetadataConfigurations;
206 template <
typename DocumentMetadataConfigurationsT = Aws::Vector<DocumentMetadataConfiguration>>
208 m_documentMetadataConfigurationsHasBeenSet =
true;
209 m_documentMetadataConfigurations = std::forward<DocumentMetadataConfigurationsT>(value);
211 template <
typename DocumentMetadataConfigurationsT = Aws::Vector<DocumentMetadataConfiguration>>
216 template <
typename DocumentMetadataConfigurationsT = DocumentMetadataConfiguration>
218 m_documentMetadataConfigurationsHasBeenSet =
true;
219 m_documentMetadataConfigurations.emplace_back(std::forward<DocumentMetadataConfigurationsT>(value));
230 template <
typename IndexStatisticsT = IndexStatistics>
232 m_indexStatisticsHasBeenSet =
true;
233 m_indexStatistics = std::forward<IndexStatisticsT>(value);
235 template <
typename IndexStatisticsT = IndexStatistics>
248 template <
typename ErrorMessageT = Aws::String>
250 m_errorMessageHasBeenSet =
true;
251 m_errorMessage = std::forward<ErrorMessageT>(value);
253 template <
typename ErrorMessageT = Aws::String>
271 template <
typename CapacityUnitsT = CapacityUnitsConfiguration>
273 m_capacityUnitsHasBeenSet =
true;
274 m_capacityUnits = std::forward<CapacityUnitsT>(value);
276 template <
typename CapacityUnitsT = CapacityUnitsConfiguration>
288 template <
typename UserTokenConfigurationsT = Aws::Vector<UserTokenConfiguration>>
290 m_userTokenConfigurationsHasBeenSet =
true;
291 m_userTokenConfigurations = std::forward<UserTokenConfigurationsT>(value);
293 template <
typename UserTokenConfigurationsT = Aws::Vector<UserTokenConfiguration>>
298 template <
typename UserTokenConfigurationsT = UserTokenConfiguration>
300 m_userTokenConfigurationsHasBeenSet =
true;
301 m_userTokenConfigurations.emplace_back(std::forward<UserTokenConfigurationsT>(value));
312 m_userContextPolicyHasBeenSet =
true;
313 m_userContextPolicy = value;
328 template <
typename UserGroupResolutionConfigurationT = UserGroupResolutionConfiguration>
330 m_userGroupResolutionConfigurationHasBeenSet =
true;
331 m_userGroupResolutionConfiguration = std::forward<UserGroupResolutionConfigurationT>(value);
333 template <
typename UserGroupResolutionConfigurationT = UserGroupResolutionConfiguration>
343 template <
typename RequestIdT = Aws::String>
345 m_requestIdHasBeenSet =
true;
346 m_requestId = std::forward<RequestIdT>(value);
348 template <
typename RequestIdT = Aws::String>
356 bool m_nameHasBeenSet =
false;
359 bool m_idHasBeenSet =
false;
362 bool m_editionHasBeenSet =
false;
365 bool m_roleArnHasBeenSet =
false;
367 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
368 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
371 bool m_statusHasBeenSet =
false;
374 bool m_descriptionHasBeenSet =
false;
377 bool m_createdAtHasBeenSet =
false;
380 bool m_updatedAtHasBeenSet =
false;
383 bool m_documentMetadataConfigurationsHasBeenSet =
false;
385 IndexStatistics m_indexStatistics;
386 bool m_indexStatisticsHasBeenSet =
false;
389 bool m_errorMessageHasBeenSet =
false;
391 CapacityUnitsConfiguration m_capacityUnits;
392 bool m_capacityUnitsHasBeenSet =
false;
395 bool m_userTokenConfigurationsHasBeenSet =
false;
398 bool m_userContextPolicyHasBeenSet =
false;
400 UserGroupResolutionConfiguration m_userGroupResolutionConfiguration;
401 bool m_userGroupResolutionConfigurationHasBeenSet =
false;
404 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)
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