/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A two-part error structure that can occur in ListGroupResources
* or SearchResources
operations on CloudFront stack-based queries.
* The error occurs if the CloudFront 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 Resource
* Groups could not complete the operation, but the resulting group might have no
* member resources.See Also:
AWS
* API Reference
Specifies the error code that was raised.
*/ inline const QueryErrorCode& GetErrorCode() const{ return m_errorCode; } /** *Specifies the error code that was raised.
*/ inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; } /** *Specifies the error code that was raised.
*/ inline void SetErrorCode(const QueryErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; } /** *Specifies the error code that was raised.
*/ inline void SetErrorCode(QueryErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); } /** *Specifies the error code that was raised.
*/ inline QueryError& WithErrorCode(const QueryErrorCode& value) { SetErrorCode(value); return *this;} /** *Specifies the error code that was raised.
*/ inline QueryError& WithErrorCode(QueryErrorCode&& value) { SetErrorCode(std::move(value)); return *this;} /** *A message that explains the ErrorCode
value. Messages might
* state that the specified CloudFront stack does not exist (or no longer exists).
* For CLOUDFORMATION_STACK_INACTIVE
, the message typically states
* that the CloudFront stack has a status that is not (or no longer) active, such
* as CREATE_FAILED
.
A message that explains the ErrorCode
value. Messages might
* state that the specified CloudFront stack does not exist (or no longer exists).
* For CLOUDFORMATION_STACK_INACTIVE
, the message typically states
* that the CloudFront stack has a status that is not (or no longer) active, such
* as CREATE_FAILED
.
A message that explains the ErrorCode
value. Messages might
* state that the specified CloudFront stack does not exist (or no longer exists).
* For CLOUDFORMATION_STACK_INACTIVE
, the message typically states
* that the CloudFront stack has a status that is not (or no longer) active, such
* as CREATE_FAILED
.
A message that explains the ErrorCode
value. Messages might
* state that the specified CloudFront stack does not exist (or no longer exists).
* For CLOUDFORMATION_STACK_INACTIVE
, the message typically states
* that the CloudFront stack has a status that is not (or no longer) active, such
* as CREATE_FAILED
.
A message that explains the ErrorCode
value. Messages might
* state that the specified CloudFront stack does not exist (or no longer exists).
* For CLOUDFORMATION_STACK_INACTIVE
, the message typically states
* that the CloudFront stack has a status that is not (or no longer) active, such
* as CREATE_FAILED
.
A message that explains the ErrorCode
value. Messages might
* state that the specified CloudFront stack does not exist (or no longer exists).
* For CLOUDFORMATION_STACK_INACTIVE
, the message typically states
* that the CloudFront stack has a status that is not (or no longer) active, such
* as CREATE_FAILED
.
A message that explains the ErrorCode
value. Messages might
* state that the specified CloudFront stack does not exist (or no longer exists).
* For CLOUDFORMATION_STACK_INACTIVE
, the message typically states
* that the CloudFront stack has a status that is not (or no longer) active, such
* as CREATE_FAILED
.
A message that explains the ErrorCode
value. Messages might
* state that the specified CloudFront stack does not exist (or no longer exists).
* For CLOUDFORMATION_STACK_INACTIVE
, the message typically states
* that the CloudFront stack has a status that is not (or no longer) active, such
* as CREATE_FAILED
.