7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/monitoring/CloudWatch_EXPORTS.h>
34 AWS_CLOUDWATCH_API
Entity() =
default;
35 AWS_CLOUDWATCH_API
Entity(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_CLOUDWATCH_API
Entity&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_CLOUDWATCH_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
55 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
57 m_keyAttributesHasBeenSet =
true;
58 m_keyAttributes = std::forward<KeyAttributesT>(value);
60 template <
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
65 template <
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
67 m_keyAttributesHasBeenSet =
true;
68 m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
84 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
86 m_attributesHasBeenSet =
true;
87 m_attributes = std::forward<AttributesT>(value);
89 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
94 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
96 m_attributesHasBeenSet =
true;
97 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
105 bool m_keyAttributesHasBeenSet =
false;
106 bool m_attributesHasBeenSet =
false;
Entity & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
Entity & WithKeyAttributes(KeyAttributesT &&value)
bool KeyAttributesHasBeenSet() const
AWS_CLOUDWATCH_API Entity & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetKeyAttributes(KeyAttributesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetKeyAttributes() const
bool AttributesHasBeenSet() const
void SetAttributes(AttributesT &&value)
AWS_CLOUDWATCH_API Entity()=default
AWS_CLOUDWATCH_API Entity(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_CLOUDWATCH_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
Entity & WithAttributes(AttributesT &&value)
Entity & AddKeyAttributes(KeyAttributesKeyT &&key, KeyAttributesValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map