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>
50 inline void SetThingName(
const char* value) { m_thingNameHasBeenSet =
true; m_thingName.assign(value); }
64 inline void SetThingTypeName(
const char* value) { m_thingTypeNameHasBeenSet =
true; m_thingTypeName.assign(value); }
78 inline void SetThingArn(
const char* value) { m_thingArnHasBeenSet =
true; m_thingArn.assign(value); }
100 inline ThingAttribute&
AddAttributes(
const char* key,
const char* value) { m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this; }
109 inline void SetVersion(
long long value) { m_versionHasBeenSet =
true; m_version = value; }
115 bool m_thingNameHasBeenSet =
false;
118 bool m_thingTypeNameHasBeenSet =
false;
121 bool m_thingArnHasBeenSet =
false;
124 bool m_attributesHasBeenSet =
false;
127 bool m_versionHasBeenSet =
false;
void SetThingName(Aws::String &&value)
ThingAttribute & WithThingArn(const Aws::String &value)
ThingAttribute & AddAttributes(Aws::String &&key, Aws::String &&value)
bool ThingArnHasBeenSet() const
ThingAttribute & WithThingArn(const char *value)
void SetThingTypeName(const char *value)
ThingAttribute & WithThingName(const char *value)
ThingAttribute & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ThingAttribute & AddAttributes(const char *key, const char *value)
ThingAttribute & WithThingName(Aws::String &&value)
void SetThingArn(const char *value)
void SetThingName(const char *value)
AWS_IOT_API ThingAttribute(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetThingName() const
const Aws::String & GetThingArn() const
void SetThingTypeName(const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetThingArn(const Aws::String &value)
void SetThingTypeName(Aws::String &&value)
void SetThingName(const Aws::String &value)
AWS_IOT_API ThingAttribute()
ThingAttribute & WithThingArn(Aws::String &&value)
ThingAttribute & WithThingTypeName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
ThingAttribute & AddAttributes(const Aws::String &key, const Aws::String &value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ThingAttribute & WithThingName(const Aws::String &value)
ThingAttribute & WithThingTypeName(const char *value)
ThingAttribute & AddAttributes(Aws::String &&key, const Aws::String &value)
bool VersionHasBeenSet() const
AWS_IOT_API ThingAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
ThingAttribute & AddAttributes(const Aws::String &key, Aws::String &&value)
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
ThingAttribute & AddAttributes(const char *key, Aws::String &&value)
bool ThingTypeNameHasBeenSet() const
long long GetVersion() const
ThingAttribute & AddAttributes(Aws::String &&key, const char *value)
bool ThingNameHasBeenSet() const
ThingAttribute & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
ThingAttribute & WithThingTypeName(const Aws::String &value)
void SetThingArn(Aws::String &&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