/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 ListConnectorEntitiesResult { public: AWS_APPFLOW_API ListConnectorEntitiesResult(); AWS_APPFLOW_API ListConnectorEntitiesResult(const Aws::AmazonWebServiceResult& result); AWS_APPFLOW_API ListConnectorEntitiesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The response of ListConnectorEntities lists entities grouped by * category. This map's key represents the group name, and its value contains the * list of entities belonging to that group.

*/ inline const Aws::Map>& GetConnectorEntityMap() const{ return m_connectorEntityMap; } /** *

The response of ListConnectorEntities lists entities grouped by * category. This map's key represents the group name, and its value contains the * list of entities belonging to that group.

*/ inline void SetConnectorEntityMap(const Aws::Map>& value) { m_connectorEntityMap = value; } /** *

The response of ListConnectorEntities lists entities grouped by * category. This map's key represents the group name, and its value contains the * list of entities belonging to that group.

*/ inline void SetConnectorEntityMap(Aws::Map>&& value) { m_connectorEntityMap = std::move(value); } /** *

The response of ListConnectorEntities lists entities grouped by * category. This map's key represents the group name, and its value contains the * list of entities belonging to that group.

*/ inline ListConnectorEntitiesResult& WithConnectorEntityMap(const Aws::Map>& value) { SetConnectorEntityMap(value); return *this;} /** *

The response of ListConnectorEntities lists entities grouped by * category. This map's key represents the group name, and its value contains the * list of entities belonging to that group.

*/ inline ListConnectorEntitiesResult& WithConnectorEntityMap(Aws::Map>&& value) { SetConnectorEntityMap(std::move(value)); return *this;} /** *

The response of ListConnectorEntities lists entities grouped by * category. This map's key represents the group name, and its value contains the * list of entities belonging to that group.

*/ inline ListConnectorEntitiesResult& AddConnectorEntityMap(const Aws::String& key, const Aws::Vector& value) { m_connectorEntityMap.emplace(key, value); return *this; } /** *

The response of ListConnectorEntities lists entities grouped by * category. This map's key represents the group name, and its value contains the * list of entities belonging to that group.

*/ inline ListConnectorEntitiesResult& AddConnectorEntityMap(Aws::String&& key, const Aws::Vector& value) { m_connectorEntityMap.emplace(std::move(key), value); return *this; } /** *

The response of ListConnectorEntities lists entities grouped by * category. This map's key represents the group name, and its value contains the * list of entities belonging to that group.

*/ inline ListConnectorEntitiesResult& AddConnectorEntityMap(const Aws::String& key, Aws::Vector&& value) { m_connectorEntityMap.emplace(key, std::move(value)); return *this; } /** *

The response of ListConnectorEntities lists entities grouped by * category. This map's key represents the group name, and its value contains the * list of entities belonging to that group.

*/ inline ListConnectorEntitiesResult& AddConnectorEntityMap(Aws::String&& key, Aws::Vector&& value) { m_connectorEntityMap.emplace(std::move(key), std::move(value)); return *this; } /** *

The response of ListConnectorEntities lists entities grouped by * category. This map's key represents the group name, and its value contains the * list of entities belonging to that group.

*/ inline ListConnectorEntitiesResult& AddConnectorEntityMap(const char* key, Aws::Vector&& value) { m_connectorEntityMap.emplace(key, std::move(value)); return *this; } /** *

The response of ListConnectorEntities lists entities grouped by * category. This map's key represents the group name, and its value contains the * list of entities belonging to that group.

*/ inline ListConnectorEntitiesResult& AddConnectorEntityMap(const char* key, const Aws::Vector& value) { m_connectorEntityMap.emplace(key, value); return *this; } /** *

A token that you specify in your next ListConnectorEntities * operation to get the next page of results in paginated response. The * ListConnectorEntities operation provides this token if the response * is too big for the page size.

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

A token that you specify in your next ListConnectorEntities * operation to get the next page of results in paginated response. The * ListConnectorEntities operation provides this token if the response * is too big for the page size.

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

A token that you specify in your next ListConnectorEntities * operation to get the next page of results in paginated response. The * ListConnectorEntities operation provides this token if the response * is too big for the page size.

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

A token that you specify in your next ListConnectorEntities * operation to get the next page of results in paginated response. The * ListConnectorEntities operation provides this token if the response * is too big for the page size.

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

A token that you specify in your next ListConnectorEntities * operation to get the next page of results in paginated response. The * ListConnectorEntities operation provides this token if the response * is too big for the page size.

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

A token that you specify in your next ListConnectorEntities * operation to get the next page of results in paginated response. The * ListConnectorEntities operation provides this token if the response * is too big for the page size.

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

A token that you specify in your next ListConnectorEntities * operation to get the next page of results in paginated response. The * ListConnectorEntities operation provides this token if the response * is too big for the page size.

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