7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codeguru-security/model/ValidationExceptionReason.h>
11#include <aws/codeguru-security/model/ValidationExceptionField.h>
24namespace CodeGuruSecurity
52 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
80 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
100 bool m_errorCodeHasBeenSet =
false;
103 bool m_fieldListHasBeenSet =
false;
106 bool m_messageHasBeenSet =
false;
109 bool m_reasonHasBeenSet =
false;
void SetErrorCode(const char *value)
ValidationException & WithReason(ValidationExceptionReason &&value)
ValidationException & WithErrorCode(const Aws::String &value)
AWS_CODEGURUSECURITY_API ValidationException()
ValidationException & WithMessage(const Aws::String &value)
bool ErrorCodeHasBeenSet() const
void SetMessage(Aws::String &&value)
void SetErrorCode(Aws::String &&value)
void SetReason(ValidationExceptionReason &&value)
bool FieldListHasBeenSet() const
ValidationException & WithErrorCode(Aws::String &&value)
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
ValidationException & WithMessage(const char *value)
ValidationException & AddFieldList(const ValidationExceptionField &value)
const Aws::String & GetMessage() const
void SetFieldList(const Aws::Vector< ValidationExceptionField > &value)
ValidationException & WithErrorCode(const char *value)
AWS_CODEGURUSECURITY_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUSECURITY_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const Aws::String &value)
bool ReasonHasBeenSet() const
void SetMessage(const Aws::String &value)
const ValidationExceptionReason & GetReason() const
ValidationException & WithFieldList(const Aws::Vector< ValidationExceptionField > &value)
ValidationException & AddFieldList(ValidationExceptionField &&value)
const Aws::String & GetErrorCode() const
void SetFieldList(Aws::Vector< ValidationExceptionField > &&value)
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
ValidationException & WithFieldList(Aws::Vector< ValidationExceptionField > &&value)
bool MessageHasBeenSet() const
void SetMessage(const char *value)
void SetReason(const ValidationExceptionReason &value)
ValidationException & WithMessage(Aws::String &&value)
ValidationException & WithReason(const 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