/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Theme error.See Also:
AWS
* API Reference
The type of error.
*/ inline const ThemeErrorType& GetType() const{ return m_type; } /** *The type of error.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of error.
*/ inline void SetType(const ThemeErrorType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of error.
*/ inline void SetType(ThemeErrorType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of error.
*/ inline ThemeError& WithType(const ThemeErrorType& value) { SetType(value); return *this;} /** *The type of error.
*/ inline ThemeError& WithType(ThemeErrorType&& value) { SetType(std::move(value)); return *this;} /** *The error message.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The error message.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The error message.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The error message.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The error message.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The error message.
*/ inline ThemeError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The error message.
*/ inline ThemeError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The error message.
*/ inline ThemeError& WithMessage(const char* value) { SetMessage(value); return *this;} private: ThemeErrorType m_type; bool m_typeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws