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

The list of Amazon Web Services account identifiers for the member accounts * that Detective successfully removed from the behavior graph.

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

The list of Amazon Web Services account identifiers for the member accounts * that Detective successfully removed from the behavior graph.

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

The list of Amazon Web Services account identifiers for the member accounts * that Detective successfully removed from the behavior graph.

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

The list of Amazon Web Services account identifiers for the member accounts * that Detective successfully removed from the behavior graph.

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

The list of Amazon Web Services account identifiers for the member accounts * that Detective successfully removed from the behavior graph.

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

The list of Amazon Web Services account identifiers for the member accounts * that Detective successfully removed from the behavior graph.

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

The list of Amazon Web Services account identifiers for the member accounts * that Detective successfully removed from the behavior graph.

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

The list of Amazon Web Services account identifiers for the member accounts * that Detective successfully removed 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 remove 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 remove 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 remove 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 remove 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 remove 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 remove 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 remove 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; } 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 DeleteMembersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteMembersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteMembersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_accountIds; Aws::Vector m_unprocessedAccounts; Aws::String m_requestId; }; } // namespace Model } // namespace Detective } // namespace Aws