7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/IpamRoutingPolicyRegistrationState.h>
46 template <
typename C
idrT = Aws::String>
48 m_cidrHasBeenSet =
true;
49 m_cidr = std::forward<CidrT>(value);
51 template <
typename C
idrT = Aws::String>
53 SetCidr(std::forward<CidrT>(value));
64 template <
typename AsnsT = Aws::Vector<Aws::String>>
66 m_asnsHasBeenSet =
true;
67 m_asns = std::forward<AsnsT>(value);
69 template <
typename AsnsT = Aws::Vector<Aws::String>>
71 SetAsns(std::forward<AsnsT>(value));
74 template <
typename AsnsT = Aws::String>
76 m_asnsHasBeenSet =
true;
77 m_asns.emplace_back(std::forward<AsnsT>(value));
91 m_permitMoreSpecificAnnouncementsHasBeenSet =
true;
92 m_permitMoreSpecificAnnouncements = value;
107 m_maxLengthHasBeenSet =
true;
122 template <
typename DescriptionT = Aws::String>
124 m_descriptionHasBeenSet =
true;
125 m_description = std::forward<DescriptionT>(value);
127 template <
typename DescriptionT = Aws::String>
140 template <
typename LatestDeltaIdT = Aws::String>
142 m_latestDeltaIdHasBeenSet =
true;
143 m_latestDeltaId = std::forward<LatestDeltaIdT>(value);
145 template <
typename LatestDeltaIdT = Aws::String>
163 m_stateHasBeenSet =
true;
176 bool m_permitMoreSpecificAnnouncements{
false};
185 bool m_cidrHasBeenSet =
false;
186 bool m_asnsHasBeenSet =
false;
187 bool m_permitMoreSpecificAnnouncementsHasBeenSet =
false;
188 bool m_maxLengthHasBeenSet =
false;
189 bool m_descriptionHasBeenSet =
false;
190 bool m_latestDeltaIdHasBeenSet =
false;
191 bool m_stateHasBeenSet =
false;
bool CidrHasBeenSet() const
AWS_EC2_API IpamRoutingPolicyRegistration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMaxLength(int value)
void SetPermitMoreSpecificAnnouncements(bool value)
AWS_EC2_API IpamRoutingPolicyRegistration(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamRoutingPolicyRegistration & WithMaxLength(int value)
IpamRoutingPolicyRegistration & AddAsns(AsnsT &&value)
IpamRoutingPolicyRegistration & WithCidr(CidrT &&value)
bool StateHasBeenSet() const
bool LatestDeltaIdHasBeenSet() const
bool PermitMoreSpecificAnnouncementsHasBeenSet() const
AWS_EC2_API IpamRoutingPolicyRegistration()=default
bool GetPermitMoreSpecificAnnouncements() const
const Aws::String & GetDescription() const
IpamRoutingPolicyRegistration & WithDescription(DescriptionT &&value)
bool AsnsHasBeenSet() const
const Aws::String & GetLatestDeltaId() const
const Aws::Vector< Aws::String > & GetAsns() const
IpamRoutingPolicyRegistration & WithPermitMoreSpecificAnnouncements(bool value)
IpamRoutingPolicyRegistration & WithState(IpamRoutingPolicyRegistrationState value)
IpamRoutingPolicyRegistration & WithAsns(AsnsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetLatestDeltaId(LatestDeltaIdT &&value)
void SetState(IpamRoutingPolicyRegistrationState value)
bool DescriptionHasBeenSet() const
const Aws::String & GetCidr() const
IpamRoutingPolicyRegistrationState GetState() const
void SetDescription(DescriptionT &&value)
void SetCidr(CidrT &&value)
void SetAsns(AsnsT &&value)
bool MaxLengthHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
IpamRoutingPolicyRegistration & WithLatestDeltaId(LatestDeltaIdT &&value)
IpamRoutingPolicyRegistrationState
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