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