/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Route53Resolver { namespace Model { /** *

Provides information about the IP address type in response to UpdateResolverEndpoint. *

See Also:

AWS * API Reference

*/ class UpdateIpAddress { public: AWS_ROUTE53RESOLVER_API UpdateIpAddress(); AWS_ROUTE53RESOLVER_API UpdateIpAddress(Aws::Utils::Json::JsonView jsonValue); AWS_ROUTE53RESOLVER_API UpdateIpAddress& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ROUTE53RESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of the IP address, specified by the ResolverEndpointId. *

*/ inline const Aws::String& GetIpId() const{ return m_ipId; } /** *

The ID of the IP address, specified by the ResolverEndpointId. *

*/ inline bool IpIdHasBeenSet() const { return m_ipIdHasBeenSet; } /** *

The ID of the IP address, specified by the ResolverEndpointId. *

*/ inline void SetIpId(const Aws::String& value) { m_ipIdHasBeenSet = true; m_ipId = value; } /** *

The ID of the IP address, specified by the ResolverEndpointId. *

*/ inline void SetIpId(Aws::String&& value) { m_ipIdHasBeenSet = true; m_ipId = std::move(value); } /** *

The ID of the IP address, specified by the ResolverEndpointId. *

*/ inline void SetIpId(const char* value) { m_ipIdHasBeenSet = true; m_ipId.assign(value); } /** *

The ID of the IP address, specified by the ResolverEndpointId. *

*/ inline UpdateIpAddress& WithIpId(const Aws::String& value) { SetIpId(value); return *this;} /** *

The ID of the IP address, specified by the ResolverEndpointId. *

*/ inline UpdateIpAddress& WithIpId(Aws::String&& value) { SetIpId(std::move(value)); return *this;} /** *

The ID of the IP address, specified by the ResolverEndpointId. *

*/ inline UpdateIpAddress& WithIpId(const char* value) { SetIpId(value); return *this;} /** *

The IPv6 address that you want to use for DNS queries.

*/ inline const Aws::String& GetIpv6() const{ return m_ipv6; } /** *

The IPv6 address that you want to use for DNS queries.

*/ inline bool Ipv6HasBeenSet() const { return m_ipv6HasBeenSet; } /** *

The IPv6 address that you want to use for DNS queries.

*/ inline void SetIpv6(const Aws::String& value) { m_ipv6HasBeenSet = true; m_ipv6 = value; } /** *

The IPv6 address that you want to use for DNS queries.

*/ inline void SetIpv6(Aws::String&& value) { m_ipv6HasBeenSet = true; m_ipv6 = std::move(value); } /** *

The IPv6 address that you want to use for DNS queries.

*/ inline void SetIpv6(const char* value) { m_ipv6HasBeenSet = true; m_ipv6.assign(value); } /** *

The IPv6 address that you want to use for DNS queries.

*/ inline UpdateIpAddress& WithIpv6(const Aws::String& value) { SetIpv6(value); return *this;} /** *

The IPv6 address that you want to use for DNS queries.

*/ inline UpdateIpAddress& WithIpv6(Aws::String&& value) { SetIpv6(std::move(value)); return *this;} /** *

The IPv6 address that you want to use for DNS queries.

*/ inline UpdateIpAddress& WithIpv6(const char* value) { SetIpv6(value); return *this;} private: Aws::String m_ipId; bool m_ipIdHasBeenSet = false; Aws::String m_ipv6; bool m_ipv6HasBeenSet = false; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws