7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace CloudWatchLogs
36 AWS_CLOUDWATCHLOGS_API
Entity() =
default;
56 template<
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
57 void SetKeyAttributes(KeyAttributesT&& value) { m_keyAttributesHasBeenSet =
true; m_keyAttributes = std::forward<KeyAttributesT>(value); }
58 template<
typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
60 template<
typename KeyAttributesKeyT = Aws::String,
typename KeyAttributesValueT = Aws::String>
62 m_keyAttributesHasBeenSet =
true; m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value));
return *
this;
77 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
78 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
79 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
81 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
83 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
89 bool m_keyAttributesHasBeenSet =
false;
92 bool m_attributesHasBeenSet =
false;
Entity & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
AWS_CLOUDWATCHLOGS_API Entity & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KeyAttributesHasBeenSet() const
Entity & WithKeyAttributes(KeyAttributesT &&value)
AWS_CLOUDWATCHLOGS_API Entity()=default
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_CLOUDWATCHLOGS_API Entity(Aws::Utils::Json::JsonView jsonValue)
bool AttributesHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
Entity & AddKeyAttributes(KeyAttributesKeyT &&key, KeyAttributesValueT &&value)
void SetKeyAttributes(KeyAttributesT &&value)
Entity & WithAttributes(AttributesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetKeyAttributes() const
void SetAttributes(AttributesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue