7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
39 AWS_CLOUDWATCH_API
Entity() =
default;
63 template<
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
64 void SetKeyAttributes(KeyAttributesT&& value) { m_keyAttributesHasBeenSet =
true; m_keyAttributes = std::forward<KeyAttributesT>(value); }
65 template<
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
67 template<
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
69 m_keyAttributesHasBeenSet =
true; m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
return *
this;
84 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
85 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
86 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
88 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
90 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
96 bool m_keyAttributesHasBeenSet =
false;
99 bool m_attributesHasBeenSet =
false;
Entity & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
Entity & WithKeyAttributes(KeyAttributesT &&value)
bool KeyAttributesHasBeenSet() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDWATCH_API Entity & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
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
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_CLOUDWATCH_API Entity(const Aws::Utils::Xml::XmlNode &xmlNode)
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
std::basic_ostream< char, std::char_traits< char > > OStream