7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/IpamPoolCidrFailureCode.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
64 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
72 bool m_codeHasBeenSet =
false;
75 bool m_messageHasBeenSet =
false;
AWS_EC2_API IpamPoolCidrFailureReason()
IpamPoolCidrFailureReason & WithMessage(const Aws::String &value)
IpamPoolCidrFailureReason & WithMessage(const char *value)
IpamPoolCidrFailureReason & WithCode(IpamPoolCidrFailureCode &&value)
void SetCode(IpamPoolCidrFailureCode &&value)
IpamPoolCidrFailureReason & WithCode(const IpamPoolCidrFailureCode &value)
const IpamPoolCidrFailureCode & GetCode() const
const Aws::String & GetMessage() const
AWS_EC2_API IpamPoolCidrFailureReason & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool MessageHasBeenSet() const
void SetMessage(const Aws::String &value)
AWS_EC2_API IpamPoolCidrFailureReason(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(const char *value)
bool CodeHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
IpamPoolCidrFailureReason & WithMessage(Aws::String &&value)
void SetMessage(Aws::String &&value)
void SetCode(const IpamPoolCidrFailureCode &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