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