7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/model/QueryErrorCode.h>
49 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
50 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
79 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
87 bool m_idHasBeenSet =
false;
90 bool m_codeHasBeenSet =
false;
93 bool m_messageHasBeenSet =
false;
void SetId(const Aws::String &value)
AWS_SESV2_API MetricDataError()
bool IdHasBeenSet() const
AWS_SESV2_API MetricDataError(Aws::Utils::Json::JsonView jsonValue)
MetricDataError & WithMessage(const char *value)
const Aws::String & GetMessage() const
MetricDataError & WithMessage(Aws::String &&value)
void SetId(const char *value)
bool MessageHasBeenSet() const
MetricDataError & WithCode(QueryErrorCode &&value)
void SetId(Aws::String &&value)
void SetCode(QueryErrorCode &&value)
MetricDataError & WithId(Aws::String &&value)
void SetMessage(Aws::String &&value)
MetricDataError & WithId(const Aws::String &value)
void SetCode(const QueryErrorCode &value)
MetricDataError & WithCode(const QueryErrorCode &value)
const QueryErrorCode & GetCode() const
void SetMessage(const Aws::String &value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(const char *value)
MetricDataError & WithId(const char *value)
AWS_SESV2_API MetricDataError & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricDataError & WithMessage(const Aws::String &value)
const Aws::String & GetId() const
bool CodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue