7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/AnyValue.h>
9#include <aws/context/model/EdgeIdentifier.h>
10#include <aws/context/model/RetrievedContextContent.h>
11#include <aws/context/model/RetrievedContextEntityType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/crt/cbor/Cbor.h>
36 AWS_CONTEXT_API
RetrievedContext(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_CONTEXT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
47 template <
typename NodeIdT = Aws::String>
49 m_nodeIdHasBeenSet =
true;
50 m_nodeId = std::forward<NodeIdT>(value);
52 template <
typename NodeIdT = Aws::String>
66 template <
typename EdgeIdT = EdgeIdentifier>
68 m_edgeIdHasBeenSet =
true;
69 m_edgeId = std::forward<EdgeIdT>(value);
71 template <
typename EdgeIdT = EdgeIdentifier>
85 template <
typename DocumentIdT = Aws::String>
87 m_documentIdHasBeenSet =
true;
88 m_documentId = std::forward<DocumentIdT>(value);
90 template <
typename DocumentIdT = Aws::String>
107 m_entityTypeHasBeenSet =
true;
108 m_entityType = value;
122 template <
typename SummaryT = Aws::String>
124 m_summaryHasBeenSet =
true;
125 m_summary = std::forward<SummaryT>(value);
127 template <
typename SummaryT = Aws::String>
140 template <
typename ContentT = RetrievedContextContent>
142 m_contentHasBeenSet =
true;
143 m_content = std::forward<ContentT>(value);
145 template <
typename ContentT = RetrievedContextContent>
158 template <
typename PropertiesT = Aws::Map<Aws::String, AnyValue>>
160 m_propertiesHasBeenSet =
true;
161 m_properties = std::forward<PropertiesT>(value);
163 template <
typename PropertiesT = Aws::Map<Aws::String, AnyValue>>
168 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = AnyValue>
170 m_propertiesHasBeenSet =
true;
171 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
186 RetrievedContextContent m_content;
189 bool m_nodeIdHasBeenSet =
false;
190 bool m_edgeIdHasBeenSet =
false;
191 bool m_documentIdHasBeenSet =
false;
192 bool m_entityTypeHasBeenSet =
false;
193 bool m_summaryHasBeenSet =
false;
194 bool m_contentHasBeenSet =
false;
195 bool m_propertiesHasBeenSet =
false;
void SetSummary(SummaryT &&value)
void SetNodeId(NodeIdT &&value)
const RetrievedContextContent & GetContent() const
AWS_CONTEXT_API RetrievedContext(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
RetrievedContext & WithSummary(SummaryT &&value)
const Aws::String & GetDocumentId() const
void SetEdgeId(EdgeIdT &&value)
void SetDocumentId(DocumentIdT &&value)
RetrievedContext & WithProperties(PropertiesT &&value)
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetContent(ContentT &&value)
const Aws::String & GetSummary() const
bool PropertiesHasBeenSet() const
const Aws::String & GetNodeId() const
bool SummaryHasBeenSet() const
bool NodeIdHasBeenSet() const
void SetProperties(PropertiesT &&value)
const EdgeIdentifier & GetEdgeId() const
bool EdgeIdHasBeenSet() const
bool ContentHasBeenSet() const
void SetEntityType(RetrievedContextEntityType value)
RetrievedContextEntityType GetEntityType() const
AWS_CONTEXT_API RetrievedContext & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CONTEXT_API RetrievedContext()=default
RetrievedContext & WithEdgeId(EdgeIdT &&value)
RetrievedContext & WithEntityType(RetrievedContextEntityType value)
RetrievedContext & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
const Aws::Map< Aws::String, AnyValue > & GetProperties() const
bool DocumentIdHasBeenSet() const
RetrievedContext & WithContent(ContentT &&value)
bool EntityTypeHasBeenSet() const
RetrievedContext & WithDocumentId(DocumentIdT &&value)
RetrievedContext & WithNodeId(NodeIdT &&value)
RetrievedContextEntityType
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String