7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/ValidationExceptionReason.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/deadline/model/ValidationExceptionField.h>
51 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
104 bool m_messageHasBeenSet =
false;
107 bool m_reasonHasBeenSet =
false;
110 bool m_fieldListHasBeenSet =
false;
113 bool m_contextHasBeenSet =
false;
const ValidationExceptionReason & GetReason() const
ValidationException & WithReason(const ValidationExceptionReason &value)
void SetReason(const ValidationExceptionReason &value)
void SetContext(Aws::Map< Aws::String, Aws::String > &&value)
void SetContext(const Aws::Map< Aws::String, Aws::String > &value)
ValidationException & WithContext(const Aws::Map< Aws::String, Aws::String > &value)
ValidationException & AddContext(const char *key, Aws::String &&value)
const Aws::String & GetMessage() const
ValidationException & WithMessage(const Aws::String &value)
AWS_DEADLINE_API ValidationException()
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const Aws::String &value)
const Aws::Vector< ValidationExceptionField > & GetFieldList() const
ValidationException & AddFieldList(const ValidationExceptionField &value)
ValidationException & AddContext(Aws::String &&key, const char *value)
ValidationException & WithFieldList(const Aws::Vector< ValidationExceptionField > &value)
ValidationException & WithMessage(Aws::String &&value)
ValidationException & AddContext(const Aws::String &key, Aws::String &&value)
void SetReason(ValidationExceptionReason &&value)
ValidationException & AddFieldList(ValidationExceptionField &&value)
ValidationException & AddContext(const char *key, const char *value)
ValidationException & AddContext(const Aws::String &key, const Aws::String &value)
bool FieldListHasBeenSet() const
void SetMessage(const char *value)
bool ReasonHasBeenSet() const
ValidationException & AddContext(Aws::String &&key, const Aws::String &value)
void SetFieldList(const Aws::Vector< ValidationExceptionField > &value)
AWS_DEADLINE_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
void SetFieldList(Aws::Vector< ValidationExceptionField > &&value)
ValidationException & AddContext(Aws::String &&key, Aws::String &&value)
bool ContextHasBeenSet() const
AWS_DEADLINE_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithFieldList(Aws::Vector< ValidationExceptionField > &&value)
void SetMessage(Aws::String &&value)
ValidationException & WithReason(ValidationExceptionReason &&value)
bool MessageHasBeenSet() const
ValidationException & WithMessage(const char *value)
ValidationException & WithContext(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetContext() const
ValidationExceptionReason
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue