7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/VpcPeeringConnectionStateReasonCode.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;
const VpcPeeringConnectionStateReasonCode & GetCode() const
void SetCode(VpcPeeringConnectionStateReasonCode &&value)
void SetCode(const VpcPeeringConnectionStateReasonCode &value)
void SetMessage(const Aws::String &value)
VpcPeeringConnectionStateReason & WithCode(const VpcPeeringConnectionStateReasonCode &value)
VpcPeeringConnectionStateReason & WithMessage(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API VpcPeeringConnectionStateReason & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool MessageHasBeenSet() const
bool CodeHasBeenSet() const
VpcPeeringConnectionStateReason & WithMessage(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpcPeeringConnectionStateReason & WithMessage(const char *value)
void SetMessage(const char *value)
void SetMessage(Aws::String &&value)
AWS_EC2_API VpcPeeringConnectionStateReason(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API VpcPeeringConnectionStateReason()
const Aws::String & GetMessage() const
VpcPeeringConnectionStateReason & WithCode(VpcPeeringConnectionStateReasonCode &&value)
VpcPeeringConnectionStateReasonCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream