/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Initiates the creation of a conditional forwarder for your Directory Service
* for Microsoft Active Directory. Conditional forwarders are required in order to
* set up a trust relationship with another domain.See Also:
AWS
* API Reference
The directory ID of the Amazon Web Services directory for which you are * creating the conditional forwarder.
*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *The directory ID of the Amazon Web Services directory for which you are * creating the conditional forwarder.
*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *The directory ID of the Amazon Web Services directory for which you are * creating the conditional forwarder.
*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *The directory ID of the Amazon Web Services directory for which you are * creating the conditional forwarder.
*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *The directory ID of the Amazon Web Services directory for which you are * creating the conditional forwarder.
*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *The directory ID of the Amazon Web Services directory for which you are * creating the conditional forwarder.
*/ inline CreateConditionalForwarderRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *The directory ID of the Amazon Web Services directory for which you are * creating the conditional forwarder.
*/ inline CreateConditionalForwarderRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *The directory ID of the Amazon Web Services directory for which you are * creating the conditional forwarder.
*/ inline CreateConditionalForwarderRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} /** *The fully qualified domain name (FQDN) of the remote domain with which you * will set up a trust relationship.
*/ inline const Aws::String& GetRemoteDomainName() const{ return m_remoteDomainName; } /** *The fully qualified domain name (FQDN) of the remote domain with which you * will set up a trust relationship.
*/ inline bool RemoteDomainNameHasBeenSet() const { return m_remoteDomainNameHasBeenSet; } /** *The fully qualified domain name (FQDN) of the remote domain with which you * will set up a trust relationship.
*/ inline void SetRemoteDomainName(const Aws::String& value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName = value; } /** *The fully qualified domain name (FQDN) of the remote domain with which you * will set up a trust relationship.
*/ inline void SetRemoteDomainName(Aws::String&& value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName = std::move(value); } /** *The fully qualified domain name (FQDN) of the remote domain with which you * will set up a trust relationship.
*/ inline void SetRemoteDomainName(const char* value) { m_remoteDomainNameHasBeenSet = true; m_remoteDomainName.assign(value); } /** *The fully qualified domain name (FQDN) of the remote domain with which you * will set up a trust relationship.
*/ inline CreateConditionalForwarderRequest& WithRemoteDomainName(const Aws::String& value) { SetRemoteDomainName(value); return *this;} /** *The fully qualified domain name (FQDN) of the remote domain with which you * will set up a trust relationship.
*/ inline CreateConditionalForwarderRequest& WithRemoteDomainName(Aws::String&& value) { SetRemoteDomainName(std::move(value)); return *this;} /** *The fully qualified domain name (FQDN) of the remote domain with which you * will set up a trust relationship.
*/ inline CreateConditionalForwarderRequest& WithRemoteDomainName(const char* value) { SetRemoteDomainName(value); return *this;} /** *The IP addresses of the remote DNS server associated with * RemoteDomainName.
*/ inline const Aws::VectorThe IP addresses of the remote DNS server associated with * RemoteDomainName.
*/ inline bool DnsIpAddrsHasBeenSet() const { return m_dnsIpAddrsHasBeenSet; } /** *The IP addresses of the remote DNS server associated with * RemoteDomainName.
*/ inline void SetDnsIpAddrs(const Aws::VectorThe IP addresses of the remote DNS server associated with * RemoteDomainName.
*/ inline void SetDnsIpAddrs(Aws::VectorThe IP addresses of the remote DNS server associated with * RemoteDomainName.
*/ inline CreateConditionalForwarderRequest& WithDnsIpAddrs(const Aws::VectorThe IP addresses of the remote DNS server associated with * RemoteDomainName.
*/ inline CreateConditionalForwarderRequest& WithDnsIpAddrs(Aws::VectorThe IP addresses of the remote DNS server associated with * RemoteDomainName.
*/ inline CreateConditionalForwarderRequest& AddDnsIpAddrs(const Aws::String& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.push_back(value); return *this; } /** *The IP addresses of the remote DNS server associated with * RemoteDomainName.
*/ inline CreateConditionalForwarderRequest& AddDnsIpAddrs(Aws::String&& value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.push_back(std::move(value)); return *this; } /** *The IP addresses of the remote DNS server associated with * RemoteDomainName.
*/ inline CreateConditionalForwarderRequest& AddDnsIpAddrs(const char* value) { m_dnsIpAddrsHasBeenSet = true; m_dnsIpAddrs.push_back(value); return *this; } private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; Aws::String m_remoteDomainName; bool m_remoteDomainNameHasBeenSet = false; Aws::Vector