7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/NatGatewayAddressStatus.h>
45 template <
typename AllocationIdT = Aws::String>
47 m_allocationIdHasBeenSet =
true;
48 m_allocationId = std::forward<AllocationIdT>(value);
50 template <
typename AllocationIdT = Aws::String>
63 template <
typename NetworkInterfaceIdT = Aws::String>
65 m_networkInterfaceIdHasBeenSet =
true;
66 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
68 template <
typename NetworkInterfaceIdT = Aws::String>
81 template <
typename PrivateIpT = Aws::String>
83 m_privateIpHasBeenSet =
true;
84 m_privateIp = std::forward<PrivateIpT>(value);
86 template <
typename PrivateIpT = Aws::String>
100 template <
typename PublicIpT = Aws::String>
102 m_publicIpHasBeenSet =
true;
103 m_publicIp = std::forward<PublicIpT>(value);
105 template <
typename PublicIpT = Aws::String>
119 template <
typename AssociationIdT = Aws::String>
121 m_associationIdHasBeenSet =
true;
122 m_associationId = std::forward<AssociationIdT>(value);
124 template <
typename AssociationIdT = Aws::String>
138 m_isPrimaryHasBeenSet =
true;
153 template <
typename FailureMessageT = Aws::String>
155 m_failureMessageHasBeenSet =
true;
156 m_failureMessage = std::forward<FailureMessageT>(value);
158 template <
typename FailureMessageT = Aws::String>
172 m_statusHasBeenSet =
true;
188 template <
typename AvailabilityZoneT = Aws::String>
190 m_availabilityZoneHasBeenSet =
true;
191 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
193 template <
typename AvailabilityZoneT = Aws::String>
208 template <
typename AvailabilityZoneIdT = Aws::String>
210 m_availabilityZoneIdHasBeenSet =
true;
211 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
213 template <
typename AvailabilityZoneIdT = Aws::String>
230 bool m_isPrimary{
false};
239 bool m_allocationIdHasBeenSet =
false;
240 bool m_networkInterfaceIdHasBeenSet =
false;
241 bool m_privateIpHasBeenSet =
false;
242 bool m_publicIpHasBeenSet =
false;
243 bool m_associationIdHasBeenSet =
false;
244 bool m_isPrimaryHasBeenSet =
false;
245 bool m_failureMessageHasBeenSet =
false;
246 bool m_statusHasBeenSet =
false;
247 bool m_availabilityZoneHasBeenSet =
false;
248 bool m_availabilityZoneIdHasBeenSet =
false;
NatGatewayAddress & WithStatus(NatGatewayAddressStatus value)
bool FailureMessageHasBeenSet() const
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
NatGatewayAddress & WithIsPrimary(bool value)
NatGatewayAddress & WithPrivateIp(PrivateIpT &&value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
bool GetIsPrimary() const
AWS_EC2_API NatGatewayAddress()=default
void SetPublicIp(PublicIpT &&value)
AWS_EC2_API NatGatewayAddress(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PrivateIpHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AllocationIdHasBeenSet() const
const Aws::String & GetFailureMessage() const
const Aws::String & GetNetworkInterfaceId() const
void SetAllocationId(AllocationIdT &&value)
void SetFailureMessage(FailureMessageT &&value)
bool AssociationIdHasBeenSet() const
const Aws::String & GetAvailabilityZone() const
const Aws::String & GetPublicIp() const
bool AvailabilityZoneIdHasBeenSet() const
NatGatewayAddress & WithAllocationId(AllocationIdT &&value)
NatGatewayAddress & WithPublicIp(PublicIpT &&value)
AWS_EC2_API NatGatewayAddress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetPrivateIp() const
NatGatewayAddress & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool NetworkInterfaceIdHasBeenSet() const
NatGatewayAddress & WithFailureMessage(FailureMessageT &&value)
void SetPrivateIp(PrivateIpT &&value)
bool IsPrimaryHasBeenSet() const
const Aws::String & GetAssociationId() const
bool PublicIpHasBeenSet() const
void SetAssociationId(AssociationIdT &&value)
NatGatewayAddress & WithAssociationId(AssociationIdT &&value)
bool StatusHasBeenSet() const
void SetIsPrimary(bool value)
NatGatewayAddress & WithAvailabilityZone(AvailabilityZoneT &&value)
NatGatewayAddress & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
void SetStatus(NatGatewayAddressStatus value)
const Aws::String & GetAvailabilityZoneId() const
NatGatewayAddressStatus GetStatus() const
const Aws::String & GetAllocationId() const
bool AvailabilityZoneHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream