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