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