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