7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/panorama/model/ValidationExceptionReason.h>
11#include <aws/panorama/model/ValidationExceptionErrorArgument.h>
12#include <aws/panorama/model/ValidationExceptionField.h>
67 inline void SetErrorId(
const char* value) { m_errorIdHasBeenSet =
true; m_errorId.assign(value); }
93 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
113 bool m_errorArgumentsHasBeenSet =
false;
116 bool m_errorIdHasBeenSet =
false;
119 bool m_fieldsHasBeenSet =
false;
122 bool m_messageHasBeenSet =
false;
125 bool m_reasonHasBeenSet =
false;
bool ReasonHasBeenSet() const
bool ErrorArgumentsHasBeenSet() const
void SetErrorId(const Aws::String &value)
void SetReason(const ValidationExceptionReason &value)
const Aws::Vector< ValidationExceptionErrorArgument > & GetErrorArguments() const
ValidationException & WithErrorId(const char *value)
ValidationException & WithFields(Aws::Vector< ValidationExceptionField > &&value)
const ValidationExceptionReason & GetReason() const
AWS_PANORAMA_API ValidationException()
void SetFields(const Aws::Vector< ValidationExceptionField > &value)
AWS_PANORAMA_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithMessage(Aws::String &&value)
const Aws::Vector< ValidationExceptionField > & GetFields() const
ValidationException & AddFields(const ValidationExceptionField &value)
ValidationException & WithErrorId(Aws::String &&value)
void SetFields(Aws::Vector< ValidationExceptionField > &&value)
void SetErrorArguments(Aws::Vector< ValidationExceptionErrorArgument > &&value)
bool ErrorIdHasBeenSet() const
ValidationException & WithReason(ValidationExceptionReason &&value)
ValidationException & AddErrorArguments(const ValidationExceptionErrorArgument &value)
ValidationException & AddErrorArguments(ValidationExceptionErrorArgument &&value)
void SetMessage(Aws::String &&value)
void SetErrorId(const char *value)
ValidationException & WithErrorArguments(const Aws::Vector< ValidationExceptionErrorArgument > &value)
void SetErrorId(Aws::String &&value)
AWS_PANORAMA_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithMessage(const char *value)
ValidationException & WithErrorId(const Aws::String &value)
const Aws::String & GetMessage() const
void SetMessage(const Aws::String &value)
ValidationException & WithMessage(const Aws::String &value)
void SetMessage(const char *value)
void SetReason(ValidationExceptionReason &&value)
const Aws::String & GetErrorId() const
ValidationException & WithFields(const Aws::Vector< ValidationExceptionField > &value)
bool FieldsHasBeenSet() const
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorArguments(const Aws::Vector< ValidationExceptionErrorArgument > &value)
ValidationException & WithReason(const ValidationExceptionReason &value)
ValidationException & WithErrorArguments(Aws::Vector< ValidationExceptionErrorArgument > &&value)
ValidationException & AddFields(ValidationExceptionField &&value)
bool MessageHasBeenSet() const
ValidationExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue