7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/taxsettings/TaxSettings_EXPORTS.h>
10#include <aws/taxsettings/model/ValidationExceptionErrorCode.h>
11#include <aws/taxsettings/model/ValidationExceptionField.h>
22namespace TaxSettings {
45 m_errorCodeHasBeenSet =
true;
60 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
62 m_fieldListHasBeenSet =
true;
63 m_fieldList = std::forward<FieldListT>(value);
65 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
70 template <
typename FieldListT = Val
idationExceptionField>
72 m_fieldListHasBeenSet =
true;
73 m_fieldList.emplace_back(std::forward<FieldListT>(value));
82 template <
typename MessageT = Aws::String>
84 m_messageHasBeenSet =
true;
85 m_message = std::forward<MessageT>(value);
87 template <
typename MessageT = Aws::String>
99 bool m_errorCodeHasBeenSet =
false;
100 bool m_fieldListHasBeenSet =
false;
101 bool m_messageHasBeenSet =
false;
void SetFieldList(FieldListT &&value)
void SetMessage(MessageT &&value)
ValidationException & WithMessage(MessageT &&value)
void SetErrorCode(ValidationExceptionErrorCode value)
bool MessageHasBeenSet() const
ValidationException & AddFieldList(FieldListT &&value)
bool ErrorCodeHasBeenSet() const
AWS_TAXSETTINGS_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TAXSETTINGS_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TAXSETTINGS_API ValidationException()=default
ValidationExceptionErrorCode GetErrorCode() const
const Aws::String & GetMessage() const
ValidationException & WithErrorCode(ValidationExceptionErrorCode value)
bool FieldListHasBeenSet() const
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
ValidationException & WithFieldList(FieldListT &&value)
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