7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kendra/model/IndexEdition.h>
10#include <aws/kendra/model/ServerSideEncryptionConfiguration.h>
11#include <aws/kendra/model/IndexStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/kendra/model/IndexStatistics.h>
15#include <aws/kendra/model/CapacityUnitsConfiguration.h>
16#include <aws/kendra/model/UserContextPolicy.h>
17#include <aws/kendra/model/UserGroupResolutionConfiguration.h>
18#include <aws/kendra/model/DocumentMetadataConfiguration.h>
19#include <aws/kendra/model/UserTokenConfiguration.h>
24template<
typename RESULT_TYPE>
25class AmazonWebServiceResult;
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
62 template<
typename IdT = Aws::String>
63 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
64 template<
typename IdT = Aws::String>
84 template<
typename RoleArnT = Aws::String>
85 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
86 template<
typename RoleArnT = Aws::String>
96 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
97 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { m_serverSideEncryptionConfigurationHasBeenSet =
true; m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value); }
98 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
119 template<
typename DescriptionT = Aws::String>
120 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
121 template<
typename DescriptionT = Aws::String>
130 template<
typename CreatedAtT = Aws::Utils::DateTime>
131 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
132 template<
typename CreatedAtT = Aws::Utils::DateTime>
141 template<
typename UpdatedAtT = Aws::Utils::DateTime>
142 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
143 template<
typename UpdatedAtT = Aws::Utils::DateTime>
154 template<
typename DocumentMetadataConfigurationsT = Aws::Vector<DocumentMetadataConfiguration>>
155 void SetDocumentMetadataConfigurations(DocumentMetadataConfigurationsT&& value) { m_documentMetadataConfigurationsHasBeenSet =
true; m_documentMetadataConfigurations = std::forward<DocumentMetadataConfigurationsT>(value); }
156 template<
typename DocumentMetadataConfigurationsT = Aws::Vector<DocumentMetadataConfiguration>>
158 template<
typename DocumentMetadataConfigurationsT = DocumentMetadataConfiguration>
168 template<
typename IndexStatisticsT = IndexStatistics>
169 void SetIndexStatistics(IndexStatisticsT&& value) { m_indexStatisticsHasBeenSet =
true; m_indexStatistics = std::forward<IndexStatisticsT>(value); }
170 template<
typename IndexStatisticsT = IndexStatistics>
180 template<
typename ErrorMessageT = Aws::String>
181 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
182 template<
typename ErrorMessageT = Aws::String>
197 template<
typename CapacityUnitsT = CapacityUnitsConfiguration>
198 void SetCapacityUnits(CapacityUnitsT&& value) { m_capacityUnitsHasBeenSet =
true; m_capacityUnits = std::forward<CapacityUnitsT>(value); }
199 template<
typename CapacityUnitsT = CapacityUnitsConfiguration>
208 template<
typename UserTokenConfigurationsT = Aws::Vector<UserTokenConfiguration>>
209 void SetUserTokenConfigurations(UserTokenConfigurationsT&& value) { m_userTokenConfigurationsHasBeenSet =
true; m_userTokenConfigurations = std::forward<UserTokenConfigurationsT>(value); }
210 template<
typename UserTokenConfigurationsT = Aws::Vector<UserTokenConfiguration>>
212 template<
typename UserTokenConfigurationsT = UserTokenConfiguration>
232 template<
typename UserGroupResolutionConfigurationT = UserGroupResolutionConfiguration>
233 void SetUserGroupResolutionConfiguration(UserGroupResolutionConfigurationT&& value) { m_userGroupResolutionConfigurationHasBeenSet =
true; m_userGroupResolutionConfiguration = std::forward<UserGroupResolutionConfigurationT>(value); }
234 template<
typename UserGroupResolutionConfigurationT = UserGroupResolutionConfiguration>
241 template<
typename RequestIdT = Aws::String>
242 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
243 template<
typename RequestIdT = Aws::String>
249 bool m_nameHasBeenSet =
false;
252 bool m_idHasBeenSet =
false;
255 bool m_editionHasBeenSet =
false;
258 bool m_roleArnHasBeenSet =
false;
260 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
261 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
264 bool m_statusHasBeenSet =
false;
267 bool m_descriptionHasBeenSet =
false;
270 bool m_createdAtHasBeenSet =
false;
273 bool m_updatedAtHasBeenSet =
false;
276 bool m_documentMetadataConfigurationsHasBeenSet =
false;
278 IndexStatistics m_indexStatistics;
279 bool m_indexStatisticsHasBeenSet =
false;
282 bool m_errorMessageHasBeenSet =
false;
284 CapacityUnitsConfiguration m_capacityUnits;
285 bool m_capacityUnitsHasBeenSet =
false;
288 bool m_userTokenConfigurationsHasBeenSet =
false;
291 bool m_userContextPolicyHasBeenSet =
false;
293 UserGroupResolutionConfiguration m_userGroupResolutionConfiguration;
294 bool m_userGroupResolutionConfigurationHasBeenSet =
false;
297 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