7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
48 template<
typename ThingNameT = Aws::String>
49 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet =
true; m_thingName = std::forward<ThingNameT>(value); }
50 template<
typename ThingNameT = Aws::String>
60 template<
typename ThingTypeNameT = Aws::String>
61 void SetThingTypeName(ThingTypeNameT&& value) { m_thingTypeNameHasBeenSet =
true; m_thingTypeName = std::forward<ThingTypeNameT>(value); }
62 template<
typename ThingTypeNameT = Aws::String>
72 template<
typename ThingArnT = Aws::String>
73 void SetThingArn(ThingArnT&& value) { m_thingArnHasBeenSet =
true; m_thingArn = std::forward<ThingArnT>(value); }
74 template<
typename ThingArnT = Aws::String>
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;
98 inline long long GetVersion()
const {
return m_version; }
100 inline void SetVersion(
long long value) { m_versionHasBeenSet =
true; m_version = value; }
106 bool m_thingNameHasBeenSet =
false;
109 bool m_thingTypeNameHasBeenSet =
false;
112 bool m_thingArnHasBeenSet =
false;
115 bool m_attributesHasBeenSet =
false;
117 long long m_version{0};
118 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