7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/KendraRequest.h>
10#include <aws/kendra/Kendra_EXPORTS.h>
11#include <aws/kendra/model/EntityPersonaConfiguration.h>
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
59 template <
typename IndexIdT = Aws::String>
61 m_indexIdHasBeenSet =
true;
62 m_indexId = std::forward<IndexIdT>(value);
64 template <
typename IndexIdT = Aws::String>
82 template <
typename PersonasT = Aws::Vector<EntityPersonaConfiguration>>
84 m_personasHasBeenSet =
true;
85 m_personas = std::forward<PersonasT>(value);
87 template <
typename PersonasT = Aws::Vector<EntityPersonaConfiguration>>
92 template <
typename PersonasT = EntityPersonaConfiguration>
94 m_personasHasBeenSet =
true;
95 m_personas.emplace_back(std::forward<PersonasT>(value));
101 bool m_idHasBeenSet =
false;
104 bool m_indexIdHasBeenSet =
false;
107 bool m_personasHasBeenSet =
false;
AssociatePersonasToEntitiesRequest & WithIndexId(IndexIdT &&value)
const Aws::Vector< EntityPersonaConfiguration > & GetPersonas() const
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool IndexIdHasBeenSet() const
AssociatePersonasToEntitiesRequest & AddPersonas(PersonasT &&value)
virtual const char * GetServiceRequestName() const override
AssociatePersonasToEntitiesRequest & WithPersonas(PersonasT &&value)
void SetPersonas(PersonasT &&value)
AWS_KENDRA_API AssociatePersonasToEntitiesRequest()=default
const Aws::String & GetIndexId() const
void SetIndexId(IndexIdT &&value)
AssociatePersonasToEntitiesRequest & WithId(IdT &&value)
const Aws::String & GetId() const
bool PersonasHasBeenSet() const
AWS_KENDRA_API Aws::String SerializePayload() const override
bool IdHasBeenSet() 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