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>
10#include <aws/core/utils/DateTime.h>
54 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
68 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
89 bool m_codeHasBeenSet =
false;
92 bool m_messageHasBeenSet =
false;
95 bool m_updateTimeHasBeenSet =
false;
const Aws::String & GetMessage() const
SpotInstanceStatus & WithMessage(const char *value)
void SetCode(const Aws::String &value)
SpotInstanceStatus & WithUpdateTime(const Aws::Utils::DateTime &value)
bool MessageHasBeenSet() const
void SetMessage(const Aws::String &value)
void SetMessage(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool CodeHasBeenSet() const
void SetUpdateTime(const Aws::Utils::DateTime &value)
AWS_EC2_API SpotInstanceStatus()
SpotInstanceStatus & WithCode(Aws::String &&value)
bool UpdateTimeHasBeenSet() const
SpotInstanceStatus & WithCode(const Aws::String &value)
void SetCode(const char *value)
AWS_EC2_API SpotInstanceStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(Aws::String &&value)
AWS_EC2_API SpotInstanceStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SpotInstanceStatus & WithMessage(const Aws::String &value)
SpotInstanceStatus & WithUpdateTime(Aws::Utils::DateTime &&value)
void SetCode(Aws::String &&value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Utils::DateTime & GetUpdateTime() const
SpotInstanceStatus & WithMessage(Aws::String &&value)
const Aws::String & GetCode() const
SpotInstanceStatus & WithCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream