AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
PersonasSummary.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 <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace kendra
24{
25namespace Model
26{
27
40 {
41 public:
42 AWS_KENDRA_API PersonasSummary() = default;
45 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::String& GetEntityId() const { return m_entityId; }
54 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
55 template<typename EntityIdT = Aws::String>
56 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
57 template<typename EntityIdT = Aws::String>
58 PersonasSummary& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
60
62
70 inline Persona GetPersona() const { return m_persona; }
71 inline bool PersonaHasBeenSet() const { return m_personaHasBeenSet; }
72 inline void SetPersona(Persona value) { m_personaHasBeenSet = true; m_persona = value; }
73 inline PersonasSummary& WithPersona(Persona value) { SetPersona(value); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
81 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
82 template<typename CreatedAtT = Aws::Utils::DateTime>
83 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
84 template<typename CreatedAtT = Aws::Utils::DateTime>
85 PersonasSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
93 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
94 template<typename UpdatedAtT = Aws::Utils::DateTime>
95 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
96 template<typename UpdatedAtT = Aws::Utils::DateTime>
97 PersonasSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
99 private:
100
101 Aws::String m_entityId;
102 bool m_entityIdHasBeenSet = false;
103
104 Persona m_persona{Persona::NOT_SET};
105 bool m_personaHasBeenSet = false;
106
107 Aws::Utils::DateTime m_createdAt{};
108 bool m_createdAtHasBeenSet = false;
109
110 Aws::Utils::DateTime m_updatedAt{};
111 bool m_updatedAtHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace kendra
116} // namespace Aws
PersonasSummary & WithEntityId(EntityIdT &&value)
const Aws::String & GetEntityId() const
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(CreatedAtT &&value)
PersonasSummary & WithCreatedAt(CreatedAtT &&value)
AWS_KENDRA_API PersonasSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API PersonasSummary()=default
void SetUpdatedAt(UpdatedAtT &&value)
PersonasSummary & WithUpdatedAt(UpdatedAtT &&value)
void SetEntityId(EntityIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
PersonasSummary & WithPersona(Persona value)
AWS_KENDRA_API PersonasSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue