/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include IP address block. This is often the address block of the DNS server used for
* your self-managed domain. See Also:
AWS API
* Reference
IP address block using CIDR format, for example 10.0.0.0/24. This is often * the address block of the DNS server used for your self-managed domain. For a * single IP address use a CIDR address block with /32. For example * 10.0.0.0/32.
*/ inline const Aws::String& GetCidrIp() const{ return m_cidrIp; } /** *IP address block using CIDR format, for example 10.0.0.0/24. This is often * the address block of the DNS server used for your self-managed domain. For a * single IP address use a CIDR address block with /32. For example * 10.0.0.0/32.
*/ inline bool CidrIpHasBeenSet() const { return m_cidrIpHasBeenSet; } /** *IP address block using CIDR format, for example 10.0.0.0/24. This is often * the address block of the DNS server used for your self-managed domain. For a * single IP address use a CIDR address block with /32. For example * 10.0.0.0/32.
*/ inline void SetCidrIp(const Aws::String& value) { m_cidrIpHasBeenSet = true; m_cidrIp = value; } /** *IP address block using CIDR format, for example 10.0.0.0/24. This is often * the address block of the DNS server used for your self-managed domain. For a * single IP address use a CIDR address block with /32. For example * 10.0.0.0/32.
*/ inline void SetCidrIp(Aws::String&& value) { m_cidrIpHasBeenSet = true; m_cidrIp = std::move(value); } /** *IP address block using CIDR format, for example 10.0.0.0/24. This is often * the address block of the DNS server used for your self-managed domain. For a * single IP address use a CIDR address block with /32. For example * 10.0.0.0/32.
*/ inline void SetCidrIp(const char* value) { m_cidrIpHasBeenSet = true; m_cidrIp.assign(value); } /** *IP address block using CIDR format, for example 10.0.0.0/24. This is often * the address block of the DNS server used for your self-managed domain. For a * single IP address use a CIDR address block with /32. For example * 10.0.0.0/32.
*/ inline IpRoute& WithCidrIp(const Aws::String& value) { SetCidrIp(value); return *this;} /** *IP address block using CIDR format, for example 10.0.0.0/24. This is often * the address block of the DNS server used for your self-managed domain. For a * single IP address use a CIDR address block with /32. For example * 10.0.0.0/32.
*/ inline IpRoute& WithCidrIp(Aws::String&& value) { SetCidrIp(std::move(value)); return *this;} /** *IP address block using CIDR format, for example 10.0.0.0/24. This is often * the address block of the DNS server used for your self-managed domain. For a * single IP address use a CIDR address block with /32. For example * 10.0.0.0/32.
*/ inline IpRoute& WithCidrIp(const char* value) { SetCidrIp(value); return *this;} /** *Description of the address block.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *Description of the address block.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *Description of the address block.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *Description of the address block.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *Description of the address block.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *Description of the address block.
*/ inline IpRoute& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *Description of the address block.
*/ inline IpRoute& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *Description of the address block.
*/ inline IpRoute& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_cidrIp; bool m_cidrIpHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws