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 ThingNameT = Aws::String>
44 m_thingNameHasBeenSet =
true;
45 m_thingName = std::forward<ThingNameT>(value);
47 template <
typename ThingNameT = Aws::String>
60 template <
typename ThingTypeNameT = Aws::String>
62 m_thingTypeNameHasBeenSet =
true;
63 m_thingTypeName = std::forward<ThingTypeNameT>(value);
65 template <
typename ThingTypeNameT = Aws::String>
78 template <
typename ThingArnT = Aws::String>
80 m_thingArnHasBeenSet =
true;
81 m_thingArn = std::forward<ThingArnT>(value);
83 template <
typename ThingArnT = Aws::String>
96 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
98 m_attributesHasBeenSet =
true;
99 m_attributes = std::forward<AttributesT>(value);
101 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
106 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
108 m_attributesHasBeenSet =
true;
109 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
121 m_versionHasBeenSet =
true;
138 long long m_version{0};
139 bool m_thingNameHasBeenSet =
false;
140 bool m_thingTypeNameHasBeenSet =
false;
141 bool m_thingArnHasBeenSet =
false;
142 bool m_attributesHasBeenSet =
false;
143 bool m_versionHasBeenSet =
false;
ThingAttribute & WithThingName(ThingNameT &&value)
ThingAttribute & WithAttributes(AttributesT &&value)
bool ThingArnHasBeenSet() const
ThingAttribute & WithThingArn(ThingArnT &&value)
void SetAttributes(AttributesT &&value)
AWS_IOT_API ThingAttribute(Aws::Utils::Json::JsonView jsonValue)
void SetThingName(ThingNameT &&value)
const Aws::String & GetThingName() const
const Aws::String & GetThingArn() const
void SetThingArn(ThingArnT &&value)
void SetThingTypeName(ThingTypeNameT &&value)
ThingAttribute & WithThingTypeName(ThingTypeNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
bool VersionHasBeenSet() const
AWS_IOT_API ThingAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API ThingAttribute()=default
bool AttributesHasBeenSet() const
const Aws::String & GetThingTypeName() const
ThingAttribute & WithVersion(long long value)
void SetVersion(long long value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ThingTypeNameHasBeenSet() const
long long GetVersion() const
bool ThingNameHasBeenSet() const
ThingAttribute & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue