7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/AttributePayload.h>
47 template<
typename ThingNameT = Aws::String>
48 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet =
true; m_thingName = std::forward<ThingNameT>(value); }
49 template<
typename ThingNameT = Aws::String>
59 template<
typename ThingTypeNameT = Aws::String>
60 void SetThingTypeName(ThingTypeNameT&& value) { m_thingTypeNameHasBeenSet =
true; m_thingTypeName = std::forward<ThingTypeNameT>(value); }
61 template<
typename ThingTypeNameT = Aws::String>
73 template<
typename AttributePayloadT = AttributePayload>
74 void SetAttributePayload(AttributePayloadT&& value) { m_attributePayloadHasBeenSet =
true; m_attributePayload = std::forward<AttributePayloadT>(value); }
75 template<
typename AttributePayloadT = AttributePayload>
88 inline void SetExpectedVersion(
long long value) { m_expectedVersionHasBeenSet =
true; m_expectedVersion = value; }
99 inline void SetRemoveThingType(
bool value) { m_removeThingTypeHasBeenSet =
true; m_removeThingType = value; }
105 bool m_thingNameHasBeenSet =
false;
108 bool m_thingTypeNameHasBeenSet =
false;
111 bool m_attributePayloadHasBeenSet =
false;
113 long long m_expectedVersion{0};
114 bool m_expectedVersionHasBeenSet =
false;
116 bool m_removeThingType{
false};
117 bool m_removeThingTypeHasBeenSet =
false;
const Aws::String & GetThingTypeName() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetThingName() const
long long GetExpectedVersion() const
UpdateThingRequest & WithExpectedVersion(long long value)
bool ExpectedVersionHasBeenSet() const
bool AttributePayloadHasBeenSet() const
UpdateThingRequest & WithRemoveThingType(bool value)
AWS_IOT_API Aws::String SerializePayload() const override
void SetAttributePayload(AttributePayloadT &&value)
bool ThingTypeNameHasBeenSet() const
bool ThingNameHasBeenSet() const
bool GetRemoveThingType() const
void SetRemoveThingType(bool value)
void SetThingTypeName(ThingTypeNameT &&value)
UpdateThingRequest & WithThingTypeName(ThingTypeNameT &&value)
void SetExpectedVersion(long long value)
AWS_IOT_API UpdateThingRequest()=default
bool RemoveThingTypeHasBeenSet() const
UpdateThingRequest & WithThingName(ThingNameT &&value)
void SetThingName(ThingNameT &&value)
UpdateThingRequest & WithAttributePayload(AttributePayloadT &&value)
const AttributePayload & GetAttributePayload() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String