/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Dashboard error.See Also:
AWS
* API Reference
Type.
*/ inline const DashboardErrorType& GetType() const{ return m_type; } /** *Type.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Type.
*/ inline void SetType(const DashboardErrorType& value) { m_typeHasBeenSet = true; m_type = value; } /** *Type.
*/ inline void SetType(DashboardErrorType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Type.
*/ inline DashboardError& WithType(const DashboardErrorType& value) { SetType(value); return *this;} /** *Type.
*/ inline DashboardError& WithType(DashboardErrorType&& value) { SetType(std::move(value)); return *this;} /** *Message.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *Message.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *Message.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *Message.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *Message.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *Message.
*/ inline DashboardError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *Message.
*/ inline DashboardError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *Message.
*/ inline DashboardError& WithMessage(const char* value) { SetMessage(value); return *this;} /** *Lists the violated entities that caused the dashboard error.
*/ inline const Aws::VectorLists the violated entities that caused the dashboard error.
*/ inline bool ViolatedEntitiesHasBeenSet() const { return m_violatedEntitiesHasBeenSet; } /** *Lists the violated entities that caused the dashboard error.
*/ inline void SetViolatedEntities(const Aws::VectorLists the violated entities that caused the dashboard error.
*/ inline void SetViolatedEntities(Aws::VectorLists the violated entities that caused the dashboard error.
*/ inline DashboardError& WithViolatedEntities(const Aws::VectorLists the violated entities that caused the dashboard error.
*/ inline DashboardError& WithViolatedEntities(Aws::VectorLists the violated entities that caused the dashboard error.
*/ inline DashboardError& AddViolatedEntities(const Entity& value) { m_violatedEntitiesHasBeenSet = true; m_violatedEntities.push_back(value); return *this; } /** *Lists the violated entities that caused the dashboard error.
*/ inline DashboardError& AddViolatedEntities(Entity&& value) { m_violatedEntitiesHasBeenSet = true; m_violatedEntities.push_back(std::move(value)); return *this; } private: DashboardErrorType m_type; bool m_typeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Vector