7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/Edge.h>
9#include <aws/cloudwatchomni/model/Metadata.h>
10#include <aws/cloudwatchomni/model/NodeProperties.h>
11#include <aws/cloudwatchomni/model/NodeType.h>
12#include <aws/cloudwatchomni/model/Signal.h>
13#include <aws/cloudwatchomni/model/Source.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18#include <aws/crt/cbor/Cbor.h>
28namespace CloudWatchOmni {
39 AWS_CLOUDWATCHOMNI_API
Node() =
default;
40 AWS_CLOUDWATCHOMNI_API
Node(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
41 AWS_CLOUDWATCHOMNI_API
Node&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
42 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
50 template <
typename NodeIdT = Aws::String>
52 m_nodeIdHasBeenSet =
true;
53 m_nodeId = std::forward<NodeIdT>(value);
55 template <
typename NodeIdT = Aws::String>
69 m_nodeTypeHasBeenSet =
true;
84 template <
typename NameT = Aws::String>
86 m_nameHasBeenSet =
true;
87 m_name = std::forward<NameT>(value);
89 template <
typename NameT = Aws::String>
91 SetName(std::forward<NameT>(value));
104 template <
typename AlternateNamesT = Aws::Vector<Aws::String>>
106 m_alternateNamesHasBeenSet =
true;
107 m_alternateNames = std::forward<AlternateNamesT>(value);
109 template <
typename AlternateNamesT = Aws::Vector<Aws::String>>
114 template <
typename AlternateNamesT = Aws::String>
116 m_alternateNamesHasBeenSet =
true;
117 m_alternateNames.emplace_back(std::forward<AlternateNamesT>(value));
128 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 m_tagsHasBeenSet =
true;
131 m_tags = std::forward<TagsT>(value);
133 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 SetTags(std::forward<TagsT>(value));
138 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
140 m_tagsHasBeenSet =
true;
141 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
153 template <
typename NodePropertiesT = NodeProperties>
155 m_nodePropertiesHasBeenSet =
true;
156 m_nodeProperties = std::forward<NodePropertiesT>(value);
158 template <
typename NodePropertiesT = NodeProperties>
174 template <
typename TelemetryAttributesT = Aws::Map<Aws::String, Aws::String>>
176 m_telemetryAttributesHasBeenSet =
true;
177 m_telemetryAttributes = std::forward<TelemetryAttributesT>(value);
179 template <
typename TelemetryAttributesT = Aws::Map<Aws::String, Aws::String>>
184 template <
typename TelemetryAttributesKeyT = Aws::String,
typename TelemetryAttributesValueT = Aws::String>
186 m_telemetryAttributesHasBeenSet =
true;
187 m_telemetryAttributes.emplace(std::forward<TelemetryAttributesKeyT>(key), std::forward<TelemetryAttributesValueT>(value));
198 return m_operationDetails;
201 template <
typename OperationDetailsT = Aws::Map<Aws::String, Aws::Vector<Aws::Map<Aws::String, Aws::String>>>>
203 m_operationDetailsHasBeenSet =
true;
204 m_operationDetails = std::forward<OperationDetailsT>(value);
206 template <
typename OperationDetailsT = Aws::Map<Aws::String, Aws::Vector<Aws::Map<Aws::String, Aws::String>>>>
211 template <
typename OperationDetailsKeyT = Aws::String,
typename OperationDetailsValueT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
213 m_operationDetailsHasBeenSet =
true;
214 m_operationDetails.emplace(std::forward<OperationDetailsKeyT>(key), std::forward<OperationDetailsValueT>(value));
225 template <
typename SignalTypesT = Aws::Vector<Signal>>
227 m_signalTypesHasBeenSet =
true;
228 m_signalTypes = std::forward<SignalTypesT>(value);
230 template <
typename SignalTypesT = Aws::Vector<Signal>>
236 m_signalTypesHasBeenSet =
true;
237 m_signalTypes.push_back(value);
248 template <
typename SourcesT = Aws::Vector<Source>>
250 m_sourcesHasBeenSet =
true;
251 m_sources = std::forward<SourcesT>(value);
253 template <
typename SourcesT = Aws::Vector<Source>>
259 m_sourcesHasBeenSet =
true;
260 m_sources.push_back(value);
272 template <
typename MetadataT = Metadata>
274 m_metadataHasBeenSet =
true;
275 m_metadata = std::forward<MetadataT>(value);
277 template <
typename MetadataT = Metadata>
291 template <
typename FirstObservedAtT = Aws::Utils::DateTime>
293 m_firstObservedAtHasBeenSet =
true;
294 m_firstObservedAt = std::forward<FirstObservedAtT>(value);
296 template <
typename FirstObservedAtT = Aws::Utils::DateTime>
311 template <
typename LastObservedAtT = Aws::Utils::DateTime>
313 m_lastObservedAtHasBeenSet =
true;
314 m_lastObservedAt = std::forward<LastObservedAtT>(value);
316 template <
typename LastObservedAtT = Aws::Utils::DateTime>
330 template <
typename EdgesT = Aws::Vector<Edge>>
332 m_edgesHasBeenSet =
true;
333 m_edges = std::forward<EdgesT>(value);
335 template <
typename EdgesT = Aws::Vector<Edge>>
337 SetEdges(std::forward<EdgesT>(value));
340 template <
typename EdgesT = Edge>
342 m_edgesHasBeenSet =
true;
343 m_edges.emplace_back(std::forward<EdgesT>(value));
358 NodeProperties m_nodeProperties;
375 bool m_nodeIdHasBeenSet =
false;
376 bool m_nodeTypeHasBeenSet =
false;
377 bool m_nameHasBeenSet =
false;
378 bool m_alternateNamesHasBeenSet =
false;
379 bool m_tagsHasBeenSet =
false;
380 bool m_nodePropertiesHasBeenSet =
false;
381 bool m_telemetryAttributesHasBeenSet =
false;
382 bool m_operationDetailsHasBeenSet =
false;
383 bool m_signalTypesHasBeenSet =
false;
384 bool m_sourcesHasBeenSet =
false;
385 bool m_metadataHasBeenSet =
false;
386 bool m_firstObservedAtHasBeenSet =
false;
387 bool m_lastObservedAtHasBeenSet =
false;
388 bool m_edgesHasBeenSet =
false;
Node & AddSignalTypes(Signal value)
const Aws::Map< Aws::String, Aws::Vector< Aws::Map< Aws::String, Aws::String > > > & GetOperationDetails() const
AWS_CLOUDWATCHOMNI_API Node(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Node & WithSources(SourcesT &&value)
bool NodeIdHasBeenSet() const
void SetAlternateNames(AlternateNamesT &&value)
bool LastObservedAtHasBeenSet() const
bool TelemetryAttributesHasBeenSet() const
void SetName(NameT &&value)
bool SourcesHasBeenSet() const
Node & WithName(NameT &&value)
Node & WithSignalTypes(SignalTypesT &&value)
Node & WithAlternateNames(AlternateNamesT &&value)
Node & WithNodeType(NodeType value)
void SetNodeId(NodeIdT &&value)
Node & AddAlternateNames(AlternateNamesT &&value)
void SetSources(SourcesT &&value)
void SetTags(TagsT &&value)
bool EdgesHasBeenSet() const
Node & AddOperationDetails(OperationDetailsKeyT &&key, OperationDetailsValueT &&value)
Node & WithLastObservedAt(LastObservedAtT &&value)
void SetFirstObservedAt(FirstObservedAtT &&value)
const Aws::Vector< Edge > & GetEdges() const
void SetNodeProperties(NodePropertiesT &&value)
AWS_CLOUDWATCHOMNI_API Node & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetFirstObservedAt() const
const Aws::String & GetNodeId() const
void SetLastObservedAt(LastObservedAtT &&value)
Node & WithOperationDetails(OperationDetailsT &&value)
void SetEdges(EdgesT &&value)
Node & AddEdges(EdgesT &&value)
bool MetadataHasBeenSet() const
bool NameHasBeenSet() const
bool NodeTypeHasBeenSet() const
Node & WithEdges(EdgesT &&value)
bool AlternateNamesHasBeenSet() const
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CLOUDWATCHOMNI_API Node()=default
bool OperationDetailsHasBeenSet() const
const Aws::Vector< Source > & GetSources() const
const Aws::Utils::DateTime & GetLastObservedAt() const
Node & WithTags(TagsT &&value)
Node & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool FirstObservedAtHasBeenSet() const
void SetOperationDetails(OperationDetailsT &&value)
Node & WithTelemetryAttributes(TelemetryAttributesT &&value)
const Metadata & GetMetadata() const
void SetSignalTypes(SignalTypesT &&value)
bool TagsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTelemetryAttributes() const
Node & AddSources(Source value)
void SetTelemetryAttributes(TelemetryAttributesT &&value)
NodeType GetNodeType() const
bool NodePropertiesHasBeenSet() const
const Aws::Vector< Aws::String > & GetAlternateNames() const
bool SignalTypesHasBeenSet() const
Node & WithNodeProperties(NodePropertiesT &&value)
const Aws::Vector< Signal > & GetSignalTypes() const
const NodeProperties & GetNodeProperties() const
Node & WithNodeId(NodeIdT &&value)
Node & WithMetadata(MetadataT &&value)
Node & AddTelemetryAttributes(TelemetryAttributesKeyT &&key, TelemetryAttributesValueT &&value)
Node & WithFirstObservedAt(FirstObservedAtT &&value)
void SetMetadata(MetadataT &&value)
void SetNodeType(NodeType value)
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