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

The list of findings that were updated successfully.

*/ inline const Aws::Vector& GetProcessedFindings() const{ return m_processedFindings; } /** *

The list of findings that were updated successfully.

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

The list of findings that were updated successfully.

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

The list of findings that were updated successfully.

*/ inline BatchUpdateFindingsResult& WithProcessedFindings(const Aws::Vector& value) { SetProcessedFindings(value); return *this;} /** *

The list of findings that were updated successfully.

*/ inline BatchUpdateFindingsResult& WithProcessedFindings(Aws::Vector&& value) { SetProcessedFindings(std::move(value)); return *this;} /** *

The list of findings that were updated successfully.

*/ inline BatchUpdateFindingsResult& AddProcessedFindings(const AwsSecurityFindingIdentifier& value) { m_processedFindings.push_back(value); return *this; } /** *

The list of findings that were updated successfully.

*/ inline BatchUpdateFindingsResult& AddProcessedFindings(AwsSecurityFindingIdentifier&& value) { m_processedFindings.push_back(std::move(value)); return *this; } /** *

The list of findings that were not updated.

*/ inline const Aws::Vector& GetUnprocessedFindings() const{ return m_unprocessedFindings; } /** *

The list of findings that were not updated.

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

The list of findings that were not updated.

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

The list of findings that were not updated.

*/ inline BatchUpdateFindingsResult& WithUnprocessedFindings(const Aws::Vector& value) { SetUnprocessedFindings(value); return *this;} /** *

The list of findings that were not updated.

*/ inline BatchUpdateFindingsResult& WithUnprocessedFindings(Aws::Vector&& value) { SetUnprocessedFindings(std::move(value)); return *this;} /** *

The list of findings that were not updated.

*/ inline BatchUpdateFindingsResult& AddUnprocessedFindings(const BatchUpdateFindingsUnprocessedFinding& value) { m_unprocessedFindings.push_back(value); return *this; } /** *

The list of findings that were not updated.

*/ inline BatchUpdateFindingsResult& AddUnprocessedFindings(BatchUpdateFindingsUnprocessedFinding&& value) { m_unprocessedFindings.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 BatchUpdateFindingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchUpdateFindingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchUpdateFindingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_processedFindings; Aws::Vector m_unprocessedFindings; Aws::String m_requestId; }; } // namespace Model } // namespace SecurityHub } // namespace Aws