7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/DashboardErrorType.h>
11#include <aws/quicksight/model/Entity.h>
44 m_typeHasBeenSet =
true;
59 template <
typename MessageT = Aws::String>
61 m_messageHasBeenSet =
true;
62 m_message = std::forward<MessageT>(value);
64 template <
typename MessageT = Aws::String>
77 template <
typename ViolatedEntitiesT = Aws::Vector<Entity>>
79 m_violatedEntitiesHasBeenSet =
true;
80 m_violatedEntities = std::forward<ViolatedEntitiesT>(value);
82 template <
typename ViolatedEntitiesT = Aws::Vector<Entity>>
87 template <
typename ViolatedEntitiesT = Entity>
89 m_violatedEntitiesHasBeenSet =
true;
90 m_violatedEntities.emplace_back(std::forward<ViolatedEntitiesT>(value));
100 bool m_typeHasBeenSet =
false;
101 bool m_messageHasBeenSet =
false;
102 bool m_violatedEntitiesHasBeenSet =
false;
DashboardError & WithType(DashboardErrorType value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
DashboardError & WithMessage(MessageT &&value)
bool MessageHasBeenSet() const
DashboardErrorType GetType() const
const Aws::Vector< Entity > & GetViolatedEntities() const
void SetMessage(MessageT &&value)
bool ViolatedEntitiesHasBeenSet() const
DashboardError & WithViolatedEntities(ViolatedEntitiesT &&value)
void SetType(DashboardErrorType value)
bool TypeHasBeenSet() const
AWS_QUICKSIGHT_API DashboardError()=default
DashboardError & AddViolatedEntities(ViolatedEntitiesT &&value)
AWS_QUICKSIGHT_API DashboardError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API DashboardError(Aws::Utils::Json::JsonView jsonValue)
void SetViolatedEntities(ViolatedEntitiesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue