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
64 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
90 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
98 bool m_fieldsHasBeenSet =
false;
101 bool m_messageHasBeenSet =
false;
104 bool m_reasonHasBeenSet =
false;
107 bool m_requestIdHasBeenSet =
false;
ValidationException & WithMessage(const Aws::String &value)
ValidationException & WithMessage(Aws::String &&value)
void SetRequestId(Aws::String &&value)
bool ReasonHasBeenSet() const
bool RequestIdHasBeenSet() const
ValidationException & WithReason(const ValidationExceptionReason &value)
const Aws::String & GetMessage() const
ValidationException & WithRequestId(const char *value)
const ValidationExceptionReason & GetReason() const
AWS_AGREEMENTSERVICE_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFields(Aws::Vector< ValidationExceptionField > &&value)
const Aws::String & GetRequestId() const
AWS_AGREEMENTSERVICE_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithFields(Aws::Vector< ValidationExceptionField > &&value)
bool MessageHasBeenSet() const
ValidationException & WithMessage(const char *value)
AWS_AGREEMENTSERVICE_API ValidationException()
void SetRequestId(const Aws::String &value)
bool FieldsHasBeenSet() const
ValidationException & AddFields(const ValidationExceptionField &value)
const Aws::Vector< ValidationExceptionField > & GetFields() const
void SetFields(const Aws::Vector< ValidationExceptionField > &value)
void SetReason(const ValidationExceptionReason &value)
void SetMessage(const Aws::String &value)
void SetMessage(const char *value)
ValidationException & WithRequestId(Aws::String &&value)
void SetRequestId(const char *value)
void SetMessage(Aws::String &&value)
ValidationException & WithReason(ValidationExceptionReason &&value)
ValidationException & WithFields(const Aws::Vector< ValidationExceptionField > &value)
ValidationException & WithRequestId(const Aws::String &value)
ValidationException & AddFields(ValidationExceptionField &&value)
void SetReason(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