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

A list of objects that contain an accountId for each account that could not * be processed, and a result string that indicates why the account was not * processed.

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

A list of objects that contain an accountId for each account that could not * be processed, and a result string that indicates why the account was not * processed.

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

A list of objects that contain an accountId for each account that could not * be processed, and a result string that indicates why the account was not * processed.

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

A list of objects that contain an accountId for each account that could not * be processed, and a result string that indicates why the account was not * processed.

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

A list of objects that contain an accountId for each account that could not * be processed, and a result string that indicates why the account was not * processed.

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

A list of objects that contain an accountId for each account that could not * be processed, and a result string that indicates why the account was not * processed.

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

A list of objects that contain an accountId for each account that could not * be processed, and a result string that indicates why the account was not * processed.

*/ inline StopMonitoringMembersResult& 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 StopMonitoringMembersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StopMonitoringMembersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StopMonitoringMembersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_unprocessedAccounts; Aws::String m_requestId; }; } // namespace Model } // namespace GuardDuty } // namespace Aws