7#include <aws/sagemaker-runtime/SageMakerRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace SageMakerRuntime
47 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
59 inline void SetOriginalStatusCode(
int value) { m_originalStatusCodeHasBeenSet =
true; m_originalStatusCode = value; }
71 inline void SetOriginalMessage(
const char* value) { m_originalMessageHasBeenSet =
true; m_originalMessage.assign(value); }
85 inline void SetLogStreamArn(
const char* value) { m_logStreamArnHasBeenSet =
true; m_logStreamArn.assign(value); }
93 bool m_messageHasBeenSet =
false;
95 int m_originalStatusCode;
96 bool m_originalStatusCodeHasBeenSet =
false;
99 bool m_originalMessageHasBeenSet =
false;
102 bool m_logStreamArnHasBeenSet =
false;
ModelError & WithMessage(const char *value)
void SetLogStreamArn(Aws::String &&value)
ModelError & WithOriginalMessage(const Aws::String &value)
void SetMessage(const Aws::String &value)
void SetLogStreamArn(const char *value)
void SetOriginalMessage(const char *value)
const Aws::String & GetOriginalMessage() const
int GetOriginalStatusCode() const
bool OriginalMessageHasBeenSet() const
bool LogStreamArnHasBeenSet() const
ModelError & WithMessage(const Aws::String &value)
bool MessageHasBeenSet() const
ModelError & WithOriginalMessage(Aws::String &&value)
ModelError & WithLogStreamArn(Aws::String &&value)
void SetMessage(const char *value)
ModelError & WithOriginalMessage(const char *value)
void SetOriginalMessage(Aws::String &&value)
void SetOriginalStatusCode(int value)
ModelError & WithLogStreamArn(const Aws::String &value)
AWS_SAGEMAKERRUNTIME_API ModelError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLogStreamArn(const Aws::String &value)
void SetMessage(Aws::String &&value)
const Aws::String & GetLogStreamArn() const
AWS_SAGEMAKERRUNTIME_API ModelError()
void SetOriginalMessage(const Aws::String &value)
ModelError & WithOriginalStatusCode(int value)
ModelError & WithLogStreamArn(const char *value)
AWS_SAGEMAKERRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
bool OriginalStatusCodeHasBeenSet() const
AWS_SAGEMAKERRUNTIME_API ModelError(Aws::Utils::Json::JsonView jsonValue)
ModelError & WithMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue