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>
51 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
65 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
73 bool m_codeHasBeenSet =
false;
76 bool m_messageHasBeenSet =
false;
void SetCode(const Aws::String &value)
void SetCode(const char *value)
void SetMessage(const char *value)
AWS_EC2_API CancelCapacityReservationFleetError(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API CancelCapacityReservationFleetError()
void SetCode(Aws::String &&value)
AWS_EC2_API CancelCapacityReservationFleetError & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CodeHasBeenSet() const
const Aws::String & GetCode() const
const Aws::String & GetMessage() const
void SetMessage(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CancelCapacityReservationFleetError & WithCode(Aws::String &&value)
CancelCapacityReservationFleetError & WithCode(const Aws::String &value)
bool MessageHasBeenSet() const
CancelCapacityReservationFleetError & WithMessage(const char *value)
void SetMessage(Aws::String &&value)
CancelCapacityReservationFleetError & WithMessage(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CancelCapacityReservationFleetError & WithCode(const char *value)
CancelCapacityReservationFleetError & WithMessage(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