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/EntityType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/crt/cbor/Cbor.h>
36 AWS_CONTEXT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename NodeIdT = Aws::String>
47 m_nodeIdHasBeenSet =
true;
48 m_nodeId = std::forward<NodeIdT>(value);
50 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>
88 m_entityTypeHasBeenSet =
true;
103 template <
typename SummaryT = Aws::String>
105 m_summaryHasBeenSet =
true;
106 m_summary = std::forward<SummaryT>(value);
108 template <
typename SummaryT = Aws::String>
122 m_scoreHasBeenSet =
true;
137 template <
typename PropertiesT = Aws::Map<Aws::String, AnyValue>>
139 m_propertiesHasBeenSet =
true;
140 m_properties = std::forward<PropertiesT>(value);
142 template <
typename PropertiesT = Aws::Map<Aws::String, AnyValue>>
147 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = AnyValue>
149 m_propertiesHasBeenSet =
true;
150 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
166 bool m_nodeIdHasBeenSet =
false;
167 bool m_edgeIdHasBeenSet =
false;
168 bool m_entityTypeHasBeenSet =
false;
169 bool m_summaryHasBeenSet =
false;
170 bool m_scoreHasBeenSet =
false;
171 bool m_propertiesHasBeenSet =
false;
const Aws::String & GetNodeId() const
SearchAgentContextResultEntity & WithEdgeId(EdgeIdT &&value)
bool ScoreHasBeenSet() const
SearchAgentContextResultEntity & WithSummary(SummaryT &&value)
void SetNodeId(NodeIdT &&value)
SearchAgentContextResultEntity & WithScore(double value)
void SetProperties(PropertiesT &&value)
const EdgeIdentifier & GetEdgeId() const
const Aws::String & GetSummary() const
void SetScore(double value)
bool EdgeIdHasBeenSet() const
AWS_CONTEXT_API SearchAgentContextResultEntity()=default
AWS_CONTEXT_API SearchAgentContextResultEntity(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool PropertiesHasBeenSet() const
void SetEntityType(EntityType value)
SearchAgentContextResultEntity & WithEntityType(EntityType value)
void SetSummary(SummaryT &&value)
void SetEdgeId(EdgeIdT &&value)
SearchAgentContextResultEntity & WithNodeId(NodeIdT &&value)
EntityType GetEntityType() const
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
SearchAgentContextResultEntity & WithProperties(PropertiesT &&value)
bool NodeIdHasBeenSet() const
SearchAgentContextResultEntity & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
AWS_CONTEXT_API SearchAgentContextResultEntity & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool EntityTypeHasBeenSet() const
bool SummaryHasBeenSet() const
const Aws::Map< Aws::String, AnyValue > & GetProperties() const
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