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/core/utils/memory/stl/AWSVector.h>
11#include <aws/kendra/model/S3Path.h>
12#include <aws/kendra/model/Tag.h>
14#include <aws/core/utils/UUID.h>
47 template<
typename IndexIdT = Aws::String>
48 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
49 template<
typename IndexIdT = Aws::String>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
71 template<
typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
73 template<
typename DescriptionT = Aws::String>
86 template<
typename RoleArnT = Aws::String>
87 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
88 template<
typename RoleArnT = Aws::String>
101 template<
typename TagsT = Aws::Vector<Tag>>
102 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
103 template<
typename TagsT = Aws::Vector<Tag>>
105 template<
typename TagsT = Tag>
115 template<
typename SourceS3PathT = S3Path>
116 void SetSourceS3Path(SourceS3PathT&& value) { m_sourceS3PathHasBeenSet =
true; m_sourceS3Path = std::forward<SourceS3PathT>(value); }
117 template<
typename SourceS3PathT = S3Path>
129 template<
typename ClientTokenT = Aws::String>
130 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
131 template<
typename ClientTokenT = Aws::String>
137 bool m_indexIdHasBeenSet =
false;
140 bool m_nameHasBeenSet =
false;
143 bool m_descriptionHasBeenSet =
false;
146 bool m_roleArnHasBeenSet =
false;
149 bool m_tagsHasBeenSet =
false;
152 bool m_sourceS3PathHasBeenSet =
false;
155 bool m_clientTokenHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
virtual const char * GetServiceRequestName() const override
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetRoleArn() const
CreateThesaurusRequest & AddTags(TagsT &&value)
void SetTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetDescription() const
const Aws::String & GetIndexId() const
void SetIndexId(IndexIdT &&value)
CreateThesaurusRequest & WithName(NameT &&value)
bool SourceS3PathHasBeenSet() const
bool IndexIdHasBeenSet() const
const Aws::String & GetClientToken() const
void SetClientToken(ClientTokenT &&value)
CreateThesaurusRequest & WithSourceS3Path(SourceS3PathT &&value)
bool NameHasBeenSet() const
CreateThesaurusRequest & WithIndexId(IndexIdT &&value)
CreateThesaurusRequest & WithTags(TagsT &&value)
AWS_KENDRA_API Aws::String SerializePayload() const override
CreateThesaurusRequest & WithRoleArn(RoleArnT &&value)
CreateThesaurusRequest & WithDescription(DescriptionT &&value)
void SetRoleArn(RoleArnT &&value)
const S3Path & GetSourceS3Path() const
AWS_KENDRA_API CreateThesaurusRequest()=default
bool TagsHasBeenSet() const
const Aws::String & GetName() const
CreateThesaurusRequest & WithClientToken(ClientTokenT &&value)
bool RoleArnHasBeenSet() const
void SetName(NameT &&value)
bool ClientTokenHasBeenSet() const
void SetSourceS3Path(SourceS3PathT &&value)
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() 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