7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/marketplace-agreement/model/ValidationExceptionReason.h>
11#include <aws/marketplace-agreement/model/ValidationExceptionField.h>
24namespace AgreementService
50 template<
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
51 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields = std::forward<FieldsT>(value); }
52 template<
typename FieldsT = Aws::Vector<Val
idationExceptionField>>
54 template<
typename FieldsT = Val
idationExceptionField>
62 template<
typename MessageT = Aws::String>
63 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
64 template<
typename MessageT = Aws::String>
84 template<
typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
86 template<
typename RequestIdT = Aws::String>
92 bool m_fieldsHasBeenSet =
false;
95 bool m_messageHasBeenSet =
false;
98 bool m_reasonHasBeenSet =
false;
101 bool m_requestIdHasBeenSet =
false;
bool ReasonHasBeenSet() const
ValidationException & WithReason(ValidationExceptionReason value)
bool RequestIdHasBeenSet() const
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
ValidationException & AddFields(FieldsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_AGREEMENTSERVICE_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithMessage(MessageT &&value)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRequestId() const
AWS_AGREEMENTSERVICE_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
bool FieldsHasBeenSet() const
void SetFields(FieldsT &&value)
const Aws::Vector< ValidationExceptionField > & GetFields() const
AWS_AGREEMENTSERVICE_API ValidationException()=default
void SetReason(ValidationExceptionReason value)
ValidationExceptionReason GetReason() const
ValidationException & WithFields(FieldsT &&value)
ValidationException & WithRequestId(RequestIdT &&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