7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/EdgeProperties.h>
9#include <aws/cloudwatchomni/model/EdgeType.h>
10#include <aws/cloudwatchomni/model/Metadata.h>
11#include <aws/cloudwatchomni/model/Signal.h>
12#include <aws/cloudwatchomni/model/Source.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
17#include <aws/crt/cbor/Cbor.h>
27namespace CloudWatchOmni {
38 AWS_CLOUDWATCHOMNI_API
Edge() =
default;
39 AWS_CLOUDWATCHOMNI_API
Edge(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
40 AWS_CLOUDWATCHOMNI_API
Edge&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
41 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
49 template <
typename EdgeIdT = Aws::String>
51 m_edgeIdHasBeenSet =
true;
52 m_edgeId = std::forward<EdgeIdT>(value);
54 template <
typename EdgeIdT = Aws::String>
67 template <
typename FromT = Aws::String>
69 m_fromHasBeenSet =
true;
70 m_from = std::forward<FromT>(value);
72 template <
typename FromT = Aws::String>
74 SetFrom(std::forward<FromT>(value));
85 template <
typename ToT = Aws::String>
87 m_toHasBeenSet =
true;
88 m_to = std::forward<ToT>(value);
90 template <
typename ToT = Aws::String>
92 SetTo(std::forward<ToT>(value));
104 m_edgeTypeHasBeenSet =
true;
119 template <
typename OperationsT = Aws::Vector<Aws::String>>
121 m_operationsHasBeenSet =
true;
122 m_operations = std::forward<OperationsT>(value);
124 template <
typename OperationsT = Aws::Vector<Aws::String>>
129 template <
typename OperationsT = Aws::String>
131 m_operationsHasBeenSet =
true;
132 m_operations.emplace_back(std::forward<OperationsT>(value));
144 template <
typename EdgePropertiesT = EdgeProperties>
146 m_edgePropertiesHasBeenSet =
true;
147 m_edgeProperties = std::forward<EdgePropertiesT>(value);
149 template <
typename EdgePropertiesT = EdgeProperties>
164 template <
typename TelemetryAttributesT = Aws::Map<Aws::String, Aws::String>>
166 m_telemetryAttributesHasBeenSet =
true;
167 m_telemetryAttributes = std::forward<TelemetryAttributesT>(value);
169 template <
typename TelemetryAttributesT = Aws::Map<Aws::String, Aws::String>>
174 template <
typename TelemetryAttributesKeyT = Aws::String,
typename TelemetryAttributesValueT = Aws::String>
176 m_telemetryAttributesHasBeenSet =
true;
177 m_telemetryAttributes.emplace(std::forward<TelemetryAttributesKeyT>(key), std::forward<TelemetryAttributesValueT>(value));
188 template <
typename SignalTypesT = Aws::Vector<Signal>>
190 m_signalTypesHasBeenSet =
true;
191 m_signalTypes = std::forward<SignalTypesT>(value);
193 template <
typename SignalTypesT = Aws::Vector<Signal>>
199 m_signalTypesHasBeenSet =
true;
200 m_signalTypes.push_back(value);
211 template <
typename SourcesT = Aws::Vector<Source>>
213 m_sourcesHasBeenSet =
true;
214 m_sources = std::forward<SourcesT>(value);
216 template <
typename SourcesT = Aws::Vector<Source>>
222 m_sourcesHasBeenSet =
true;
223 m_sources.push_back(value);
235 template <
typename MetadataT = Metadata>
237 m_metadataHasBeenSet =
true;
238 m_metadata = std::forward<MetadataT>(value);
240 template <
typename MetadataT = Metadata>
254 template <
typename FirstObservedAtT = Aws::Utils::DateTime>
256 m_firstObservedAtHasBeenSet =
true;
257 m_firstObservedAt = std::forward<FirstObservedAtT>(value);
259 template <
typename FirstObservedAtT = Aws::Utils::DateTime>
274 template <
typename LastObservedAtT = Aws::Utils::DateTime>
276 m_lastObservedAtHasBeenSet =
true;
277 m_lastObservedAt = std::forward<LastObservedAtT>(value);
279 template <
typename LastObservedAtT = Aws::Utils::DateTime>
296 EdgeProperties m_edgeProperties;
309 bool m_edgeIdHasBeenSet =
false;
310 bool m_fromHasBeenSet =
false;
311 bool m_toHasBeenSet =
false;
312 bool m_edgeTypeHasBeenSet =
false;
313 bool m_operationsHasBeenSet =
false;
314 bool m_edgePropertiesHasBeenSet =
false;
315 bool m_telemetryAttributesHasBeenSet =
false;
316 bool m_signalTypesHasBeenSet =
false;
317 bool m_sourcesHasBeenSet =
false;
318 bool m_metadataHasBeenSet =
false;
319 bool m_firstObservedAtHasBeenSet =
false;
320 bool m_lastObservedAtHasBeenSet =
false;
bool FirstObservedAtHasBeenSet() const
EdgeType GetEdgeType() const
bool LastObservedAtHasBeenSet() const
const Aws::String & GetEdgeId() const
void SetSignalTypes(SignalTypesT &&value)
const Aws::String & GetTo() const
void SetFrom(FromT &&value)
const Aws::Vector< Source > & GetSources() const
const Aws::Map< Aws::String, Aws::String > & GetTelemetryAttributes() const
const Aws::Utils::DateTime & GetFirstObservedAt() const
Edge & WithSignalTypes(SignalTypesT &&value)
Edge & AddSignalTypes(Signal value)
void SetFirstObservedAt(FirstObservedAtT &&value)
Edge & WithTelemetryAttributes(TelemetryAttributesT &&value)
bool TelemetryAttributesHasBeenSet() const
const Aws::Vector< Aws::String > & GetOperations() const
bool SourcesHasBeenSet() const
Edge & WithFirstObservedAt(FirstObservedAtT &&value)
bool FromHasBeenSet() const
void SetSources(SourcesT &&value)
AWS_CLOUDWATCHOMNI_API Edge()=default
Edge & WithEdgeProperties(EdgePropertiesT &&value)
bool EdgeIdHasBeenSet() const
bool EdgePropertiesHasBeenSet() const
bool EdgeTypeHasBeenSet() const
AWS_CLOUDWATCHOMNI_API Edge(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetEdgeType(EdgeType value)
Edge & AddSources(Source value)
AWS_CLOUDWATCHOMNI_API Edge & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Edge & WithFrom(FromT &&value)
const EdgeProperties & GetEdgeProperties() const
bool MetadataHasBeenSet() const
void SetTelemetryAttributes(TelemetryAttributesT &&value)
bool OperationsHasBeenSet() const
Edge & WithEdgeId(EdgeIdT &&value)
Edge & WithSources(SourcesT &&value)
Edge & WithLastObservedAt(LastObservedAtT &&value)
void SetLastObservedAt(LastObservedAtT &&value)
void SetOperations(OperationsT &&value)
void SetMetadata(MetadataT &&value)
Edge & AddOperations(OperationsT &&value)
void SetEdgeId(EdgeIdT &&value)
bool SignalTypesHasBeenSet() const
Edge & AddTelemetryAttributes(TelemetryAttributesKeyT &&key, TelemetryAttributesValueT &&value)
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Metadata & GetMetadata() const
Edge & WithMetadata(MetadataT &&value)
Edge & WithOperations(OperationsT &&value)
const Aws::Vector< Signal > & GetSignalTypes() const
void SetEdgeProperties(EdgePropertiesT &&value)
Edge & WithTo(ToT &&value)
const Aws::String & GetFrom() const
bool ToHasBeenSet() const
const Aws::Utils::DateTime & GetLastObservedAt() const
Edge & WithEdgeType(EdgeType 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