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>
48 template<
typename CodeT = Aws::String>
49 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
50 template<
typename CodeT = Aws::String>
60 template<
typename MessageT = Aws::String>
61 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
62 template<
typename MessageT = Aws::String>
68 bool m_codeHasBeenSet =
false;
71 bool m_messageHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
AWS_EC2_API SpotInstanceStateFault()=default
void SetCode(CodeT &&value)
AWS_EC2_API SpotInstanceStateFault & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetCode() const
bool MessageHasBeenSet() const
AWS_EC2_API SpotInstanceStateFault(const Aws::Utils::Xml::XmlNode &xmlNode)
SpotInstanceStateFault & WithCode(CodeT &&value)
SpotInstanceStateFault & WithMessage(MessageT &&value)
bool CodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream