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/ExperienceConfiguration.h>
12#include <aws/core/utils/UUID.h>
45 template<
typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
47 template<
typename NameT = 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>
74 template<
typename RoleArnT = Aws::String>
75 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
76 template<
typename RoleArnT = Aws::String>
89 template<
typename ConfigurationT = ExperienceConfiguration>
90 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
91 template<
typename ConfigurationT = ExperienceConfiguration>
101 template<
typename DescriptionT = Aws::String>
102 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
103 template<
typename DescriptionT = Aws::String>
115 template<
typename ClientTokenT = Aws::String>
116 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
117 template<
typename ClientTokenT = Aws::String>
123 bool m_nameHasBeenSet =
false;
126 bool m_indexIdHasBeenSet =
false;
129 bool m_roleArnHasBeenSet =
false;
132 bool m_configurationHasBeenSet =
false;
135 bool m_descriptionHasBeenSet =
false;
138 bool m_clientTokenHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
void SetIndexId(IndexIdT &&value)
void SetName(NameT &&value)
CreateExperienceRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
bool NameHasBeenSet() const
CreateExperienceRequest & WithConfiguration(ConfigurationT &&value)
CreateExperienceRequest & WithClientToken(ClientTokenT &&value)
void SetRoleArn(RoleArnT &&value)
CreateExperienceRequest & WithIndexId(IndexIdT &&value)
bool ConfigurationHasBeenSet() const
AWS_KENDRA_API CreateExperienceRequest()=default
CreateExperienceRequest & WithRoleArn(RoleArnT &&value)
const Aws::String & GetIndexId() const
void SetClientToken(ClientTokenT &&value)
AWS_KENDRA_API Aws::String SerializePayload() const override
bool RoleArnHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const ExperienceConfiguration & GetConfiguration() const
bool IndexIdHasBeenSet() const
CreateExperienceRequest & WithName(NameT &&value)
const Aws::String & GetDescription() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetRoleArn() const
void SetConfiguration(ConfigurationT &&value)
const Aws::String & GetClientToken() const
bool DescriptionHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String