7#include <aws/timestream-influxdb/TimestreamInfluxDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-influxdb/model/ValidationExceptionReason.h>
22namespace TimestreamInfluxDB
48 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
68 bool m_messageHasBeenSet =
false;
71 bool m_reasonHasBeenSet =
false;
void SetReason(const ValidationExceptionReason &value)
bool ReasonHasBeenSet() const
bool MessageHasBeenSet() const
AWS_TIMESTREAMINFLUXDB_API ValidationException()
AWS_TIMESTREAMINFLUXDB_API ValidationException(Aws::Utils::Json::JsonView jsonValue)
ValidationException & WithReason(const ValidationExceptionReason &value)
ValidationException & WithReason(ValidationExceptionReason &&value)
const Aws::String & GetMessage() const
ValidationException & WithMessage(Aws::String &&value)
void SetMessage(const char *value)
AWS_TIMESTREAMINFLUXDB_API ValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReason(ValidationExceptionReason &&value)
void SetMessage(Aws::String &&value)
ValidationException & WithMessage(const Aws::String &value)
AWS_TIMESTREAMINFLUXDB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const Aws::String &value)
ValidationException & WithMessage(const char *value)
const ValidationExceptionReason & GetReason() const
ValidationExceptionReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue