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

Details on the status of data source packages for members of the behavior * graph.

*/ inline const Aws::Vector& GetMemberDatasources() const{ return m_memberDatasources; } /** *

Details on the status of data source packages for members of the behavior * graph.

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

Details on the status of data source packages for members of the behavior * graph.

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

Details on the status of data source packages for members of the behavior * graph.

*/ inline BatchGetGraphMemberDatasourcesResult& WithMemberDatasources(const Aws::Vector& value) { SetMemberDatasources(value); return *this;} /** *

Details on the status of data source packages for members of the behavior * graph.

*/ inline BatchGetGraphMemberDatasourcesResult& WithMemberDatasources(Aws::Vector&& value) { SetMemberDatasources(std::move(value)); return *this;} /** *

Details on the status of data source packages for members of the behavior * graph.

*/ inline BatchGetGraphMemberDatasourcesResult& AddMemberDatasources(const MembershipDatasources& value) { m_memberDatasources.push_back(value); return *this; } /** *

Details on the status of data source packages for members of the behavior * graph.

*/ inline BatchGetGraphMemberDatasourcesResult& AddMemberDatasources(MembershipDatasources&& value) { m_memberDatasources.push_back(std::move(value)); return *this; } /** *

Accounts that data source package information could not be retrieved for.

*/ inline const Aws::Vector& GetUnprocessedAccounts() const{ return m_unprocessedAccounts; } /** *

Accounts that data source package information could not be retrieved for.

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

Accounts that data source package information could not be retrieved for.

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

Accounts that data source package information could not be retrieved for.

*/ inline BatchGetGraphMemberDatasourcesResult& WithUnprocessedAccounts(const Aws::Vector& value) { SetUnprocessedAccounts(value); return *this;} /** *

Accounts that data source package information could not be retrieved for.

*/ inline BatchGetGraphMemberDatasourcesResult& WithUnprocessedAccounts(Aws::Vector&& value) { SetUnprocessedAccounts(std::move(value)); return *this;} /** *

Accounts that data source package information could not be retrieved for.

*/ inline BatchGetGraphMemberDatasourcesResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; } /** *

Accounts that data source package information could not be retrieved for.

*/ inline BatchGetGraphMemberDatasourcesResult& AddUnprocessedAccounts(UnprocessedAccount&& value) { m_unprocessedAccounts.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 BatchGetGraphMemberDatasourcesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchGetGraphMemberDatasourcesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchGetGraphMemberDatasourcesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_memberDatasources; Aws::Vector m_unprocessedAccounts; Aws::String m_requestId; }; } // namespace Model } // namespace Detective } // namespace Aws