7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/MetricSemantics.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
21namespace CloudWatchOmni {
33 AWS_CLOUDWATCHOMNI_API
MetricMetadata(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
62 template <
typename PreferredStatT = Aws::String>
64 m_preferredStatHasBeenSet =
true;
65 m_preferredStat = std::forward<PreferredStatT>(value);
67 template <
typename PreferredStatT = Aws::String>
82 template <
typename MetricTypeT = Aws::String>
84 m_metricTypeHasBeenSet =
true;
85 m_metricType = std::forward<MetricTypeT>(value);
87 template <
typename MetricTypeT = Aws::String>
107 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
109 m_attributesHasBeenSet =
true;
110 m_attributes = std::forward<AttributesT>(value);
112 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
117 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
119 m_attributesHasBeenSet =
true;
120 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
131 template <
typename SemanticsT = MetricSemantics>
133 m_semanticsHasBeenSet =
true;
134 m_semantics = std::forward<SemanticsT>(value);
136 template <
typename SemanticsT = MetricSemantics>
152 bool m_nameHasBeenSet =
false;
153 bool m_preferredStatHasBeenSet =
false;
154 bool m_metricTypeHasBeenSet =
false;
155 bool m_attributesHasBeenSet =
false;
156 bool m_semanticsHasBeenSet =
false;
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