7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
49 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
50 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
52 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
54 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
67 inline bool GetMerge()
const {
return m_merge; }
69 inline void SetMerge(
bool value) { m_mergeHasBeenSet =
true; m_merge = value; }
75 bool m_attributesHasBeenSet =
false;
78 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