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