/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include In the response to a GetResolverEndpoint
* request, information about the IP addresses that the Resolver endpoint uses for
* DNS queries.See Also:
AWS
* API Reference
The ID of one IP address.
*/ inline const Aws::String& GetIpId() const{ return m_ipId; } /** *The ID of one IP address.
*/ inline bool IpIdHasBeenSet() const { return m_ipIdHasBeenSet; } /** *The ID of one IP address.
*/ inline void SetIpId(const Aws::String& value) { m_ipIdHasBeenSet = true; m_ipId = value; } /** *The ID of one IP address.
*/ inline void SetIpId(Aws::String&& value) { m_ipIdHasBeenSet = true; m_ipId = std::move(value); } /** *The ID of one IP address.
*/ inline void SetIpId(const char* value) { m_ipIdHasBeenSet = true; m_ipId.assign(value); } /** *The ID of one IP address.
*/ inline IpAddressResponse& WithIpId(const Aws::String& value) { SetIpId(value); return *this;} /** *The ID of one IP address.
*/ inline IpAddressResponse& WithIpId(Aws::String&& value) { SetIpId(std::move(value)); return *this;} /** *The ID of one IP address.
*/ inline IpAddressResponse& WithIpId(const char* value) { SetIpId(value); return *this;} /** *The ID of one subnet.
*/ inline const Aws::String& GetSubnetId() const{ return m_subnetId; } /** *The ID of one subnet.
*/ inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; } /** *The ID of one subnet.
*/ inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; } /** *The ID of one subnet.
*/ inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); } /** *The ID of one subnet.
*/ inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); } /** *The ID of one subnet.
*/ inline IpAddressResponse& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;} /** *The ID of one subnet.
*/ inline IpAddressResponse& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;} /** *The ID of one subnet.
*/ inline IpAddressResponse& WithSubnetId(const char* value) { SetSubnetId(value); return *this;} /** *One IPv4 address that the Resolver endpoint uses for DNS queries.
*/ inline const Aws::String& GetIp() const{ return m_ip; } /** *One IPv4 address that the Resolver endpoint uses for DNS queries.
*/ inline bool IpHasBeenSet() const { return m_ipHasBeenSet; } /** *One IPv4 address that the Resolver endpoint uses for DNS queries.
*/ inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; } /** *One IPv4 address that the Resolver endpoint uses for DNS queries.
*/ inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); } /** *One IPv4 address that the Resolver endpoint uses for DNS queries.
*/ inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); } /** *One IPv4 address that the Resolver endpoint uses for DNS queries.
*/ inline IpAddressResponse& WithIp(const Aws::String& value) { SetIp(value); return *this;} /** *One IPv4 address that the Resolver endpoint uses for DNS queries.
*/ inline IpAddressResponse& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;} /** *One IPv4 address that the Resolver endpoint uses for DNS queries.
*/ inline IpAddressResponse& WithIp(const char* value) { SetIp(value); return *this;} /** *One IPv6 address that the Resolver endpoint uses for DNS queries.
*/ inline const Aws::String& GetIpv6() const{ return m_ipv6; } /** *One IPv6 address that the Resolver endpoint uses for DNS queries.
*/ inline bool Ipv6HasBeenSet() const { return m_ipv6HasBeenSet; } /** *One IPv6 address that the Resolver endpoint uses for DNS queries.
*/ inline void SetIpv6(const Aws::String& value) { m_ipv6HasBeenSet = true; m_ipv6 = value; } /** *One IPv6 address that the Resolver endpoint uses for DNS queries.
*/ inline void SetIpv6(Aws::String&& value) { m_ipv6HasBeenSet = true; m_ipv6 = std::move(value); } /** *One IPv6 address that the Resolver endpoint uses for DNS queries.
*/ inline void SetIpv6(const char* value) { m_ipv6HasBeenSet = true; m_ipv6.assign(value); } /** *One IPv6 address that the Resolver endpoint uses for DNS queries.
*/ inline IpAddressResponse& WithIpv6(const Aws::String& value) { SetIpv6(value); return *this;} /** *One IPv6 address that the Resolver endpoint uses for DNS queries.
*/ inline IpAddressResponse& WithIpv6(Aws::String&& value) { SetIpv6(std::move(value)); return *this;} /** *One IPv6 address that the Resolver endpoint uses for DNS queries.
*/ inline IpAddressResponse& WithIpv6(const char* value) { SetIpv6(value); return *this;} /** *A status code that gives the current status of the request.
*/ inline const IpAddressStatus& GetStatus() const{ return m_status; } /** *A status code that gives the current status of the request.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *A status code that gives the current status of the request.
*/ inline void SetStatus(const IpAddressStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *A status code that gives the current status of the request.
*/ inline void SetStatus(IpAddressStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *A status code that gives the current status of the request.
*/ inline IpAddressResponse& WithStatus(const IpAddressStatus& value) { SetStatus(value); return *this;} /** *A status code that gives the current status of the request.
*/ inline IpAddressResponse& WithStatus(IpAddressStatus&& value) { SetStatus(std::move(value)); return *this;} /** *A message that provides additional information about the status of the * request.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *A message that provides additional information about the status of the * request.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *A message that provides additional information about the status of the * request.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *A message that provides additional information about the status of the * request.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *A message that provides additional information about the status of the * request.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *A message that provides additional information about the status of the * request.
*/ inline IpAddressResponse& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *A message that provides additional information about the status of the * request.
*/ inline IpAddressResponse& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *A message that provides additional information about the status of the * request.
*/ inline IpAddressResponse& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *The date and time that the IP address was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline const Aws::String& GetCreationTime() const{ return m_creationTime; } /** *The date and time that the IP address was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The date and time that the IP address was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline void SetCreationTime(const Aws::String& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The date and time that the IP address was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline void SetCreationTime(Aws::String&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The date and time that the IP address was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline void SetCreationTime(const char* value) { m_creationTimeHasBeenSet = true; m_creationTime.assign(value); } /** *The date and time that the IP address was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline IpAddressResponse& WithCreationTime(const Aws::String& value) { SetCreationTime(value); return *this;} /** *The date and time that the IP address was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline IpAddressResponse& WithCreationTime(Aws::String&& value) { SetCreationTime(std::move(value)); return *this;} /** *The date and time that the IP address was created, in Unix time format and * Coordinated Universal Time (UTC).
*/ inline IpAddressResponse& WithCreationTime(const char* value) { SetCreationTime(value); return *this;} /** *The date and time that the IP address was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline const Aws::String& GetModificationTime() const{ return m_modificationTime; } /** *The date and time that the IP address was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline bool ModificationTimeHasBeenSet() const { return m_modificationTimeHasBeenSet; } /** *The date and time that the IP address was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline void SetModificationTime(const Aws::String& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = value; } /** *The date and time that the IP address was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline void SetModificationTime(Aws::String&& value) { m_modificationTimeHasBeenSet = true; m_modificationTime = std::move(value); } /** *The date and time that the IP address was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline void SetModificationTime(const char* value) { m_modificationTimeHasBeenSet = true; m_modificationTime.assign(value); } /** *The date and time that the IP address was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline IpAddressResponse& WithModificationTime(const Aws::String& value) { SetModificationTime(value); return *this;} /** *The date and time that the IP address was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline IpAddressResponse& WithModificationTime(Aws::String&& value) { SetModificationTime(std::move(value)); return *this;} /** *The date and time that the IP address was last modified, in Unix time format * and Coordinated Universal Time (UTC).
*/ inline IpAddressResponse& WithModificationTime(const char* value) { SetModificationTime(value); return *this;} private: Aws::String m_ipId; bool m_ipIdHasBeenSet = false; Aws::String m_subnetId; bool m_subnetIdHasBeenSet = false; Aws::String m_ip; bool m_ipHasBeenSet = false; Aws::String m_ipv6; bool m_ipv6HasBeenSet = false; IpAddressStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::String m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_modificationTime; bool m_modificationTimeHasBeenSet = false; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws