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

A list of associated error information, if any.

*/ inline const Aws::Vector& GetErrors() const{ return m_errors; } /** *

A list of associated error information, if any.

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

A list of associated error information, if any.

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

A list of associated error information, if any.

*/ inline BatchDisassociateProjectAssetsResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** *

A list of associated error information, if any.

*/ inline BatchDisassociateProjectAssetsResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** *

A list of associated error information, if any.

*/ inline BatchDisassociateProjectAssetsResult& AddErrors(const AssetErrorDetails& value) { m_errors.push_back(value); return *this; } /** *

A list of associated error information, if any.

*/ inline BatchDisassociateProjectAssetsResult& AddErrors(AssetErrorDetails&& value) { m_errors.push_back(std::move(value)); return *this; } private: Aws::Vector m_errors; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws