AWS IoT Device SDK C++ v2: Aws::Iotidentity::ErrorResponse Class Reference

AWS IoT Device SDK C++ v2 1.14.0 AWS IoT Device SDK C++ v2

Public Member Functions | Public Attributes | List of all members
Aws::Iotidentity::ErrorResponse Class Referencefinal

`#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< int32_t > | StatusCode
Aws::Crt::Optional< Aws::Crt::String > | ErrorMessage
Aws::Crt::Optional< Aws::Crt::String > | ErrorCode

## Detailed Description

Response document containing details about a failed request.

## Constructor & Destructor Documentation

## ◆ ErrorResponse() [1/2]

Aws::Iotidentity::ErrorResponse::ErrorResponse | ( |  | ) |
| default

## ◆ ErrorResponse() [2/2]

Aws::Iotidentity::ErrorResponse::ErrorResponse | ( | const Crt::JsonView & | doc | ) |

## Member Function Documentation

## ◆ operator=()

ErrorResponse & Aws::Iotidentity::ErrorResponse::operator= | ( | const Crt::JsonView & | doc | ) |

## ◆ SerializeToObject()

void Aws::Iotidentity::ErrorResponse::SerializeToObject | ( | Crt::JsonObject & | doc | ) | const

## Member Data Documentation

## ◆ ErrorCode

Aws::Crt::Optional<Aws::Crt::String> Aws::Iotidentity::ErrorResponse::ErrorCode

Response error code

## ◆ ErrorMessage

Aws::Crt::Optional<Aws::Crt::String> Aws::Iotidentity::ErrorResponse::ErrorMessage

Response error message

## ◆ StatusCode

Aws::Crt::Optional<int32_t> Aws::Iotidentity::ErrorResponse::StatusCode

Response status code

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

- identity/include/aws/iotidentity/ErrorResponse.h
- identity/source/ErrorResponse.cpp