7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/TemplateErrorType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/quicksight/model/Entity.h>
64 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
86 bool m_typeHasBeenSet =
false;
89 bool m_messageHasBeenSet =
false;
92 bool m_violatedEntitiesHasBeenSet =
false;
void SetMessage(const char *value)
TemplateError & WithType(const TemplateErrorType &value)
const TemplateErrorType & GetType() const
const Aws::Vector< Entity > & GetViolatedEntities() const
AWS_QUICKSIGHT_API TemplateError()
TemplateError & AddViolatedEntities(const Entity &value)
void SetType(const TemplateErrorType &value)
bool MessageHasBeenSet() const
AWS_QUICKSIGHT_API TemplateError(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const Aws::String &value)
void SetType(TemplateErrorType &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TemplateError & WithViolatedEntities(const Aws::Vector< Entity > &value)
bool ViolatedEntitiesHasBeenSet() const
void SetViolatedEntities(Aws::Vector< Entity > &&value)
TemplateError & WithMessage(Aws::String &&value)
TemplateError & WithMessage(const char *value)
TemplateError & WithMessage(const Aws::String &value)
void SetViolatedEntities(const Aws::Vector< Entity > &value)
TemplateError & WithType(TemplateErrorType &&value)
TemplateError & AddViolatedEntities(Entity &&value)
const Aws::String & GetMessage() const
AWS_QUICKSIGHT_API TemplateError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(Aws::String &&value)
TemplateError & WithViolatedEntities(Aws::Vector< Entity > &&value)
bool TypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue