AWS IoT Device SDK C++ v2  1.34.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)
 
ErrorResponseoperator= (const Crt::JsonView &doc)
 
void SerializeToObject (Crt::JsonObject &doc) const
 

Public Attributes

Aws::Crt::Optional< int32_t > StatusCode
 
Aws::Crt::Optional< Aws::Crt::StringErrorCode
 
Aws::Crt::Optional< Aws::Crt::StringErrorMessage
 

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: