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

S3 resources that couldn't be removed from being monitored and classified by * Amazon Macie Classic. An error code and an error message are provided for each * failed item.

*/ inline const Aws::Vector& GetFailedS3Resources() const{ return m_failedS3Resources; } /** *

S3 resources that couldn't be removed from being monitored and classified by * Amazon Macie Classic. An error code and an error message are provided for each * failed item.

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

S3 resources that couldn't be removed from being monitored and classified by * Amazon Macie Classic. An error code and an error message are provided for each * failed item.

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

S3 resources that couldn't be removed from being monitored and classified by * Amazon Macie Classic. An error code and an error message are provided for each * failed item.

*/ inline DisassociateS3ResourcesResult& WithFailedS3Resources(const Aws::Vector& value) { SetFailedS3Resources(value); return *this;} /** *

S3 resources that couldn't be removed from being monitored and classified by * Amazon Macie Classic. An error code and an error message are provided for each * failed item.

*/ inline DisassociateS3ResourcesResult& WithFailedS3Resources(Aws::Vector&& value) { SetFailedS3Resources(std::move(value)); return *this;} /** *

S3 resources that couldn't be removed from being monitored and classified by * Amazon Macie Classic. An error code and an error message are provided for each * failed item.

*/ inline DisassociateS3ResourcesResult& AddFailedS3Resources(const FailedS3Resource& value) { m_failedS3Resources.push_back(value); return *this; } /** *

S3 resources that couldn't be removed from being monitored and classified by * Amazon Macie Classic. An error code and an error message are provided for each * failed item.

*/ inline DisassociateS3ResourcesResult& AddFailedS3Resources(FailedS3Resource&& value) { m_failedS3Resources.push_back(std::move(value)); return *this; } private: Aws::Vector m_failedS3Resources; }; } // namespace Model } // namespace Macie } // namespace Aws