/** * 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 Detective { namespace Model { class ListDatasourcePackagesResult { public: AWS_DETECTIVE_API ListDatasourcePackagesResult(); AWS_DETECTIVE_API ListDatasourcePackagesResult(const Aws::AmazonWebServiceResult& result); AWS_DETECTIVE_API ListDatasourcePackagesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Details on the data source packages active in the behavior graph.

*/ inline const Aws::Map& GetDatasourcePackages() const{ return m_datasourcePackages; } /** *

Details on the data source packages active in the behavior graph.

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

Details on the data source packages active in the behavior graph.

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

Details on the data source packages active in the behavior graph.

*/ inline ListDatasourcePackagesResult& WithDatasourcePackages(const Aws::Map& value) { SetDatasourcePackages(value); return *this;} /** *

Details on the data source packages active in the behavior graph.

*/ inline ListDatasourcePackagesResult& WithDatasourcePackages(Aws::Map&& value) { SetDatasourcePackages(std::move(value)); return *this;} /** *

Details on the data source packages active in the behavior graph.

*/ inline ListDatasourcePackagesResult& AddDatasourcePackages(const DatasourcePackage& key, const DatasourcePackageIngestDetail& value) { m_datasourcePackages.emplace(key, value); return *this; } /** *

Details on the data source packages active in the behavior graph.

*/ inline ListDatasourcePackagesResult& AddDatasourcePackages(DatasourcePackage&& key, const DatasourcePackageIngestDetail& value) { m_datasourcePackages.emplace(std::move(key), value); return *this; } /** *

Details on the data source packages active in the behavior graph.

*/ inline ListDatasourcePackagesResult& AddDatasourcePackages(const DatasourcePackage& key, DatasourcePackageIngestDetail&& value) { m_datasourcePackages.emplace(key, std::move(value)); return *this; } /** *

Details on the data source packages active in the behavior graph.

*/ inline ListDatasourcePackagesResult& AddDatasourcePackages(DatasourcePackage&& key, DatasourcePackageIngestDetail&& value) { m_datasourcePackages.emplace(std::move(key), std::move(value)); return *this; } /** *

For requests to get the next page of results, the pagination token that was * returned with the previous set of results. The initial request does not include * a pagination token.

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

For requests to get the next page of results, the pagination token that was * returned with the previous set of results. The initial request does not include * a pagination token.

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

For requests to get the next page of results, the pagination token that was * returned with the previous set of results. The initial request does not include * a pagination token.

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

For requests to get the next page of results, the pagination token that was * returned with the previous set of results. The initial request does not include * a pagination token.

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

For requests to get the next page of results, the pagination token that was * returned with the previous set of results. The initial request does not include * a pagination token.

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

For requests to get the next page of results, the pagination token that was * returned with the previous set of results. The initial request does not include * a pagination token.

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

For requests to get the next page of results, the pagination token that was * returned with the previous set of results. The initial request does not include * a pagination token.

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