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>
55 template<
typename MessageT = Aws::String>
56 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
57 template<
typename MessageT = Aws::String>
67 template<
typename CodeT = Aws::String>
68 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
69 template<
typename CodeT = Aws::String>
75 bool m_messageHasBeenSet =
false;
78 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