AWS SDK for C++  1.9.69
AWS SDK for C++
Public Member Functions | List of all members
Aws::ResourceGroups::Model::QueryError Class Reference

#include <QueryError.h>

Public Member Functions

 QueryError ()
 
 QueryError (Aws::Utils::Json::JsonView jsonValue)
 
QueryErroroperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const QueryErrorCodeGetErrorCode () const
 
bool ErrorCodeHasBeenSet () const
 
void SetErrorCode (const QueryErrorCode &value)
 
void SetErrorCode (QueryErrorCode &&value)
 
QueryErrorWithErrorCode (const QueryErrorCode &value)
 
QueryErrorWithErrorCode (QueryErrorCode &&value)
 
const Aws::StringGetMessage () const
 
bool MessageHasBeenSet () const
 
void SetMessage (const Aws::String &value)
 
void SetMessage (Aws::String &&value)
 
void SetMessage (const char *value)
 
QueryErrorWithMessage (const Aws::String &value)
 
QueryErrorWithMessage (Aws::String &&value)
 
QueryErrorWithMessage (const char *value)
 

Detailed Description

A two-part error structure that can occur in ListGroupResources or SearchResources operations on CloudFormation stack-based queries. The error occurs if the CloudFormation stack on which the query is based either does not exist, or has a status that renders the stack inactive. A QueryError occurrence does not necessarily mean that AWS Resource Groups could not complete the operation, but the resulting group might have no member resources.

See Also:

AWS API Reference

Definition at line 38 of file QueryError.h.

Constructor & Destructor Documentation

◆ QueryError() [1/2]

Aws::ResourceGroups::Model::QueryError::QueryError ( )

◆ QueryError() [2/2]

Aws::ResourceGroups::Model::QueryError::QueryError ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ErrorCodeHasBeenSet()

bool Aws::ResourceGroups::Model::QueryError::ErrorCodeHasBeenSet ( ) const
inline

Possible values are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.

Definition at line 57 of file QueryError.h.

◆ GetErrorCode()

const QueryErrorCode& Aws::ResourceGroups::Model::QueryError::GetErrorCode ( ) const
inline

Possible values are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.

Definition at line 51 of file QueryError.h.

◆ GetMessage()

const Aws::String& Aws::ResourceGroups::Model::QueryError::GetMessage ( ) const
inline

A message that explains the ErrorCode value. Messages might state that the specified CloudFormation stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFormation stack has a status that is not (or no longer) active, such as CREATE_FAILED.

Definition at line 91 of file QueryError.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ResourceGroups::Model::QueryError::Jsonize ( ) const

◆ MessageHasBeenSet()

bool Aws::ResourceGroups::Model::QueryError::MessageHasBeenSet ( ) const
inline

A message that explains the ErrorCode value. Messages might state that the specified CloudFormation stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFormation stack has a status that is not (or no longer) active, such as CREATE_FAILED.

Definition at line 100 of file QueryError.h.

◆ operator=()

QueryError& Aws::ResourceGroups::Model::QueryError::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetErrorCode() [1/2]

void Aws::ResourceGroups::Model::QueryError::SetErrorCode ( const QueryErrorCode value)
inline

Possible values are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.

Definition at line 63 of file QueryError.h.

◆ SetErrorCode() [2/2]

void Aws::ResourceGroups::Model::QueryError::SetErrorCode ( QueryErrorCode &&  value)
inline

Possible values are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.

Definition at line 69 of file QueryError.h.

◆ SetMessage() [1/3]

void Aws::ResourceGroups::Model::QueryError::SetMessage ( Aws::String &&  value)
inline

A message that explains the ErrorCode value. Messages might state that the specified CloudFormation stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFormation stack has a status that is not (or no longer) active, such as CREATE_FAILED.

Definition at line 118 of file QueryError.h.

◆ SetMessage() [2/3]

void Aws::ResourceGroups::Model::QueryError::SetMessage ( const Aws::String value)
inline

A message that explains the ErrorCode value. Messages might state that the specified CloudFormation stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFormation stack has a status that is not (or no longer) active, such as CREATE_FAILED.

Definition at line 109 of file QueryError.h.

◆ SetMessage() [3/3]

void Aws::ResourceGroups::Model::QueryError::SetMessage ( const char *  value)
inline

A message that explains the ErrorCode value. Messages might state that the specified CloudFormation stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFormation stack has a status that is not (or no longer) active, such as CREATE_FAILED.

Definition at line 127 of file QueryError.h.

◆ WithErrorCode() [1/2]

QueryError& Aws::ResourceGroups::Model::QueryError::WithErrorCode ( const QueryErrorCode value)
inline

Possible values are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.

Definition at line 75 of file QueryError.h.

◆ WithErrorCode() [2/2]

QueryError& Aws::ResourceGroups::Model::QueryError::WithErrorCode ( QueryErrorCode &&  value)
inline

Possible values are CLOUDFORMATION_STACK_INACTIVE and CLOUDFORMATION_STACK_NOT_EXISTING.

Definition at line 81 of file QueryError.h.

◆ WithMessage() [1/3]

QueryError& Aws::ResourceGroups::Model::QueryError::WithMessage ( Aws::String &&  value)
inline

A message that explains the ErrorCode value. Messages might state that the specified CloudFormation stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFormation stack has a status that is not (or no longer) active, such as CREATE_FAILED.

Definition at line 145 of file QueryError.h.

◆ WithMessage() [2/3]

QueryError& Aws::ResourceGroups::Model::QueryError::WithMessage ( const Aws::String value)
inline

A message that explains the ErrorCode value. Messages might state that the specified CloudFormation stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFormation stack has a status that is not (or no longer) active, such as CREATE_FAILED.

Definition at line 136 of file QueryError.h.

◆ WithMessage() [3/3]

QueryError& Aws::ResourceGroups::Model::QueryError::WithMessage ( const char *  value)
inline

A message that explains the ErrorCode value. Messages might state that the specified CloudFormation stack does not exist (or no longer exists). For CLOUDFORMATION_STACK_INACTIVE, the message typically states that the CloudFormation stack has a status that is not (or no longer) active, such as CREATE_FAILED.

Definition at line 154 of file QueryError.h.


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