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

Describes a conditional forwarder.

See Also:

AWS * API Reference

*/ class DescribeConditionalForwardersRequest : public DirectoryServiceRequest { public: AWS_DIRECTORYSERVICE_API DescribeConditionalForwardersRequest(); // 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 "DescribeConditionalForwarders"; } AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override; AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The directory ID for which to get the list of associated conditional * forwarders.

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

The directory ID for which to get the list of associated conditional * forwarders.

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

The directory ID for which to get the list of associated conditional * forwarders.

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

The directory ID for which to get the list of associated conditional * forwarders.

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

The directory ID for which to get the list of associated conditional * forwarders.

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

The directory ID for which to get the list of associated conditional * forwarders.

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

The directory ID for which to get the list of associated conditional * forwarders.

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

The directory ID for which to get the list of associated conditional * forwarders.

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

The fully qualified domain names (FQDN) of the remote domains for which to * get the list of associated conditional forwarders. If this member is null, all * conditional forwarders are returned.

*/ inline const Aws::Vector& GetRemoteDomainNames() const{ return m_remoteDomainNames; } /** *

The fully qualified domain names (FQDN) of the remote domains for which to * get the list of associated conditional forwarders. If this member is null, all * conditional forwarders are returned.

*/ inline bool RemoteDomainNamesHasBeenSet() const { return m_remoteDomainNamesHasBeenSet; } /** *

The fully qualified domain names (FQDN) of the remote domains for which to * get the list of associated conditional forwarders. If this member is null, all * conditional forwarders are returned.

*/ inline void SetRemoteDomainNames(const Aws::Vector& value) { m_remoteDomainNamesHasBeenSet = true; m_remoteDomainNames = value; } /** *

The fully qualified domain names (FQDN) of the remote domains for which to * get the list of associated conditional forwarders. If this member is null, all * conditional forwarders are returned.

*/ inline void SetRemoteDomainNames(Aws::Vector&& value) { m_remoteDomainNamesHasBeenSet = true; m_remoteDomainNames = std::move(value); } /** *

The fully qualified domain names (FQDN) of the remote domains for which to * get the list of associated conditional forwarders. If this member is null, all * conditional forwarders are returned.

*/ inline DescribeConditionalForwardersRequest& WithRemoteDomainNames(const Aws::Vector& value) { SetRemoteDomainNames(value); return *this;} /** *

The fully qualified domain names (FQDN) of the remote domains for which to * get the list of associated conditional forwarders. If this member is null, all * conditional forwarders are returned.

*/ inline DescribeConditionalForwardersRequest& WithRemoteDomainNames(Aws::Vector&& value) { SetRemoteDomainNames(std::move(value)); return *this;} /** *

The fully qualified domain names (FQDN) of the remote domains for which to * get the list of associated conditional forwarders. If this member is null, all * conditional forwarders are returned.

*/ inline DescribeConditionalForwardersRequest& AddRemoteDomainNames(const Aws::String& value) { m_remoteDomainNamesHasBeenSet = true; m_remoteDomainNames.push_back(value); return *this; } /** *

The fully qualified domain names (FQDN) of the remote domains for which to * get the list of associated conditional forwarders. If this member is null, all * conditional forwarders are returned.

*/ inline DescribeConditionalForwardersRequest& AddRemoteDomainNames(Aws::String&& value) { m_remoteDomainNamesHasBeenSet = true; m_remoteDomainNames.push_back(std::move(value)); return *this; } /** *

The fully qualified domain names (FQDN) of the remote domains for which to * get the list of associated conditional forwarders. If this member is null, all * conditional forwarders are returned.

*/ inline DescribeConditionalForwardersRequest& AddRemoteDomainNames(const char* value) { m_remoteDomainNamesHasBeenSet = true; m_remoteDomainNames.push_back(value); return *this; } private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; Aws::Vector m_remoteDomainNames; bool m_remoteDomainNamesHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws