AWS SDK for C++  1.9.68
AWS SDK for C++
Public Member Functions | List of all members
Aws::IoT::Model::UpdateThingRequest Class Reference

#include <UpdateThingRequest.h>

+ Inheritance diagram for Aws::IoT::Model::UpdateThingRequest:

Public Member Functions

 UpdateThingRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetThingName () const
 
bool ThingNameHasBeenSet () const
 
void SetThingName (const Aws::String &value)
 
void SetThingName (Aws::String &&value)
 
void SetThingName (const char *value)
 
UpdateThingRequestWithThingName (const Aws::String &value)
 
UpdateThingRequestWithThingName (Aws::String &&value)
 
UpdateThingRequestWithThingName (const char *value)
 
const Aws::StringGetThingTypeName () const
 
bool ThingTypeNameHasBeenSet () const
 
void SetThingTypeName (const Aws::String &value)
 
void SetThingTypeName (Aws::String &&value)
 
void SetThingTypeName (const char *value)
 
UpdateThingRequestWithThingTypeName (const Aws::String &value)
 
UpdateThingRequestWithThingTypeName (Aws::String &&value)
 
UpdateThingRequestWithThingTypeName (const char *value)
 
const AttributePayloadGetAttributePayload () const
 
bool AttributePayloadHasBeenSet () const
 
void SetAttributePayload (const AttributePayload &value)
 
void SetAttributePayload (AttributePayload &&value)
 
UpdateThingRequestWithAttributePayload (const AttributePayload &value)
 
UpdateThingRequestWithAttributePayload (AttributePayload &&value)
 
long long GetExpectedVersion () const
 
bool ExpectedVersionHasBeenSet () const
 
void SetExpectedVersion (long long value)
 
UpdateThingRequestWithExpectedVersion (long long value)
 
bool GetRemoveThingType () const
 
bool RemoveThingTypeHasBeenSet () const
 
void SetRemoveThingType (bool value)
 
UpdateThingRequestWithRemoveThingType (bool value)
 
- Public Member Functions inherited from Aws::IoT::IoTRequest
virtual ~IoTRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::IoT::IoTRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

The input for the UpdateThing operation.

See Also:

AWS API Reference

Definition at line 25 of file UpdateThingRequest.h.

Constructor & Destructor Documentation

◆ UpdateThingRequest()

Aws::IoT::Model::UpdateThingRequest::UpdateThingRequest ( )

Member Function Documentation

◆ AttributePayloadHasBeenSet()

bool Aws::IoT::Model::UpdateThingRequest::AttributePayloadHasBeenSet ( ) const
inline

A list of thing attributes, a JSON string containing name-value pairs. For example:

{"attributes":{"name1":"value2"}}

This data is used to add new attributes or update existing attributes.

Definition at line 149 of file UpdateThingRequest.h.

◆ ExpectedVersionHasBeenSet()

bool Aws::IoT::Model::UpdateThingRequest::ExpectedVersionHasBeenSet ( ) const
inline

The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the UpdateThing request is rejected with a VersionConflictException.

Definition at line 194 of file UpdateThingRequest.h.

◆ GetAttributePayload()

const AttributePayload& Aws::IoT::Model::UpdateThingRequest::GetAttributePayload ( ) const
inline

A list of thing attributes, a JSON string containing name-value pairs. For example:

{"attributes":{"name1":"value2"}}

This data is used to add new attributes or update existing attributes.

Definition at line 142 of file UpdateThingRequest.h.

◆ GetExpectedVersion()

long long Aws::IoT::Model::UpdateThingRequest::GetExpectedVersion ( ) const
inline

The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the UpdateThing request is rejected with a VersionConflictException.

Definition at line 186 of file UpdateThingRequest.h.

◆ GetRemoveThingType()

bool Aws::IoT::Model::UpdateThingRequest::GetRemoveThingType ( ) const
inline

Remove a thing type association. If true, the association is removed.

Definition at line 217 of file UpdateThingRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::IoT::Model::UpdateThingRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 34 of file UpdateThingRequest.h.

◆ GetThingName()

const Aws::String& Aws::IoT::Model::UpdateThingRequest::GetThingName ( ) const
inline

The name of the thing to update.

You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.

Definition at line 44 of file UpdateThingRequest.h.

◆ GetThingTypeName()

const Aws::String& Aws::IoT::Model::UpdateThingRequest::GetThingTypeName ( ) const
inline

The name of the thing type.

Definition at line 99 of file UpdateThingRequest.h.

◆ RemoveThingTypeHasBeenSet()

bool Aws::IoT::Model::UpdateThingRequest::RemoveThingTypeHasBeenSet ( ) const
inline

Remove a thing type association. If true, the association is removed.

Definition at line 223 of file UpdateThingRequest.h.

◆ SerializePayload()

Aws::String Aws::IoT::Model::UpdateThingRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAttributePayload() [1/2]

void Aws::IoT::Model::UpdateThingRequest::SetAttributePayload ( AttributePayload &&  value)
inline

A list of thing attributes, a JSON string containing name-value pairs. For example:

{"attributes":{"name1":"value2"}}

This data is used to add new attributes or update existing attributes.

Definition at line 163 of file UpdateThingRequest.h.

◆ SetAttributePayload() [2/2]

void Aws::IoT::Model::UpdateThingRequest::SetAttributePayload ( const AttributePayload value)
inline

A list of thing attributes, a JSON string containing name-value pairs. For example:

{"attributes":{"name1":"value2"}}

This data is used to add new attributes or update existing attributes.

Definition at line 156 of file UpdateThingRequest.h.

◆ SetExpectedVersion()

void Aws::IoT::Model::UpdateThingRequest::SetExpectedVersion ( long long  value)
inline

The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the UpdateThing request is rejected with a VersionConflictException.

Definition at line 202 of file UpdateThingRequest.h.

◆ SetRemoveThingType()

void Aws::IoT::Model::UpdateThingRequest::SetRemoveThingType ( bool  value)
inline

Remove a thing type association. If true, the association is removed.

Definition at line 229 of file UpdateThingRequest.h.

◆ SetThingName() [1/3]

void Aws::IoT::Model::UpdateThingRequest::SetThingName ( Aws::String &&  value)
inline

The name of the thing to update.

You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.

Definition at line 65 of file UpdateThingRequest.h.

◆ SetThingName() [2/3]

void Aws::IoT::Model::UpdateThingRequest::SetThingName ( const Aws::String value)
inline

The name of the thing to update.

You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.

Definition at line 58 of file UpdateThingRequest.h.

◆ SetThingName() [3/3]

void Aws::IoT::Model::UpdateThingRequest::SetThingName ( const char *  value)
inline

The name of the thing to update.

You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.

Definition at line 72 of file UpdateThingRequest.h.

◆ SetThingTypeName() [1/3]

void Aws::IoT::Model::UpdateThingRequest::SetThingTypeName ( Aws::String &&  value)
inline

The name of the thing type.

Definition at line 114 of file UpdateThingRequest.h.

◆ SetThingTypeName() [2/3]

void Aws::IoT::Model::UpdateThingRequest::SetThingTypeName ( const Aws::String value)
inline

The name of the thing type.

Definition at line 109 of file UpdateThingRequest.h.

◆ SetThingTypeName() [3/3]

void Aws::IoT::Model::UpdateThingRequest::SetThingTypeName ( const char *  value)
inline

The name of the thing type.

Definition at line 119 of file UpdateThingRequest.h.

◆ ThingNameHasBeenSet()

bool Aws::IoT::Model::UpdateThingRequest::ThingNameHasBeenSet ( ) const
inline

The name of the thing to update.

You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.

Definition at line 51 of file UpdateThingRequest.h.

◆ ThingTypeNameHasBeenSet()

bool Aws::IoT::Model::UpdateThingRequest::ThingTypeNameHasBeenSet ( ) const
inline

The name of the thing type.

Definition at line 104 of file UpdateThingRequest.h.

◆ WithAttributePayload() [1/2]

UpdateThingRequest& Aws::IoT::Model::UpdateThingRequest::WithAttributePayload ( AttributePayload &&  value)
inline

A list of thing attributes, a JSON string containing name-value pairs. For example:

{"attributes":{"name1":"value2"}}

This data is used to add new attributes or update existing attributes.

Definition at line 177 of file UpdateThingRequest.h.

◆ WithAttributePayload() [2/2]

UpdateThingRequest& Aws::IoT::Model::UpdateThingRequest::WithAttributePayload ( const AttributePayload value)
inline

A list of thing attributes, a JSON string containing name-value pairs. For example:

{"attributes":{"name1":"value2"}}

This data is used to add new attributes or update existing attributes.

Definition at line 170 of file UpdateThingRequest.h.

◆ WithExpectedVersion()

UpdateThingRequest& Aws::IoT::Model::UpdateThingRequest::WithExpectedVersion ( long long  value)
inline

The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the UpdateThing request is rejected with a VersionConflictException.

Definition at line 210 of file UpdateThingRequest.h.

◆ WithRemoveThingType()

UpdateThingRequest& Aws::IoT::Model::UpdateThingRequest::WithRemoveThingType ( bool  value)
inline

Remove a thing type association. If true, the association is removed.

Definition at line 235 of file UpdateThingRequest.h.

◆ WithThingName() [1/3]

UpdateThingRequest& Aws::IoT::Model::UpdateThingRequest::WithThingName ( Aws::String &&  value)
inline

The name of the thing to update.

You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.

Definition at line 86 of file UpdateThingRequest.h.

◆ WithThingName() [2/3]

UpdateThingRequest& Aws::IoT::Model::UpdateThingRequest::WithThingName ( const Aws::String value)
inline

The name of the thing to update.

You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.

Definition at line 79 of file UpdateThingRequest.h.

◆ WithThingName() [3/3]

UpdateThingRequest& Aws::IoT::Model::UpdateThingRequest::WithThingName ( const char *  value)
inline

The name of the thing to update.

You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.

Definition at line 93 of file UpdateThingRequest.h.

◆ WithThingTypeName() [1/3]

UpdateThingRequest& Aws::IoT::Model::UpdateThingRequest::WithThingTypeName ( Aws::String &&  value)
inline

The name of the thing type.

Definition at line 129 of file UpdateThingRequest.h.

◆ WithThingTypeName() [2/3]

UpdateThingRequest& Aws::IoT::Model::UpdateThingRequest::WithThingTypeName ( const Aws::String value)
inline

The name of the thing type.

Definition at line 124 of file UpdateThingRequest.h.

◆ WithThingTypeName() [3/3]

UpdateThingRequest& Aws::IoT::Model::UpdateThingRequest::WithThingTypeName ( const char *  value)
inline

The name of the thing type.

Definition at line 134 of file UpdateThingRequest.h.


The documentation for this class was generated from the following file: