AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
EntityPersonaConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9#include <aws/kendra/model/Persona.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace kendra {
21namespace Model {
22
32 public:
33 AWS_KENDRA_API EntityPersonaConfiguration() = default;
36 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetEntityId() const { return m_entityId; }
44 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
45 template <typename EntityIdT = Aws::String>
46 void SetEntityId(EntityIdT&& value) {
47 m_entityIdHasBeenSet = true;
48 m_entityId = std::forward<EntityIdT>(value);
49 }
50 template <typename EntityIdT = Aws::String>
52 SetEntityId(std::forward<EntityIdT>(value));
53 return *this;
54 }
56
58
66 inline Persona GetPersona() const { return m_persona; }
67 inline bool PersonaHasBeenSet() const { return m_personaHasBeenSet; }
68 inline void SetPersona(Persona value) {
69 m_personaHasBeenSet = true;
70 m_persona = value;
71 }
73 SetPersona(value);
74 return *this;
75 }
77 private:
78 Aws::String m_entityId;
79
80 Persona m_persona{Persona::NOT_SET};
81 bool m_entityIdHasBeenSet = false;
82 bool m_personaHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace kendra
87} // 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