7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kendra/KendraRequest.h>
11#include <aws/kendra/Kendra_EXPORTS.h>
12#include <aws/kendra/model/FaqFileFormat.h>
13#include <aws/kendra/model/S3Path.h>
14#include <aws/kendra/model/Tag.h>
44 template <
typename IndexIdT = Aws::String>
46 m_indexIdHasBeenSet =
true;
47 m_indexId = std::forward<IndexIdT>(value);
49 template <
typename IndexIdT = Aws::String>
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
80 template <
typename DescriptionT = Aws::String>
82 m_descriptionHasBeenSet =
true;
83 m_description = std::forward<DescriptionT>(value);
85 template <
typename DescriptionT = Aws::String>
98 template <
typename S3PathT = S3Path>
100 m_s3PathHasBeenSet =
true;
101 m_s3Path = std::forward<S3PathT>(value);
103 template <
typename S3PathT = S3Path>
119 template <
typename RoleArnT = Aws::String>
121 m_roleArnHasBeenSet =
true;
122 m_roleArn = std::forward<RoleArnT>(value);
124 template <
typename RoleArnT = Aws::String>
138 template <
typename TagsT = Aws::Vector<Tag>>
140 m_tagsHasBeenSet =
true;
141 m_tags = std::forward<TagsT>(value);
143 template <
typename TagsT = Aws::Vector<Tag>>
145 SetTags(std::forward<TagsT>(value));
148 template <
typename TagsT = Tag>
150 m_tagsHasBeenSet =
true;
151 m_tags.emplace_back(std::forward<TagsT>(value));
169 m_fileFormatHasBeenSet =
true;
170 m_fileFormat = value;
186 template <
typename ClientTokenT = Aws::String>
188 m_clientTokenHasBeenSet =
true;
189 m_clientToken = std::forward<ClientTokenT>(value);
191 template <
typename ClientTokenT = Aws::String>
208 template <
typename LanguageCodeT = Aws::String>
210 m_languageCodeHasBeenSet =
true;
211 m_languageCode = std::forward<LanguageCodeT>(value);
213 template <
typename LanguageCodeT = Aws::String>
237 bool m_indexIdHasBeenSet =
false;
238 bool m_nameHasBeenSet =
false;
239 bool m_descriptionHasBeenSet =
false;
240 bool m_s3PathHasBeenSet =
false;
241 bool m_roleArnHasBeenSet =
false;
242 bool m_tagsHasBeenSet =
false;
243 bool m_fileFormatHasBeenSet =
false;
244 bool m_clientTokenHasBeenSet =
true;
245 bool m_languageCodeHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
void SetLanguageCode(LanguageCodeT &&value)
const Aws::String & GetLanguageCode() const
bool IndexIdHasBeenSet() const
AWS_KENDRA_API CreateFaqRequest()=default
const Aws::Vector< Tag > & GetTags() const
CreateFaqRequest & AddTags(TagsT &&value)
const Aws::String & GetIndexId() const
CreateFaqRequest & WithDescription(DescriptionT &&value)
CreateFaqRequest & WithName(NameT &&value)
bool RoleArnHasBeenSet() const
CreateFaqRequest & WithLanguageCode(LanguageCodeT &&value)
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateFaqRequest & WithTags(TagsT &&value)
void SetRoleArn(RoleArnT &&value)
const Aws::String & GetClientToken() const
CreateFaqRequest & WithRoleArn(RoleArnT &&value)
const S3Path & GetS3Path() const
bool S3PathHasBeenSet() const
const Aws::String & GetDescription() const
bool TagsHasBeenSet() const
bool FileFormatHasBeenSet() const
FaqFileFormat GetFileFormat() const
CreateFaqRequest & WithS3Path(S3PathT &&value)
const Aws::String & GetName() const
CreateFaqRequest & WithIndexId(IndexIdT &&value)
bool NameHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
CreateFaqRequest & WithFileFormat(FaqFileFormat value)
void SetDescription(DescriptionT &&value)
void SetIndexId(IndexIdT &&value)
virtual const char * GetServiceRequestName() const override
void SetS3Path(S3PathT &&value)
bool ClientTokenHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetRoleArn() const
AWS_KENDRA_API Aws::String SerializePayload() const override
bool LanguageCodeHasBeenSet() const
CreateFaqRequest & WithClientToken(ClientTokenT &&value)
void SetTags(TagsT &&value)
void SetName(NameT &&value)
void SetFileFormat(FaqFileFormat value)
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