/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace DirectoryService { namespace Model { /** *

Deletes a conditional forwarder.

See Also:

AWS * API Reference

*/ class DeleteConditionalForwarderRequest : public DirectoryServiceRequest { public: AWS_DIRECTORYSERVICE_API DeleteConditionalForwarderRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteConditionalForwarder"; } AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override; AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The directory ID for which you are deleting the conditional forwarder.

*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *

The directory ID for which you are deleting the conditional forwarder.

*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *

The directory ID for which you are deleting the conditional forwarder.

*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *

The directory ID for which you are deleting the conditional forwarder.

*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *

The directory ID for which you are deleting the conditional forwarder.

*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *

The directory ID for which you are deleting the conditional forwarder.

*/ inline DeleteConditionalForwarderRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *

The directory ID for which you are deleting the conditional forwarder.

*/ inline DeleteConditionalForwarderRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *

The directory ID for which you are deleting the conditional forwarder.

*/ inline DeleteConditionalForwarderRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} /** *

The fully qualified domain name (FQDN) of the remote domain with which you * are deleting the conditional forwarder.

*/ inline const Aws::String& GetRemoteDomainName() const{ return m_remoteDomainName; } /** *

The fully qualified domain name (FQDN) of the remote domain with which you * are deleting the conditional forwarder.

*/ inline bool RemoteDomainNameHasBeenSet() const { return m_remoteDomainNameHasBeenSet; } /** *

The fully qualified domain name (FQDN) of the remote domain with which you * are deleting the conditional forwarder.

*/ 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 * are deleting the conditional forwarder.

*/ 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 * are deleting the conditional forwarder.

*/ 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 * are deleting the conditional forwarder.

*/ inline DeleteConditionalForwarderRequest& WithRemoteDomainName(const Aws::String& value) { SetRemoteDomainName(value); return *this;} /** *

The fully qualified domain name (FQDN) of the remote domain with which you * are deleting the conditional forwarder.

*/ inline DeleteConditionalForwarderRequest& WithRemoteDomainName(Aws::String&& value) { SetRemoteDomainName(std::move(value)); return *this;} /** *

The fully qualified domain name (FQDN) of the remote domain with which you * are deleting the conditional forwarder.

*/ inline DeleteConditionalForwarderRequest& WithRemoteDomainName(const char* value) { SetRemoteDomainName(value); return *this;} private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; Aws::String m_remoteDomainName; bool m_remoteDomainNameHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws