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>
55 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
72 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
80 bool m_codeHasBeenSet =
false;
83 bool m_messageHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ValidationError & WithMessage(Aws::String &&value)
const Aws::String & GetMessage() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCode(const char *value)
bool MessageHasBeenSet() const
ValidationError & WithMessage(const Aws::String &value)
AWS_EC2_API ValidationError & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(const char *value)
ValidationError & WithMessage(const char *value)
void SetCode(const Aws::String &value)
bool CodeHasBeenSet() const
const Aws::String & GetCode() const
ValidationError & WithCode(const Aws::String &value)
ValidationError & WithCode(const char *value)
void SetCode(Aws::String &&value)
void SetMessage(Aws::String &&value)
ValidationError & WithCode(Aws::String &&value)
AWS_EC2_API ValidationError()
AWS_EC2_API ValidationError(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream