/** * 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 Macie2 { namespace Model { class CreateInvitationsResult { public: AWS_MACIE2_API CreateInvitationsResult(); AWS_MACIE2_API CreateInvitationsResult(const Aws::AmazonWebServiceResult& result); AWS_MACIE2_API 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; } 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 CreateInvitationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateInvitationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateInvitationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_unprocessedAccounts; Aws::String m_requestId; }; } // namespace Model } // namespace Macie2 } // namespace Aws