7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iam/IAM_EXPORTS.h>
49 template <
typename MessageT = Aws::String>
51 m_messageHasBeenSet =
true;
52 m_message = std::forward<MessageT>(value);
54 template <
typename MessageT = Aws::String>
67 template <
typename CodeT = Aws::String>
69 m_codeHasBeenSet =
true;
70 m_code = std::forward<CodeT>(value);
72 template <
typename CodeT = Aws::String>
74 SetCode(std::forward<CodeT>(value));
82 bool m_messageHasBeenSet =
false;
83 bool m_codeHasBeenSet =
false;
ErrorDetails & WithMessage(MessageT &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool CodeHasBeenSet() const
void SetCode(CodeT &&value)
const Aws::String & GetCode() const
ErrorDetails & WithCode(CodeT &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_IAM_API ErrorDetails()=default
bool MessageHasBeenSet() const
AWS_IAM_API ErrorDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_IAM_API ErrorDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(MessageT &&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