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

A list of objects that contain the unprocessed account and a result string * that explains why it was unprocessed.

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

A list of objects that contain the unprocessed account and a result string * that explains why it was unprocessed.

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

A list of objects that contain the unprocessed account and a result string * that explains why it was unprocessed.

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

A list of objects that contain the unprocessed account and a result string * that explains why it was unprocessed.

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

A list of objects that contain the unprocessed account and a result string * that explains why it was unprocessed.

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

A list of objects that contain the unprocessed account and a result string * that explains why it was unprocessed.

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

A list of objects that contain the unprocessed account and a result string * that explains why it was unprocessed.

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