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

An array of objects, one for each account whose invitation hasn't been * processed. Each object identifies the account and explains why the invitation * hasn't been processed for the account.

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

An array of objects, one for each account whose invitation hasn't been * processed. Each object identifies the account and explains why the invitation * hasn't been processed for the account.

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

An array of objects, one for each account whose invitation hasn't been * processed. Each object identifies the account and explains why the invitation * hasn't been processed for the account.

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

An array of objects, one for each account whose invitation hasn't been * processed. Each object identifies the account and explains why the invitation * hasn't been processed for the account.

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

An array of objects, one for each account whose invitation hasn't been * processed. Each object identifies the account and explains why the invitation * hasn't been processed for the account.

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

An array of objects, one for each account whose invitation hasn't been * processed. Each object identifies the account and explains why the invitation * hasn't been processed for the account.

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

An array of objects, one for each account whose invitation hasn't been * processed. Each object identifies the account and explains why the invitation * hasn't been processed for the account.

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