/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Appflow { namespace Model { class DescribeConnectorsResult { public: AWS_APPFLOW_API DescribeConnectorsResult(); AWS_APPFLOW_API DescribeConnectorsResult(const Aws::AmazonWebServiceResult& result); AWS_APPFLOW_API DescribeConnectorsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The configuration that is applied to the connectors used in the flow.

*/ inline const Aws::Map& GetConnectorConfigurations() const{ return m_connectorConfigurations; } /** *

The configuration that is applied to the connectors used in the flow.

*/ inline void SetConnectorConfigurations(const Aws::Map& value) { m_connectorConfigurations = value; } /** *

The configuration that is applied to the connectors used in the flow.

*/ inline void SetConnectorConfigurations(Aws::Map&& value) { m_connectorConfigurations = std::move(value); } /** *

The configuration that is applied to the connectors used in the flow.

*/ inline DescribeConnectorsResult& WithConnectorConfigurations(const Aws::Map& value) { SetConnectorConfigurations(value); return *this;} /** *

The configuration that is applied to the connectors used in the flow.

*/ inline DescribeConnectorsResult& WithConnectorConfigurations(Aws::Map&& value) { SetConnectorConfigurations(std::move(value)); return *this;} /** *

The configuration that is applied to the connectors used in the flow.

*/ inline DescribeConnectorsResult& AddConnectorConfigurations(const ConnectorType& key, const ConnectorConfiguration& value) { m_connectorConfigurations.emplace(key, value); return *this; } /** *

The configuration that is applied to the connectors used in the flow.

*/ inline DescribeConnectorsResult& AddConnectorConfigurations(ConnectorType&& key, const ConnectorConfiguration& value) { m_connectorConfigurations.emplace(std::move(key), value); return *this; } /** *

The configuration that is applied to the connectors used in the flow.

*/ inline DescribeConnectorsResult& AddConnectorConfigurations(const ConnectorType& key, ConnectorConfiguration&& value) { m_connectorConfigurations.emplace(key, std::move(value)); return *this; } /** *

The configuration that is applied to the connectors used in the flow.

*/ inline DescribeConnectorsResult& AddConnectorConfigurations(ConnectorType&& key, ConnectorConfiguration&& value) { m_connectorConfigurations.emplace(std::move(key), std::move(value)); return *this; } /** *

Information about the connectors supported in Amazon AppFlow.

*/ inline const Aws::Vector& GetConnectors() const{ return m_connectors; } /** *

Information about the connectors supported in Amazon AppFlow.

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

Information about the connectors supported in Amazon AppFlow.

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

Information about the connectors supported in Amazon AppFlow.

*/ inline DescribeConnectorsResult& WithConnectors(const Aws::Vector& value) { SetConnectors(value); return *this;} /** *

Information about the connectors supported in Amazon AppFlow.

*/ inline DescribeConnectorsResult& WithConnectors(Aws::Vector&& value) { SetConnectors(std::move(value)); return *this;} /** *

Information about the connectors supported in Amazon AppFlow.

*/ inline DescribeConnectorsResult& AddConnectors(const ConnectorDetail& value) { m_connectors.push_back(value); return *this; } /** *

Information about the connectors supported in Amazon AppFlow.

*/ inline DescribeConnectorsResult& AddConnectors(ConnectorDetail&& value) { m_connectors.push_back(std::move(value)); return *this; } /** *

The pagination token for the next page of data.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The pagination token for the next page of data.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The pagination token for the next page of data.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The pagination token for the next page of data.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The pagination token for the next page of data.

*/ inline DescribeConnectorsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The pagination token for the next page of data.

*/ inline DescribeConnectorsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The pagination token for the next page of data.

*/ inline DescribeConnectorsResult& WithNextToken(const char* value) { SetNextToken(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 DescribeConnectorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeConnectorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeConnectorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Map m_connectorConfigurations; Aws::Vector m_connectors; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Appflow } // namespace Aws