7#include <aws/invoicing/Invoicing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/invoicing/model/ValidationExceptionReason.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/invoicing/model/ValidationExceptionField.h>
48 template<
typename MessageT = Aws::String>
49 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
50 template<
typename MessageT = Aws::String>
60 template<
typename ResourceNameT = Aws::String>
61 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
62 template<
typename ResourceNameT = Aws::String>
83 template<
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
84 void SetFieldList(FieldListT&& value) { m_fieldListHasBeenSet =
true; m_fieldList = std::forward<FieldListT>(value); }
85 template<
typename FieldListT = Aws::Vector<Val
idationExceptionField>>
87 template<
typename FieldListT = Val
idationExceptionField>
93 bool m_messageHasBeenSet =
false;
96 bool m_resourceNameHasBeenSet =
false;
99 bool m_reasonHasBeenSet =
false;
102 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