7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/KendraRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kendra/model/IndexEdition.h>
11#include <aws/kendra/model/ServerSideEncryptionConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/kendra/model/UserContextPolicy.h>
14#include <aws/kendra/model/UserGroupResolutionConfiguration.h>
15#include <aws/kendra/model/Tag.h>
16#include <aws/kendra/model/UserTokenConfiguration.h>
18#include <aws/core/utils/UUID.h>
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>
85 template<
typename RoleArnT = Aws::String>
86 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
87 template<
typename RoleArnT = Aws::String>
99 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
100 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { m_serverSideEncryptionConfigurationHasBeenSet =
true; m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value); }
101 template<
typename ServerS
ideEncryptionConfigurationT = ServerS
ideEncryptionConfiguration>
111 template<
typename DescriptionT = Aws::String>
112 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
113 template<
typename DescriptionT = Aws::String>
125 template<
typename ClientTokenT = Aws::String>
126 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
127 template<
typename ClientTokenT = Aws::String>
140 template<
typename TagsT = Aws::Vector<Tag>>
141 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
142 template<
typename TagsT = Aws::Vector<Tag>>
144 template<
typename TagsT = Tag>
157 template<
typename UserTokenConfigurationsT = Aws::Vector<UserTokenConfiguration>>
158 void SetUserTokenConfigurations(UserTokenConfigurationsT&& value) { m_userTokenConfigurationsHasBeenSet =
true; m_userTokenConfigurations = std::forward<UserTokenConfigurationsT>(value); }
159 template<
typename UserTokenConfigurationsT = Aws::Vector<UserTokenConfiguration>>
161 template<
typename UserTokenConfigurationsT = UserTokenConfiguration>
200 template<
typename UserGroupResolutionConfigurationT = UserGroupResolutionConfiguration>
201 void SetUserGroupResolutionConfiguration(UserGroupResolutionConfigurationT&& value) { m_userGroupResolutionConfigurationHasBeenSet =
true; m_userGroupResolutionConfiguration = std::forward<UserGroupResolutionConfigurationT>(value); }
202 template<
typename UserGroupResolutionConfigurationT = UserGroupResolutionConfiguration>
208 bool m_nameHasBeenSet =
false;
211 bool m_editionHasBeenSet =
false;
214 bool m_roleArnHasBeenSet =
false;
216 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
217 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
220 bool m_descriptionHasBeenSet =
false;
223 bool m_clientTokenHasBeenSet =
true;
226 bool m_tagsHasBeenSet =
false;
229 bool m_userTokenConfigurationsHasBeenSet =
false;
232 bool m_userContextPolicyHasBeenSet =
false;
234 UserGroupResolutionConfiguration m_userGroupResolutionConfiguration;
235 bool m_userGroupResolutionConfigurationHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
void SetClientToken(ClientTokenT &&value)
CreateIndexRequest & WithUserContextPolicy(UserContextPolicy value)
AWS_KENDRA_API CreateIndexRequest()=default
bool NameHasBeenSet() const
void SetUserTokenConfigurations(UserTokenConfigurationsT &&value)
IndexEdition GetEdition() const
CreateIndexRequest & WithEdition(IndexEdition value)
bool UserContextPolicyHasBeenSet() const
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateIndexRequest & WithDescription(DescriptionT &&value)
bool EditionHasBeenSet() const
CreateIndexRequest & WithUserGroupResolutionConfiguration(UserGroupResolutionConfigurationT &&value)
bool RoleArnHasBeenSet() const
CreateIndexRequest & WithUserTokenConfigurations(UserTokenConfigurationsT &&value)
void SetTags(TagsT &&value)
void SetName(NameT &&value)
CreateIndexRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetName() const
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
bool UserTokenConfigurationsHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
const Aws::String & GetRoleArn() const
CreateIndexRequest & AddTags(TagsT &&value)
bool ServerSideEncryptionConfigurationHasBeenSet() const
const Aws::Vector< UserTokenConfiguration > & GetUserTokenConfigurations() const
CreateIndexRequest & WithTags(TagsT &&value)
void SetUserContextPolicy(UserContextPolicy value)
CreateIndexRequest & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UserContextPolicy GetUserContextPolicy() const
void SetRoleArn(RoleArnT &&value)
bool UserGroupResolutionConfigurationHasBeenSet() const
const UserGroupResolutionConfiguration & GetUserGroupResolutionConfiguration() const
const Aws::String & GetDescription() const
CreateIndexRequest & AddUserTokenConfigurations(UserTokenConfigurationsT &&value)
bool ClientTokenHasBeenSet() const
CreateIndexRequest & WithRoleArn(RoleArnT &&value)
AWS_KENDRA_API Aws::String SerializePayload() const override
void SetUserGroupResolutionConfiguration(UserGroupResolutionConfigurationT &&value)
CreateIndexRequest & WithName(NameT &&value)
void SetEdition(IndexEdition value)
const Aws::String & GetClientToken() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector