/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a description of an evaluation error. This data type is used
* as a request parameter in the IsAuthorized
* and IsAuthorizedWithToken
* operations.See Also:
AWS
* API Reference
The error description.
*/ inline const Aws::String& GetErrorDescription() const{ return m_errorDescription; } /** *The error description.
*/ inline bool ErrorDescriptionHasBeenSet() const { return m_errorDescriptionHasBeenSet; } /** *The error description.
*/ inline void SetErrorDescription(const Aws::String& value) { m_errorDescriptionHasBeenSet = true; m_errorDescription = value; } /** *The error description.
*/ inline void SetErrorDescription(Aws::String&& value) { m_errorDescriptionHasBeenSet = true; m_errorDescription = std::move(value); } /** *The error description.
*/ inline void SetErrorDescription(const char* value) { m_errorDescriptionHasBeenSet = true; m_errorDescription.assign(value); } /** *The error description.
*/ inline EvaluationErrorItem& WithErrorDescription(const Aws::String& value) { SetErrorDescription(value); return *this;} /** *The error description.
*/ inline EvaluationErrorItem& WithErrorDescription(Aws::String&& value) { SetErrorDescription(std::move(value)); return *this;} /** *The error description.
*/ inline EvaluationErrorItem& WithErrorDescription(const char* value) { SetErrorDescription(value); return *this;} private: Aws::String m_errorDescription; bool m_errorDescriptionHasBeenSet = false; }; } // namespace Model } // namespace VerifiedPermissions } // namespace Aws