/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DirectoryService { namespace Model { /** *

The result of a DescribeConditionalForwarder request.

See * Also:

AWS * API Reference

*/ class DescribeConditionalForwardersResult { public: AWS_DIRECTORYSERVICE_API DescribeConditionalForwardersResult(); AWS_DIRECTORYSERVICE_API DescribeConditionalForwardersResult(const Aws::AmazonWebServiceResult& result); AWS_DIRECTORYSERVICE_API DescribeConditionalForwardersResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of conditional forwarders that have been created.

*/ inline const Aws::Vector& GetConditionalForwarders() const{ return m_conditionalForwarders; } /** *

The list of conditional forwarders that have been created.

*/ inline void SetConditionalForwarders(const Aws::Vector& value) { m_conditionalForwarders = value; } /** *

The list of conditional forwarders that have been created.

*/ inline void SetConditionalForwarders(Aws::Vector&& value) { m_conditionalForwarders = std::move(value); } /** *

The list of conditional forwarders that have been created.

*/ inline DescribeConditionalForwardersResult& WithConditionalForwarders(const Aws::Vector& value) { SetConditionalForwarders(value); return *this;} /** *

The list of conditional forwarders that have been created.

*/ inline DescribeConditionalForwardersResult& WithConditionalForwarders(Aws::Vector&& value) { SetConditionalForwarders(std::move(value)); return *this;} /** *

The list of conditional forwarders that have been created.

*/ inline DescribeConditionalForwardersResult& AddConditionalForwarders(const ConditionalForwarder& value) { m_conditionalForwarders.push_back(value); return *this; } /** *

The list of conditional forwarders that have been created.

*/ inline DescribeConditionalForwardersResult& AddConditionalForwarders(ConditionalForwarder&& value) { m_conditionalForwarders.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeConditionalForwardersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeConditionalForwardersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeConditionalForwardersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_conditionalForwarders; Aws::String m_requestId; }; } // namespace Model } // namespace DirectoryService } // namespace Aws