AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
EntityPersonaConfiguration.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kendra/model/Persona.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace kendra
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_KENDRA_API EntityPersonaConfiguration() = default;
41 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetEntityId() const { return m_entityId; }
50 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
51 template<typename EntityIdT = Aws::String>
52 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
53 template<typename EntityIdT = Aws::String>
54 EntityPersonaConfiguration& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
56
58
66 inline Persona GetPersona() const { return m_persona; }
67 inline bool PersonaHasBeenSet() const { return m_personaHasBeenSet; }
68 inline void SetPersona(Persona value) { m_personaHasBeenSet = true; m_persona = value; }
69 inline EntityPersonaConfiguration& WithPersona(Persona value) { SetPersona(value); return *this;}
71 private:
72
73 Aws::String m_entityId;
74 bool m_entityIdHasBeenSet = false;
75
76 Persona m_persona{Persona::NOT_SET};
77 bool m_personaHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace kendra
82} // namespace Aws
EntityPersonaConfiguration & WithPersona(Persona value)
AWS_KENDRA_API EntityPersonaConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API EntityPersonaConfiguration(Aws::Utils::Json::JsonView jsonValue)
EntityPersonaConfiguration & WithEntityId(EntityIdT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KENDRA_API EntityPersonaConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue