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/NatGatewayAddressStatus.h>
53 inline void SetAllocationId(
const char* value) { m_allocationIdHasBeenSet =
true; m_allocationId.assign(value); }
67 inline void SetNetworkInterfaceId(
const char* value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId.assign(value); }
81 inline void SetPrivateIp(
const char* value) { m_privateIpHasBeenSet =
true; m_privateIp.assign(value); }
96 inline void SetPublicIp(
const char* value) { m_publicIpHasBeenSet =
true; m_publicIp.assign(value); }
111 inline void SetAssociationId(
const char* value) { m_associationIdHasBeenSet =
true; m_associationId.assign(value); }
123 inline void SetIsPrimary(
bool value) { m_isPrimaryHasBeenSet =
true; m_isPrimary = value; }
135 inline void SetFailureMessage(
const char* value) { m_failureMessageHasBeenSet =
true; m_failureMessage.assign(value); }
155 bool m_allocationIdHasBeenSet =
false;
158 bool m_networkInterfaceIdHasBeenSet =
false;
161 bool m_privateIpHasBeenSet =
false;
164 bool m_publicIpHasBeenSet =
false;
167 bool m_associationIdHasBeenSet =
false;
170 bool m_isPrimaryHasBeenSet =
false;
173 bool m_failureMessageHasBeenSet =
false;
176 bool m_statusHasBeenSet =
false;
void SetFailureMessage(Aws::String &&value)
void SetAllocationId(const Aws::String &value)
void SetAllocationId(const char *value)
NatGatewayAddress & WithAssociationId(const char *value)
NatGatewayAddress & WithAllocationId(Aws::String &&value)
bool FailureMessageHasBeenSet() const
void SetPrivateIp(Aws::String &&value)
void SetPublicIp(const char *value)
NatGatewayAddress & WithPrivateIp(Aws::String &&value)
NatGatewayAddress & WithAssociationId(const Aws::String &value)
NatGatewayAddress & WithIsPrimary(bool value)
NatGatewayAddress & WithNetworkInterfaceId(const Aws::String &value)
NatGatewayAddress & WithStatus(NatGatewayAddressStatus &&value)
NatGatewayAddress & WithNetworkInterfaceId(Aws::String &&value)
NatGatewayAddress & WithStatus(const NatGatewayAddressStatus &value)
void SetStatus(NatGatewayAddressStatus &&value)
bool GetIsPrimary() const
NatGatewayAddress & WithAssociationId(Aws::String &&value)
void SetAllocationId(Aws::String &&value)
AWS_EC2_API NatGatewayAddress(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PrivateIpHasBeenSet() const
void SetPrivateIp(const Aws::String &value)
NatGatewayAddress & WithFailureMessage(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NatGatewayAddress & WithPublicIp(Aws::String &&value)
bool AllocationIdHasBeenSet() const
NatGatewayAddress & WithPrivateIp(const Aws::String &value)
const Aws::String & GetFailureMessage() const
const Aws::String & GetNetworkInterfaceId() const
void SetAssociationId(Aws::String &&value)
void SetFailureMessage(const char *value)
void SetNetworkInterfaceId(Aws::String &&value)
NatGatewayAddress & WithPrivateIp(const char *value)
NatGatewayAddress & WithAllocationId(const char *value)
NatGatewayAddress & WithPublicIp(const Aws::String &value)
bool AssociationIdHasBeenSet() const
const Aws::String & GetPublicIp() const
const NatGatewayAddressStatus & GetStatus() const
void SetStatus(const NatGatewayAddressStatus &value)
AWS_EC2_API NatGatewayAddress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetPrivateIp() const
void SetPublicIp(Aws::String &&value)
bool NetworkInterfaceIdHasBeenSet() const
void SetNetworkInterfaceId(const char *value)
bool IsPrimaryHasBeenSet() const
const Aws::String & GetAssociationId() const
bool PublicIpHasBeenSet() const
NatGatewayAddress & WithFailureMessage(const char *value)
AWS_EC2_API NatGatewayAddress()
NatGatewayAddress & WithAllocationId(const Aws::String &value)
NatGatewayAddress & WithFailureMessage(Aws::String &&value)
void SetAssociationId(const char *value)
void SetFailureMessage(const Aws::String &value)
bool StatusHasBeenSet() const
void SetIsPrimary(bool value)
NatGatewayAddress & WithPublicIp(const char *value)
void SetAssociationId(const Aws::String &value)
void SetPrivateIp(const char *value)
const Aws::String & GetAllocationId() const
void SetNetworkInterfaceId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NatGatewayAddress & WithNetworkInterfaceId(const char *value)
void SetPublicIp(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream