7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/grafana/model/UpdateInstruction.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ManagedGrafana
60 inline int GetCode()
const{
return m_code; }
62 inline void SetCode(
int value) { m_codeHasBeenSet =
true; m_code = value; }
74 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
82 bool m_causedByHasBeenSet =
false;
85 bool m_codeHasBeenSet =
false;
88 bool m_messageHasBeenSet =
false;
AWS_MANAGEDGRAFANA_API UpdateError()
bool CodeHasBeenSet() const
void SetCausedBy(UpdateInstruction &&value)
bool MessageHasBeenSet() const
void SetMessage(const Aws::String &value)
void SetMessage(const char *value)
const Aws::String & GetMessage() const
UpdateError & WithCausedBy(UpdateInstruction &&value)
const UpdateInstruction & GetCausedBy() const
void SetCausedBy(const UpdateInstruction &value)
UpdateError & WithCausedBy(const UpdateInstruction &value)
void SetMessage(Aws::String &&value)
AWS_MANAGEDGRAFANA_API UpdateError & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateError & WithMessage(const Aws::String &value)
UpdateError & WithMessage(Aws::String &&value)
AWS_MANAGEDGRAFANA_API UpdateError(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
bool CausedByHasBeenSet() const
UpdateError & WithMessage(const char *value)
UpdateError & WithCode(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue