/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include In a CreateResolverRule request, an array of the IPs that you want to
* forward DNS queries to.See Also:
AWS
* API Reference
One IP address that you want to forward DNS queries to. You can specify only * IPv4 addresses.
*/ inline const Aws::String& GetIp() const{ return m_ip; } /** *One IP address that you want to forward DNS queries to. You can specify only * IPv4 addresses.
*/ inline bool IpHasBeenSet() const { return m_ipHasBeenSet; } /** *One IP address that you want to forward DNS queries to. You can specify only * IPv4 addresses.
*/ inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; } /** *One IP address that you want to forward DNS queries to. You can specify only * IPv4 addresses.
*/ inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); } /** *One IP address that you want to forward DNS queries to. You can specify only * IPv4 addresses.
*/ inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); } /** *One IP address that you want to forward DNS queries to. You can specify only * IPv4 addresses.
*/ inline TargetAddress& WithIp(const Aws::String& value) { SetIp(value); return *this;} /** *One IP address that you want to forward DNS queries to. You can specify only * IPv4 addresses.
*/ inline TargetAddress& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;} /** *One IP address that you want to forward DNS queries to. You can specify only * IPv4 addresses.
*/ inline TargetAddress& WithIp(const char* value) { SetIp(value); return *this;} /** *The port at Ip that you want to forward DNS queries to.
The port at Ip that you want to forward DNS queries to.
The port at Ip that you want to forward DNS queries to.
The port at Ip that you want to forward DNS queries to.