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/FeaturedResultsSetStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/kendra/model/FeaturedDocument.h>
13#include <aws/kendra/model/Tag.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 FeaturedResultsSetNameT = Aws::String>
60 void SetFeaturedResultsSetName(FeaturedResultsSetNameT&& value) { m_featuredResultsSetNameHasBeenSet =
true; m_featuredResultsSetName = std::forward<FeaturedResultsSetNameT>(value); }
61 template<
typename FeaturedResultsSetNameT = 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>
85 template<
typename ClientTokenT = Aws::String>
86 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
87 template<
typename ClientTokenT = Aws::String>
116 template<
typename QueryTextsT = Aws::Vector<Aws::String>>
117 void SetQueryTexts(QueryTextsT&& value) { m_queryTextsHasBeenSet =
true; m_queryTexts = std::forward<QueryTextsT>(value); }
118 template<
typename QueryTextsT = Aws::Vector<Aws::String>>
120 template<
typename QueryTextsT = Aws::String>
132 template<
typename FeaturedDocumentsT = Aws::Vector<FeaturedDocument>>
133 void SetFeaturedDocuments(FeaturedDocumentsT&& value) { m_featuredDocumentsHasBeenSet =
true; m_featuredDocuments = std::forward<FeaturedDocumentsT>(value); }
134 template<
typename FeaturedDocumentsT = Aws::Vector<FeaturedDocument>>
136 template<
typename FeaturedDocumentsT = FeaturedDocument>
149 template<
typename TagsT = Aws::Vector<Tag>>
150 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
151 template<
typename TagsT = Aws::Vector<Tag>>
153 template<
typename TagsT = Tag>
159 bool m_indexIdHasBeenSet =
false;
162 bool m_featuredResultsSetNameHasBeenSet =
false;
165 bool m_descriptionHasBeenSet =
false;
168 bool m_clientTokenHasBeenSet =
false;
171 bool m_statusHasBeenSet =
false;
174 bool m_queryTextsHasBeenSet =
false;
177 bool m_featuredDocumentsHasBeenSet =
false;
180 bool m_tagsHasBeenSet =
false;
FeaturedResultsSetStatus GetStatus() const
CreateFeaturedResultsSetRequest & WithIndexId(IndexIdT &&value)
const Aws::Vector< FeaturedDocument > & GetFeaturedDocuments() const
bool FeaturedResultsSetNameHasBeenSet() const
CreateFeaturedResultsSetRequest & AddQueryTexts(QueryTextsT &&value)
CreateFeaturedResultsSetRequest & AddTags(TagsT &&value)
CreateFeaturedResultsSetRequest & WithClientToken(ClientTokenT &&value)
CreateFeaturedResultsSetRequest & WithTags(TagsT &&value)
CreateFeaturedResultsSetRequest & WithStatus(FeaturedResultsSetStatus value)
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetQueryTexts() const
CreateFeaturedResultsSetRequest & WithFeaturedDocuments(FeaturedDocumentsT &&value)
bool StatusHasBeenSet() const
CreateFeaturedResultsSetRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
AWS_KENDRA_API CreateFeaturedResultsSetRequest()=default
void SetIndexId(IndexIdT &&value)
void SetTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
void SetQueryTexts(QueryTextsT &&value)
bool ClientTokenHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
CreateFeaturedResultsSetRequest & AddFeaturedDocuments(FeaturedDocumentsT &&value)
bool QueryTextsHasBeenSet() const
const Aws::String & GetFeaturedResultsSetName() const
void SetFeaturedResultsSetName(FeaturedResultsSetNameT &&value)
bool IndexIdHasBeenSet() const
CreateFeaturedResultsSetRequest & WithFeaturedResultsSetName(FeaturedResultsSetNameT &&value)
const Aws::String & GetIndexId() const
void SetStatus(FeaturedResultsSetStatus value)
const Aws::String & GetClientToken() const
bool TagsHasBeenSet() const
void SetDescription(DescriptionT &&value)
CreateFeaturedResultsSetRequest & WithQueryTexts(QueryTextsT &&value)
bool FeaturedDocumentsHasBeenSet() const
AWS_KENDRA_API Aws::String SerializePayload() const override
void SetClientToken(ClientTokenT &&value)
bool DescriptionHasBeenSet() const
void SetFeaturedDocuments(FeaturedDocumentsT &&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