AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
|
#include <ErrorResponse.h>
Public Member Functions | |
ErrorResponse ()=default | |
ErrorResponse (const Crt::JsonView &doc) | |
ErrorResponse & | operator= (const Crt::JsonView &doc) |
void | SerializeToObject (Crt::JsonObject &doc) const |
Public Attributes | |
Aws::Crt::Optional< Aws::Crt::String > | ClientToken |
Aws::Crt::Optional< int32_t > | Code |
Aws::Crt::Optional< Aws::Crt::String > | Message |
Aws::Crt::Optional< Aws::Crt::DateTime > | Timestamp |
Response document containing details about a failed request.
|
default |
Aws::Iotshadow::ErrorResponse::ErrorResponse | ( | const Crt::JsonView & | doc | ) |
ErrorResponse & Aws::Iotshadow::ErrorResponse::operator= | ( | const Crt::JsonView & | doc | ) |
void Aws::Iotshadow::ErrorResponse::SerializeToObject | ( | Crt::JsonObject & | doc | ) | const |
Aws::Crt::Optional<Aws::Crt::String> Aws::Iotshadow::ErrorResponse::ClientToken |
Opaque request-response correlation data. Present only if a client token was used in the request.
Aws::Crt::Optional<int32_t> Aws::Iotshadow::ErrorResponse::Code |
An HTTP response code that indicates the type of error.
Aws::Crt::Optional<Aws::Crt::String> Aws::Iotshadow::ErrorResponse::Message |
A text message that provides additional information.
Aws::Crt::Optional<Aws::Crt::DateTime> Aws::Iotshadow::ErrorResponse::Timestamp |
The date and time the response was generated by AWS IoT. This property is not present in all error response documents.