7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
42 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
44 m_attributesHasBeenSet =
true;
45 m_attributes = std::forward<AttributesT>(value);
47 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
52 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
54 m_attributesHasBeenSet =
true;
55 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
69 inline bool GetMerge()
const {
return m_merge; }
72 m_mergeHasBeenSet =
true;
84 bool m_attributesHasBeenSet =
false;
85 bool m_mergeHasBeenSet =
false;
void SetAttributes(AttributesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AttributePayload & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMerge(bool value)
AttributePayload & WithAttributes(AttributesT &&value)
bool MergeHasBeenSet() const
AWS_IOT_API AttributePayload(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API AttributePayload()=default
AWS_IOT_API AttributePayload & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AttributesHasBeenSet() const
AttributePayload & WithMerge(bool value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue