AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FeaturedDocumentWithMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace kendra {
20namespace Model {
21
31 public:
32 AWS_KENDRA_API FeaturedDocumentWithMetadata() = default;
35 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline const Aws::String& GetId() const { return m_id; }
45 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 template <typename IdT = Aws::String>
47 void SetId(IdT&& value) {
48 m_idHasBeenSet = true;
49 m_id = std::forward<IdT>(value);
50 }
51 template <typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetTitle() const { return m_title; }
63 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
64 template <typename TitleT = Aws::String>
65 void SetTitle(TitleT&& value) {
66 m_titleHasBeenSet = true;
67 m_title = std::forward<TitleT>(value);
68 }
69 template <typename TitleT = Aws::String>
71 SetTitle(std::forward<TitleT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetURI() const { return m_uRI; }
81 inline bool URIHasBeenSet() const { return m_uRIHasBeenSet; }
82 template <typename URIT = Aws::String>
83 void SetURI(URIT&& value) {
84 m_uRIHasBeenSet = true;
85 m_uRI = std::forward<URIT>(value);
86 }
87 template <typename URIT = Aws::String>
89 SetURI(std::forward<URIT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_id;
95
96 Aws::String m_title;
97
98 Aws::String m_uRI;
99 bool m_idHasBeenSet = false;
100 bool m_titleHasBeenSet = false;
101 bool m_uRIHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace kendra
106} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue