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/S3Path.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/kendra/model/FaqFileFormat.h>
13#include <aws/kendra/model/Tag.h>
15#include <aws/core/utils/UUID.h>
48 template<
typename IndexIdT = Aws::String>
49 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
50 template<
typename IndexIdT = Aws::String>
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
72 template<
typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
74 template<
typename DescriptionT = Aws::String>
84 template<
typename S3PathT = S3Path>
85 void SetS3Path(S3PathT&& value) { m_s3PathHasBeenSet =
true; m_s3Path = std::forward<S3PathT>(value); }
86 template<
typename S3PathT = S3Path>
99 template<
typename RoleArnT = Aws::String>
100 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
101 template<
typename RoleArnT = Aws::String>
112 template<
typename TagsT = Aws::Vector<Tag>>
113 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
114 template<
typename TagsT = Aws::Vector<Tag>>
116 template<
typename TagsT = Tag>
117 CreateFaqRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
144 template<
typename ClientTokenT = Aws::String>
145 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
146 template<
typename ClientTokenT = Aws::String>
160 template<
typename LanguageCodeT = Aws::String>
161 void SetLanguageCode(LanguageCodeT&& value) { m_languageCodeHasBeenSet =
true; m_languageCode = std::forward<LanguageCodeT>(value); }
162 template<
typename LanguageCodeT = Aws::String>
168 bool m_indexIdHasBeenSet =
false;
171 bool m_nameHasBeenSet =
false;
174 bool m_descriptionHasBeenSet =
false;
177 bool m_s3PathHasBeenSet =
false;
180 bool m_roleArnHasBeenSet =
false;
183 bool m_tagsHasBeenSet =
false;
186 bool m_fileFormatHasBeenSet =
false;
189 bool m_clientTokenHasBeenSet =
true;
192 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