AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
EntityConfiguration.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/EntityType.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
35 {
36 public:
37 AWS_KENDRA_API EntityConfiguration() = default;
40 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetEntityId() const { return m_entityId; }
49 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
50 template<typename EntityIdT = Aws::String>
51 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
52 template<typename EntityIdT = Aws::String>
53 EntityConfiguration& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
55
57
61 inline EntityType GetEntityType() const { return m_entityType; }
62 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
63 inline void SetEntityType(EntityType value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
64 inline EntityConfiguration& WithEntityType(EntityType value) { SetEntityType(value); return *this;}
66 private:
67
68 Aws::String m_entityId;
69 bool m_entityIdHasBeenSet = false;
70
71 EntityType m_entityType{EntityType::NOT_SET};
72 bool m_entityTypeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace kendra
77} // namespace Aws
AWS_KENDRA_API EntityConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KENDRA_API EntityConfiguration()=default
AWS_KENDRA_API EntityConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityConfiguration & WithEntityType(EntityType value)
EntityConfiguration & WithEntityId(EntityIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue