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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/ByoipCidrState.h>
12#include <aws/ec2/model/AsnAssociation.h>
55 inline void SetCidr(
const char* value) { m_cidrHasBeenSet =
true; m_cidr.assign(value); }
69 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
98 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
147 inline void SetNetworkBorderGroup(
const char* value) { m_networkBorderGroupHasBeenSet =
true; m_networkBorderGroup.assign(value); }
155 bool m_cidrHasBeenSet =
false;
158 bool m_descriptionHasBeenSet =
false;
161 bool m_asnAssociationsHasBeenSet =
false;
164 bool m_statusMessageHasBeenSet =
false;
167 bool m_stateHasBeenSet =
false;
170 bool m_networkBorderGroupHasBeenSet =
false;
ByoipCidr & WithDescription(const Aws::String &value)
void SetCidr(Aws::String &&value)
void SetNetworkBorderGroup(const Aws::String &value)
void SetDescription(const Aws::String &value)
ByoipCidr & WithCidr(Aws::String &&value)
ByoipCidr & WithDescription(Aws::String &&value)
ByoipCidr & AddAsnAssociations(const AsnAssociation &value)
ByoipCidr & WithAsnAssociations(const Aws::Vector< AsnAssociation > &value)
ByoipCidr & WithAsnAssociations(Aws::Vector< AsnAssociation > &&value)
void SetStatusMessage(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ByoipCidr & WithNetworkBorderGroup(Aws::String &&value)
ByoipCidr & AddAsnAssociations(AsnAssociation &&value)
void SetState(const ByoipCidrState &value)
const Aws::String & GetDescription() const
bool StatusMessageHasBeenSet() const
const Aws::String & GetCidr() const
ByoipCidr & WithStatusMessage(Aws::String &&value)
const Aws::String & GetNetworkBorderGroup() const
void SetCidr(const char *value)
ByoipCidr & WithNetworkBorderGroup(const char *value)
bool StateHasBeenSet() const
bool NetworkBorderGroupHasBeenSet() const
bool CidrHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API ByoipCidr & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ByoipCidr & WithCidr(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
bool AsnAssociationsHasBeenSet() const
void SetStatusMessage(const Aws::String &value)
void SetAsnAssociations(const Aws::Vector< AsnAssociation > &value)
ByoipCidr & WithStatusMessage(const char *value)
const Aws::String & GetStatusMessage() const
void SetNetworkBorderGroup(const char *value)
AWS_EC2_API ByoipCidr(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetState(ByoipCidrState &&value)
bool DescriptionHasBeenSet() const
void SetNetworkBorderGroup(Aws::String &&value)
const ByoipCidrState & GetState() const
ByoipCidr & WithState(const ByoipCidrState &value)
const Aws::Vector< AsnAssociation > & GetAsnAssociations() const
ByoipCidr & WithNetworkBorderGroup(const Aws::String &value)
ByoipCidr & WithDescription(const char *value)
void SetCidr(const Aws::String &value)
void SetAsnAssociations(Aws::Vector< AsnAssociation > &&value)
void SetDescription(const char *value)
ByoipCidr & WithStatusMessage(const Aws::String &value)
ByoipCidr & WithState(ByoipCidrState &&value)
void SetDescription(Aws::String &&value)
ByoipCidr & WithCidr(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream