7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/partnercentral-selling/model/ValidationExceptionReason.h>
11#include <aws/partnercentral-selling/model/ValidationExceptionError.h>
24namespace PartnerCentralSelling
53 template<
typename ErrorListT = Aws::Vector<Val
idationExceptionError>>
54 void SetErrorList(ErrorListT&& value) { m_errorListHasBeenSet =
true; m_errorList = std::forward<ErrorListT>(value); }
55 template<
typename ErrorListT = Aws::Vector<Val
idationExceptionError>>
57 template<
typename ErrorListT = Val
idationExceptionError>
65 template<
typename MessageT = Aws::String>
66 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
67 template<
typename MessageT = Aws::String>
89 bool m_errorListHasBeenSet =
false;
92 bool m_messageHasBeenSet =
false;
95 bool m_reasonHasBeenSet =
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