7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/invoicing/Invoicing_EXPORTS.h>
10#include <aws/invoicing/model/ValidationExceptionField.h>
11#include <aws/invoicing/model/ValidationExceptionReason.h>
42 template <
typename MessageT = Aws::String>
44 m_messageHasBeenSet =
true;
45 m_message = std::forward<MessageT>(value);
47 template <
typename MessageT = Aws::String>
60 template <
typename ResourceNameT = Aws::String>
62 m_resourceNameHasBeenSet =
true;
63 m_resourceName = std::forward<ResourceNameT>(value);
65 template <
typename ResourceNameT = Aws::String>
79 m_reasonHasBeenSet =
true;
95 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
97 m_fieldListHasBeenSet =
true;
98 m_fieldList = std::forward<FieldListT>(value);
100 template <
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
105 template <
typename FieldListT = Val
idationExceptionField>
107 m_fieldListHasBeenSet =
true;
108 m_fieldList.emplace_back(std::forward<FieldListT>(value));
120 bool m_messageHasBeenSet =
false;
121 bool m_resourceNameHasBeenSet =
false;
122 bool m_reasonHasBeenSet =
false;
123 bool m_fieldListHasBeenSet =
false;
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationException & WithResourceName(ResourceNameT &&value)
bool ReasonHasBeenSet() const
ValidationException & AddFieldList(FieldListT &&value)
const Aws::String & GetResourceName() const
const Aws::String & GetMessage() const
ValidationException & WithReason(ValidationExceptionReason value)
void SetMessage(MessageT &&value)
bool FieldListHasBeenSet() const
AWS_INVOICING_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
void SetResourceName(ResourceNameT &&value)
bool MessageHasBeenSet() const
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
ValidationException & WithFieldList(FieldListT &&value)
void SetReason(ValidationExceptionReason value)
bool ResourceNameHasBeenSet() const
AWS_INVOICING_API ValidationException()=default
void SetFieldList(FieldListT &&value)
AWS_INVOICING_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationExceptionReason GetReason() const
ValidationException & WithMessage(MessageT &&value)
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