7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/taxsettings/model/ValidationExceptionErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/taxsettings/model/ValidationExceptionField.h>
76 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
84 bool m_errorCodeHasBeenSet =
false;
87 bool m_fieldListHasBeenSet =
false;
90 bool m_messageHasBeenSet =
false;
AWS_TAXSETTINGS_API ValidationException()
bool MessageHasBeenSet() const
ValidationException & AddFieldList(const ValidationExceptionField &value)
ValidationException & WithErrorCode(ValidationExceptionErrorCode &&value)
bool ErrorCodeHasBeenSet() const
ValidationException & WithFieldList(Aws::Vector< ValidationExceptionField > &&value)
AWS_TAXSETTINGS_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const ValidationExceptionErrorCode &value)
ValidationException & WithMessage(const char *value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const Aws::String &value)
AWS_TAXSETTINGS_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(ValidationExceptionErrorCode &&value)
const Aws::String & GetMessage() const
void SetMessage(const char *value)
void SetMessage(Aws::String &&value)
void SetFieldList(const Aws::Vector< ValidationExceptionField > &value)
ValidationException & WithMessage(const Aws::String &value)
ValidationException & WithFieldList(const Aws::Vector< ValidationExceptionField > &value)
void SetFieldList(Aws::Vector< ValidationExceptionField > &&value)
ValidationException & WithMessage(Aws::String &&value)
bool FieldListHasBeenSet() const
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
ValidationException & WithErrorCode(const ValidationExceptionErrorCode &value)
ValidationException & AddFieldList(ValidationExceptionField &&value)
const ValidationExceptionErrorCode & GetErrorCode() const
ValidationExceptionErrorCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue