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>
49 template<
typename ThingNameT = Aws::String>
50 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet =
true; m_thingName = std::forward<ThingNameT>(value); }
51 template<
typename ThingNameT = Aws::String>
61 template<
typename ThingIdT = Aws::String>
62 void SetThingId(ThingIdT&& value) { m_thingIdHasBeenSet =
true; m_thingId = std::forward<ThingIdT>(value); }
63 template<
typename ThingIdT = Aws::String>
73 template<
typename ThingTypeNameT = Aws::String>
74 void SetThingTypeName(ThingTypeNameT&& value) { m_thingTypeNameHasBeenSet =
true; m_thingTypeName = std::forward<ThingTypeNameT>(value); }
75 template<
typename ThingTypeNameT = Aws::String>
85 template<
typename ThingGroupNamesT = Aws::Vector<Aws::String>>
86 void SetThingGroupNames(ThingGroupNamesT&& value) { m_thingGroupNamesHasBeenSet =
true; m_thingGroupNames = std::forward<ThingGroupNamesT>(value); }
87 template<
typename ThingGroupNamesT = Aws::Vector<Aws::String>>
89 template<
typename ThingGroupNamesT = Aws::String>
90 ThingDocument&
AddThingGroupNames(ThingGroupNamesT&& value) { m_thingGroupNamesHasBeenSet =
true; m_thingGroupNames.emplace_back(std::forward<ThingGroupNamesT>(value));
return *
this; }
99 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
100 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
101 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
103 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
105 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
118 template<
typename ShadowT = Aws::String>
119 void SetShadow(ShadowT&& value) { m_shadowHasBeenSet =
true; m_shadow = std::forward<ShadowT>(value); }
120 template<
typename ShadowT = Aws::String>
133 template<
typename DeviceDefenderT = Aws::String>
134 void SetDeviceDefender(DeviceDefenderT&& value) { m_deviceDefenderHasBeenSet =
true; m_deviceDefender = std::forward<DeviceDefenderT>(value); }
135 template<
typename DeviceDefenderT = Aws::String>
146 template<
typename ConnectivityT = ThingConnectivity>
147 void SetConnectivity(ConnectivityT&& value) { m_connectivityHasBeenSet =
true; m_connectivity = std::forward<ConnectivityT>(value); }
148 template<
typename ConnectivityT = ThingConnectivity>
154 bool m_thingNameHasBeenSet =
false;
157 bool m_thingIdHasBeenSet =
false;
160 bool m_thingTypeNameHasBeenSet =
false;
163 bool m_thingGroupNamesHasBeenSet =
false;
166 bool m_attributesHasBeenSet =
false;
169 bool m_shadowHasBeenSet =
false;
172 bool m_deviceDefenderHasBeenSet =
false;
175 bool m_connectivityHasBeenSet =
false;
bool ConnectivityHasBeenSet() const
ThingDocument & WithConnectivity(ConnectivityT &&value)
const Aws::String & GetShadow() const
ThingDocument & WithThingId(ThingIdT &&value)
const Aws::String & GetThingTypeName() const
AWS_IOT_API ThingDocument(Aws::Utils::Json::JsonView jsonValue)
void SetConnectivity(ConnectivityT &&value)
AWS_IOT_API ThingDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ThingIdHasBeenSet() const
const ThingConnectivity & GetConnectivity() const
const Aws::String & GetThingId() const
void SetDeviceDefender(DeviceDefenderT &&value)
bool ThingNameHasBeenSet() const
ThingDocument & WithThingTypeName(ThingTypeNameT &&value)
void SetThingTypeName(ThingTypeNameT &&value)
bool DeviceDefenderHasBeenSet() const
const Aws::String & GetThingName() const
void SetThingId(ThingIdT &&value)
bool ThingTypeNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetThingGroupNames() const
ThingDocument & AddThingGroupNames(ThingGroupNamesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetThingGroupNames(ThingGroupNamesT &&value)
ThingDocument & WithAttributes(AttributesT &&value)
void SetShadow(ShadowT &&value)
bool AttributesHasBeenSet() const
bool ThingGroupNamesHasBeenSet() const
const Aws::String & GetDeviceDefender() const
void SetThingName(ThingNameT &&value)
ThingDocument & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
ThingDocument & WithShadow(ShadowT &&value)
ThingDocument & WithDeviceDefender(DeviceDefenderT &&value)
ThingDocument & WithThingGroupNames(ThingGroupNamesT &&value)
AWS_IOT_API ThingDocument()=default
bool ShadowHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ThingDocument & WithThingName(ThingNameT &&value)
void SetAttributes(AttributesT &&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