7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
54 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
68 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
76 bool m_messageHasBeenSet =
false;
79 bool m_codeHasBeenSet =
false;
AWS_IAM_API ErrorDetails()
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ErrorDetails & WithCode(const Aws::String &value)
void SetCode(Aws::String &&value)
bool CodeHasBeenSet() const
ErrorDetails & WithMessage(const Aws::String &value)
const Aws::String & GetCode() const
void SetMessage(const Aws::String &value)
void SetCode(const char *value)
void SetMessage(const char *value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool MessageHasBeenSet() const
ErrorDetails & WithMessage(Aws::String &&value)
ErrorDetails & WithCode(const char *value)
ErrorDetails & WithMessage(const char *value)
AWS_IAM_API ErrorDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
ErrorDetails & WithCode(Aws::String &&value)
AWS_IAM_API ErrorDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCode(const Aws::String &value)
void SetMessage(Aws::String &&value)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream