7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/IpamByoipAdvertisementType.h>
12#include <aws/ec2/model/IpamByoipCidrState.h>
46 template <
typename IpamResourceDiscoveryIdT = Aws::String>
48 m_ipamResourceDiscoveryIdHasBeenSet =
true;
49 m_ipamResourceDiscoveryId = std::forward<IpamResourceDiscoveryIdT>(value);
51 template <
typename IpamResourceDiscoveryIdT = Aws::String>
64 template <
typename ResourceRegionT = Aws::String>
66 m_resourceRegionHasBeenSet =
true;
67 m_resourceRegion = std::forward<ResourceRegionT>(value);
69 template <
typename ResourceRegionT = Aws::String>
82 template <
typename ResourceOwnerIdT = Aws::String>
84 m_resourceOwnerIdHasBeenSet =
true;
85 m_resourceOwnerId = std::forward<ResourceOwnerIdT>(value);
87 template <
typename ResourceOwnerIdT = Aws::String>
100 template <
typename C
idrT = Aws::String>
102 m_cidrHasBeenSet =
true;
103 m_cidr = std::forward<CidrT>(value);
105 template <
typename C
idrT = Aws::String>
107 SetCidr(std::forward<CidrT>(value));
118 template <
typename AsnT = Aws::String>
120 m_asnHasBeenSet =
true;
121 m_asn = std::forward<AsnT>(value);
123 template <
typename AsnT = Aws::String>
125 SetAsn(std::forward<AsnT>(value));
146 m_stateHasBeenSet =
true;
166 m_advertisementTypeHasBeenSet =
true;
167 m_advertisementType = value;
181 template <
typename NetworkBorderGroupT = Aws::String>
183 m_networkBorderGroupHasBeenSet =
true;
184 m_networkBorderGroup = std::forward<NetworkBorderGroupT>(value);
186 template <
typename NetworkBorderGroupT = Aws::String>
199 template <
typename PoolIdT = Aws::String>
201 m_poolIdHasBeenSet =
true;
202 m_poolId = std::forward<PoolIdT>(value);
204 template <
typename PoolIdT = Aws::String>
217 template <
typename IpamPoolIdT = Aws::String>
219 m_ipamPoolIdHasBeenSet =
true;
220 m_ipamPoolId = std::forward<IpamPoolIdT>(value);
222 template <
typename IpamPoolIdT = Aws::String>
235 template <
typename SampleTimeT = Aws::Utils::DateTime>
237 m_sampleTimeHasBeenSet =
true;
238 m_sampleTime = std::forward<SampleTimeT>(value);
240 template <
typename SampleTimeT = Aws::Utils::DateTime>
268 bool m_ipamResourceDiscoveryIdHasBeenSet =
false;
269 bool m_resourceRegionHasBeenSet =
false;
270 bool m_resourceOwnerIdHasBeenSet =
false;
271 bool m_cidrHasBeenSet =
false;
272 bool m_asnHasBeenSet =
false;
273 bool m_stateHasBeenSet =
false;
274 bool m_advertisementTypeHasBeenSet =
false;
275 bool m_networkBorderGroupHasBeenSet =
false;
276 bool m_poolIdHasBeenSet =
false;
277 bool m_ipamPoolIdHasBeenSet =
false;
278 bool m_sampleTimeHasBeenSet =
false;
const Aws::String & GetPoolId() const
IpamByoipCidrState GetState() const
const Aws::String & GetIpamPoolId() const
IpamDiscoveredRoute & WithSampleTime(SampleTimeT &&value)
bool SampleTimeHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSampleTime(SampleTimeT &&value)
IpamDiscoveredRoute & WithState(IpamByoipCidrState value)
void SetPoolId(PoolIdT &&value)
IpamByoipAdvertisementType GetAdvertisementType() const
void SetResourceOwnerId(ResourceOwnerIdT &&value)
bool ResourceOwnerIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetResourceRegion() const
void SetIpamPoolId(IpamPoolIdT &&value)
void SetCidr(CidrT &&value)
AWS_EC2_API IpamDiscoveredRoute(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamDiscoveredRoute & WithIpamPoolId(IpamPoolIdT &&value)
AWS_EC2_API IpamDiscoveredRoute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool IpamPoolIdHasBeenSet() const
const Aws::String & GetCidr() const
void SetNetworkBorderGroup(NetworkBorderGroupT &&value)
bool AdvertisementTypeHasBeenSet() const
IpamDiscoveredRoute & WithAsn(AsnT &&value)
IpamDiscoveredRoute & WithAdvertisementType(IpamByoipAdvertisementType value)
bool PoolIdHasBeenSet() const
void SetAsn(AsnT &&value)
IpamDiscoveredRoute & WithResourceOwnerId(ResourceOwnerIdT &&value)
void SetAdvertisementType(IpamByoipAdvertisementType value)
IpamDiscoveredRoute & WithCidr(CidrT &&value)
AWS_EC2_API IpamDiscoveredRoute()=default
IpamDiscoveredRoute & WithIpamResourceDiscoveryId(IpamResourceDiscoveryIdT &&value)
bool IpamResourceDiscoveryIdHasBeenSet() const
bool CidrHasBeenSet() const
void SetIpamResourceDiscoveryId(IpamResourceDiscoveryIdT &&value)
const Aws::String & GetResourceOwnerId() const
void SetState(IpamByoipCidrState value)
bool StateHasBeenSet() const
void SetResourceRegion(ResourceRegionT &&value)
bool ResourceRegionHasBeenSet() const
IpamDiscoveredRoute & WithResourceRegion(ResourceRegionT &&value)
const Aws::String & GetIpamResourceDiscoveryId() const
const Aws::Utils::DateTime & GetSampleTime() const
bool AsnHasBeenSet() const
IpamDiscoveredRoute & WithPoolId(PoolIdT &&value)
bool NetworkBorderGroupHasBeenSet() const
const Aws::String & GetAsn() const
const Aws::String & GetNetworkBorderGroup() const
IpamDiscoveredRoute & WithNetworkBorderGroup(NetworkBorderGroupT &&value)
IpamByoipAdvertisementType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream