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

The list of AWS account identifiers for the member accounts that Detective * successfully deleted from the behavior graph.

*/ inline const Aws::Vector& GetAccountIds() const{ return m_accountIds; } /** *

The list of AWS account identifiers for the member accounts that Detective * successfully deleted from the behavior graph.

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

The list of AWS account identifiers for the member accounts that Detective * successfully deleted from the behavior graph.

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

The list of AWS account identifiers for the member accounts that Detective * successfully deleted from the behavior graph.

*/ inline DeleteMembersResult& WithAccountIds(const Aws::Vector& value) { SetAccountIds(value); return *this;} /** *

The list of AWS account identifiers for the member accounts that Detective * successfully deleted from the behavior graph.

*/ inline DeleteMembersResult& WithAccountIds(Aws::Vector&& value) { SetAccountIds(std::move(value)); return *this;} /** *

The list of AWS account identifiers for the member accounts that Detective * successfully deleted from the behavior graph.

*/ inline DeleteMembersResult& AddAccountIds(const Aws::String& value) { m_accountIds.push_back(value); return *this; } /** *

The list of AWS account identifiers for the member accounts that Detective * successfully deleted from the behavior graph.

*/ inline DeleteMembersResult& AddAccountIds(Aws::String&& value) { m_accountIds.push_back(std::move(value)); return *this; } /** *

The list of AWS account identifiers for the member accounts that Detective * successfully deleted from the behavior graph.

*/ inline DeleteMembersResult& AddAccountIds(const char* value) { m_accountIds.push_back(value); return *this; } /** *

The list of member accounts that Detective was not able to delete from the * behavior graph. For each member account, provides the reason that the deletion * could not be processed.

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

The list of member accounts that Detective was not able to delete from the * behavior graph. For each member account, provides the reason that the deletion * could not be processed.

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

The list of member accounts that Detective was not able to delete from the * behavior graph. For each member account, provides the reason that the deletion * could not be processed.

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

The list of member accounts that Detective was not able to delete from the * behavior graph. For each member account, provides the reason that the deletion * could not be processed.

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

The list of member accounts that Detective was not able to delete from the * behavior graph. For each member account, provides the reason that the deletion * could not be processed.

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

The list of member accounts that Detective was not able to delete from the * behavior graph. For each member account, provides the reason that the deletion * could not be processed.

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

The list of member accounts that Detective was not able to delete from the * behavior graph. For each member account, provides the reason that the deletion * could not be processed.

*/ inline DeleteMembersResult& AddUnprocessedAccounts(UnprocessedAccount&& value) { m_unprocessedAccounts.push_back(std::move(value)); return *this; } private: Aws::Vector m_accountIds; Aws::Vector m_unprocessedAccounts; }; } // namespace Model } // namespace Detective } // namespace Aws