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>
10#include <aws/ec2/model/AsnAssociationState.h>
51 inline void SetAsn(
Aws::String&& value) { m_asnHasBeenSet =
true; m_asn = std::move(value); }
52 inline void SetAsn(
const char* value) { m_asnHasBeenSet =
true; m_asn.assign(value); }
66 inline void SetCidr(
const char* value) { m_cidrHasBeenSet =
true; m_cidr.assign(value); }
80 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
100 bool m_asnHasBeenSet =
false;
103 bool m_cidrHasBeenSet =
false;
106 bool m_statusMessageHasBeenSet =
false;
109 bool m_stateHasBeenSet =
false;
AsnAssociation & WithStatusMessage(Aws::String &&value)
AsnAssociation & WithCidr(Aws::String &&value)
AWS_EC2_API AsnAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API AsnAssociation()
void SetState(AsnAssociationState &&value)
void SetAsn(const Aws::String &value)
void SetAsn(const char *value)
void SetCidr(const Aws::String &value)
const AsnAssociationState & GetState() const
AsnAssociation & WithCidr(const char *value)
const Aws::String & GetAsn() const
AsnAssociation & WithAsn(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool StatusMessageHasBeenSet() const
void SetStatusMessage(const Aws::String &value)
const Aws::String & GetCidr() const
AsnAssociation & WithAsn(Aws::String &&value)
AsnAssociation & WithAsn(const char *value)
AsnAssociation & WithStatusMessage(const char *value)
AsnAssociation & WithCidr(const Aws::String &value)
bool StateHasBeenSet() const
void SetState(const AsnAssociationState &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatusMessage(const char *value)
AsnAssociation & WithState(const AsnAssociationState &value)
void SetStatusMessage(Aws::String &&value)
const Aws::String & GetStatusMessage() const
bool CidrHasBeenSet() const
void SetCidr(Aws::String &&value)
void SetAsn(Aws::String &&value)
bool AsnHasBeenSet() const
AWS_EC2_API AsnAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AsnAssociation & WithStatusMessage(const Aws::String &value)
AsnAssociation & WithState(AsnAssociationState &&value)
void SetCidr(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream