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

The list of details about the Security Hub member accounts.

*/ inline const Aws::Vector& GetMembers() const{ return m_members; } /** *

The list of details about the Security Hub member accounts.

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

The list of details about the Security Hub member accounts.

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

The list of details about the Security Hub member accounts.

*/ inline GetMembersResult& WithMembers(const Aws::Vector& value) { SetMembers(value); return *this;} /** *

The list of details about the Security Hub member accounts.

*/ inline GetMembersResult& WithMembers(Aws::Vector&& value) { SetMembers(std::move(value)); return *this;} /** *

The list of details about the Security Hub member accounts.

*/ inline GetMembersResult& AddMembers(const Member& value) { m_members.push_back(value); return *this; } /** *

The list of details about the Security Hub member accounts.

*/ inline GetMembersResult& AddMembers(Member&& value) { m_members.push_back(std::move(value)); return *this; } /** *

The list of AWS accounts that could not be processed. For each account, the * list includes the account ID and the email address.

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

The list of AWS accounts that could not be processed. For each account, the * list includes the account ID and the email address.

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

The list of AWS accounts that could not be processed. For each account, the * list includes the account ID and the email address.

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

The list of AWS accounts that could not be processed. For each account, the * list includes the account ID and the email address.

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

The list of AWS accounts that could not be processed. For each account, the * list includes the account ID and the email address.

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

The list of AWS accounts that could not be processed. For each account, the * list includes the account ID and the email address.

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

The list of AWS accounts that could not be processed. For each account, the * list includes the account ID and the email address.

*/ inline GetMembersResult& AddUnprocessedAccounts(Result&& value) { m_unprocessedAccounts.push_back(std::move(value)); return *this; } private: Aws::Vector m_members; Aws::Vector m_unprocessedAccounts; }; } // namespace Model } // namespace SecurityHub } // namespace Aws