7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/iot/model/ThingConnectivity.h>
51 inline void SetThingName(
const char* value) { m_thingNameHasBeenSet =
true; m_thingName.assign(value); }
65 inline void SetThingId(
const char* value) { m_thingIdHasBeenSet =
true; m_thingId.assign(value); }
79 inline void SetThingTypeName(
const char* value) { m_thingTypeNameHasBeenSet =
true; m_thingTypeName.assign(value); }
116 inline ThingDocument&
AddAttributes(
const char* key,
const char* value) { m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this; }
130 inline void SetShadow(
const char* value) { m_shadowHasBeenSet =
true; m_shadow.assign(value); }
147 inline void SetDeviceDefender(
const char* value) { m_deviceDefenderHasBeenSet =
true; m_deviceDefender.assign(value); }
168 bool m_thingNameHasBeenSet =
false;
171 bool m_thingIdHasBeenSet =
false;
174 bool m_thingTypeNameHasBeenSet =
false;
177 bool m_thingGroupNamesHasBeenSet =
false;
180 bool m_attributesHasBeenSet =
false;
183 bool m_shadowHasBeenSet =
false;
186 bool m_deviceDefenderHasBeenSet =
false;
189 bool m_connectivityHasBeenSet =
false;
ThingDocument & AddAttributes(Aws::String &&key, const char *value)
bool ConnectivityHasBeenSet() const
ThingDocument & WithThingGroupNames(Aws::Vector< Aws::String > &&value)
const Aws::String & GetShadow() const
ThingDocument & WithThingName(const char *value)
ThingDocument & WithConnectivity(const ThingConnectivity &value)
void SetThingId(const char *value)
const Aws::String & GetThingTypeName() const
AWS_IOT_API ThingDocument(Aws::Utils::Json::JsonView jsonValue)
ThingDocument & WithThingId(Aws::String &&value)
void SetThingTypeName(const char *value)
ThingDocument & AddAttributes(Aws::String &&key, Aws::String &&value)
void SetDeviceDefender(const char *value)
AWS_IOT_API ThingDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ThingIdHasBeenSet() const
void SetThingGroupNames(Aws::Vector< Aws::String > &&value)
const ThingConnectivity & GetConnectivity() const
const Aws::String & GetThingId() const
void SetShadow(const Aws::String &value)
ThingDocument & WithShadow(const char *value)
void SetThingName(const char *value)
bool ThingNameHasBeenSet() const
void SetShadow(const char *value)
void SetThingTypeName(const Aws::String &value)
ThingDocument & WithThingName(Aws::String &&value)
AWS_IOT_API ThingDocument()
bool DeviceDefenderHasBeenSet() const
const Aws::String & GetThingName() const
ThingDocument & WithDeviceDefender(const Aws::String &value)
bool ThingTypeNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetThingGroupNames() const
void SetConnectivity(ThingConnectivity &&value)
ThingDocument & WithThingId(const Aws::String &value)
ThingDocument & WithThingName(const Aws::String &value)
void SetThingTypeName(Aws::String &&value)
ThingDocument & WithDeviceDefender(Aws::String &&value)
ThingDocument & AddThingGroupNames(Aws::String &&value)
ThingDocument & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ThingDocument & WithDeviceDefender(const char *value)
void SetThingGroupNames(const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
ThingDocument & WithShadow(Aws::String &&value)
ThingDocument & WithThingId(const char *value)
void SetThingId(const Aws::String &value)
ThingDocument & AddAttributes(const char *key, const char *value)
ThingDocument & WithThingTypeName(const char *value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
bool AttributesHasBeenSet() const
bool ThingGroupNamesHasBeenSet() const
const Aws::String & GetDeviceDefender() const
ThingDocument & AddAttributes(const Aws::String &key, Aws::String &&value)
ThingDocument & WithThingGroupNames(const Aws::Vector< Aws::String > &value)
ThingDocument & AddAttributes(const char *key, Aws::String &&value)
void SetConnectivity(const ThingConnectivity &value)
void SetDeviceDefender(const Aws::String &value)
void SetThingId(Aws::String &&value)
ThingDocument & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ThingDocument & AddThingGroupNames(const Aws::String &value)
void SetThingName(const Aws::String &value)
void SetThingName(Aws::String &&value)
ThingDocument & WithConnectivity(ThingConnectivity &&value)
ThingDocument & WithShadow(const Aws::String &value)
ThingDocument & WithThingTypeName(const Aws::String &value)
ThingDocument & AddAttributes(Aws::String &&key, const Aws::String &value)
void SetDeviceDefender(Aws::String &&value)
bool ShadowHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetShadow(Aws::String &&value)
ThingDocument & WithThingTypeName(Aws::String &&value)
ThingDocument & AddAttributes(const Aws::String &key, const Aws::String &value)
ThingDocument & AddThingGroupNames(const char *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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue