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

An object that describes which data sources are enabled for a member * account.

*/ inline const Aws::Vector& GetMemberDataSourceConfigurations() const{ return m_memberDataSourceConfigurations; } /** *

An object that describes which data sources are enabled for a member * account.

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

An object that describes which data sources are enabled for a member * account.

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

An object that describes which data sources are enabled for a member * account.

*/ inline GetMemberDetectorsResult& WithMemberDataSourceConfigurations(const Aws::Vector& value) { SetMemberDataSourceConfigurations(value); return *this;} /** *

An object that describes which data sources are enabled for a member * account.

*/ inline GetMemberDetectorsResult& WithMemberDataSourceConfigurations(Aws::Vector&& value) { SetMemberDataSourceConfigurations(std::move(value)); return *this;} /** *

An object that describes which data sources are enabled for a member * account.

*/ inline GetMemberDetectorsResult& AddMemberDataSourceConfigurations(const MemberDataSourceConfiguration& value) { m_memberDataSourceConfigurations.push_back(value); return *this; } /** *

An object that describes which data sources are enabled for a member * account.

*/ inline GetMemberDetectorsResult& AddMemberDataSourceConfigurations(MemberDataSourceConfiguration&& value) { m_memberDataSourceConfigurations.push_back(std::move(value)); return *this; } /** *

A list of member account IDs that were unable to be processed along with an * explanation for why they were not processed.

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

A list of member account IDs that were unable to be processed along with an * explanation for why they were not processed.

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

A list of member account IDs that were unable to be processed along with an * explanation for why they were not processed.

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

A list of member account IDs that were unable to be processed along with an * explanation for why they were not processed.

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

A list of member account IDs that were unable to be processed along with an * explanation for why they were not processed.

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

A list of member account IDs that were unable to be processed along with an * explanation for why they were not processed.

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

A list of member account IDs that were unable to be processed along with an * explanation for why they were not processed.

*/ inline GetMemberDetectorsResult& 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 GetMemberDetectorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetMemberDetectorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetMemberDetectorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_memberDataSourceConfigurations; Aws::Vector m_unprocessedAccounts; Aws::String m_requestId; }; } // namespace Model } // namespace GuardDuty } // namespace Aws