/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an error that occurred during an Asset Bundle export
* job.See Also:
AWS
* API Reference
The ARN of the resource whose processing caused an error.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the resource whose processing caused an error.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the resource whose processing caused an error.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the resource whose processing caused an error.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the resource whose processing caused an error.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the resource whose processing caused an error.
*/ inline AssetBundleExportJobError& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the resource whose processing caused an error.
*/ inline AssetBundleExportJobError& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the resource whose processing caused an error.
*/ inline AssetBundleExportJobError& WithArn(const char* value) { SetArn(value); return *this;} /** *The specific error type of the error that occurred.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The specific error type of the error that occurred.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The specific error type of the error that occurred.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The specific error type of the error that occurred.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The specific error type of the error that occurred.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The specific error type of the error that occurred.
*/ inline AssetBundleExportJobError& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The specific error type of the error that occurred.
*/ inline AssetBundleExportJobError& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The specific error type of the error that occurred.
*/ inline AssetBundleExportJobError& WithType(const char* value) { SetType(value); return *this;} /** *A description of the error.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A description of the error.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A description of the error.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A description of the error.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A description of the error.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A description of the error.
*/ inline AssetBundleExportJobError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A description of the error.
*/ inline AssetBundleExportJobError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A description of the error.
*/ inline AssetBundleExportJobError& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws