7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/grafana/ManagedGrafana_EXPORTS.h>
9#include <aws/grafana/model/UpdateInstruction.h>
20namespace ManagedGrafana {
44 template <
typename CausedByT = UpdateInstruction>
46 m_causedByHasBeenSet =
true;
47 m_causedBy = std::forward<CausedByT>(value);
49 template <
typename CausedByT = UpdateInstruction>
60 inline int GetCode()
const {
return m_code; }
63 m_codeHasBeenSet =
true;
78 template <
typename MessageT = Aws::String>
80 m_messageHasBeenSet =
true;
81 m_message = std::forward<MessageT>(value);
83 template <
typename MessageT = Aws::String>
95 bool m_causedByHasBeenSet =
false;
96 bool m_codeHasBeenSet =
false;
97 bool m_messageHasBeenSet =
false;
UpdateError & WithCausedBy(CausedByT &&value)
AWS_MANAGEDGRAFANA_API UpdateError()=default
bool CodeHasBeenSet() const
bool MessageHasBeenSet() const
void SetCausedBy(CausedByT &&value)
UpdateError & WithMessage(MessageT &&value)
const Aws::String & GetMessage() const
const UpdateInstruction & GetCausedBy() const
AWS_MANAGEDGRAFANA_API UpdateError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API UpdateError(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
bool CausedByHasBeenSet() const
void SetMessage(MessageT &&value)
UpdateError & WithCode(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue