7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/AnyValue.h>
9#include <aws/context/model/PathEdge.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/crt/cbor/Cbor.h>
36 AWS_CONTEXT_API
NeighborNode(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_CONTEXT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 template <
typename NodeIdT = Aws::String>
48 m_nodeIdHasBeenSet =
true;
49 m_nodeId = std::forward<NodeIdT>(value);
51 template <
typename NodeIdT = Aws::String>
64 template <
typename PropertiesT = Aws::Map<Aws::String, AnyValue>>
66 m_propertiesHasBeenSet =
true;
67 m_properties = std::forward<PropertiesT>(value);
69 template <
typename PropertiesT = Aws::Map<Aws::String, AnyValue>>
74 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = AnyValue>
76 m_propertiesHasBeenSet =
true;
77 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
87 inline int64_t
GetDepth()
const {
return m_depth; }
90 m_depthHasBeenSet =
true;
106 template <
typename PathEdgesT = Aws::Vector<PathEdge>>
108 m_pathEdgesHasBeenSet =
true;
109 m_pathEdges = std::forward<PathEdgesT>(value);
111 template <
typename PathEdgesT = Aws::Vector<PathEdge>>
116 template <
typename PathEdgesT = PathEdge>
118 m_pathEdgesHasBeenSet =
true;
119 m_pathEdges.emplace_back(std::forward<PathEdgesT>(value));
131 bool m_nodeIdHasBeenSet =
false;
132 bool m_propertiesHasBeenSet =
false;
133 bool m_depthHasBeenSet =
false;
134 bool m_pathEdgesHasBeenSet =
false;
void SetDepth(int64_t value)
bool DepthHasBeenSet() const
NeighborNode & AddPathEdges(PathEdgesT &&value)
void SetNodeId(NodeIdT &&value)
AWS_CONTEXT_API NeighborNode(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Vector< PathEdge > & GetPathEdges() const
NeighborNode & WithNodeId(NodeIdT &&value)
NeighborNode & WithProperties(PropertiesT &&value)
void SetPathEdges(PathEdgesT &&value)
bool PathEdgesHasBeenSet() const
AWS_CONTEXT_API NeighborNode()=default
void SetProperties(PropertiesT &&value)
AWS_CONTEXT_API NeighborNode & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool PropertiesHasBeenSet() const
bool NodeIdHasBeenSet() const
NeighborNode & WithPathEdges(PathEdgesT &&value)
NeighborNode & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
const Aws::String & GetNodeId() const
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
NeighborNode & WithDepth(int64_t value)
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
std::vector< T, Aws::Allocator< T > > Vector