7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
10#include <aws/partnercentral-selling/model/ValidationExceptionError.h>
11#include <aws/partnercentral-selling/model/ValidationExceptionReason.h>
22namespace PartnerCentralSelling {
44 template <
typename MessageT = Aws::String>
46 m_messageHasBeenSet =
true;
47 m_message = std::forward<MessageT>(value);
49 template <
typename MessageT = Aws::String>
69 m_reasonHasBeenSet =
true;
85 template <
typename ErrorListT = Aws::Vector<Val
idationExceptionError>>
87 m_errorListHasBeenSet =
true;
88 m_errorList = std::forward<ErrorListT>(value);
90 template <
typename ErrorListT = Aws::Vector<Val
idationExceptionError>>
95 template <
typename ErrorListT = Val
idationExceptionError>
97 m_errorListHasBeenSet =
true;
98 m_errorList.emplace_back(std::forward<ErrorListT>(value));
108 bool m_messageHasBeenSet =
false;
109 bool m_reasonHasBeenSet =
false;
110 bool m_errorListHasBeenSet =
false;
bool MessageHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorList(ErrorListT &&value)
ValidationException & WithErrorList(ErrorListT &&value)
AWS_PARTNERCENTRALSELLING_API ValidationException()=default
ValidationException & WithMessage(MessageT &&value)
ValidationException & AddErrorList(ErrorListT &&value)
void SetReason(ValidationExceptionReason value)
bool ReasonHasBeenSet() const
const Aws::String & GetMessage() const
ValidationExceptionReason GetReason() const
bool ErrorListHasBeenSet() const
void SetMessage(MessageT &&value)
const Aws::Vector< ValidationExceptionError > & GetErrorList() const
ValidationException & WithReason(ValidationExceptionReason 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