/** * 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 BatchPutAssetPropertyValueResult { public: BatchPutAssetPropertyValueResult(); BatchPutAssetPropertyValueResult(const Aws::AmazonWebServiceResult& result); BatchPutAssetPropertyValueResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of the errors (if any) associated with the batch put request. Each * error entry contains the entryId of the entry that failed.

*/ inline const Aws::Vector& GetErrorEntries() const{ return m_errorEntries; } /** *

A list of the errors (if any) associated with the batch put request. Each * error entry contains the entryId of the entry that failed.

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

A list of the errors (if any) associated with the batch put request. Each * error entry contains the entryId of the entry that failed.

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

A list of the errors (if any) associated with the batch put request. Each * error entry contains the entryId of the entry that failed.

*/ inline BatchPutAssetPropertyValueResult& WithErrorEntries(const Aws::Vector& value) { SetErrorEntries(value); return *this;} /** *

A list of the errors (if any) associated with the batch put request. Each * error entry contains the entryId of the entry that failed.

*/ inline BatchPutAssetPropertyValueResult& WithErrorEntries(Aws::Vector&& value) { SetErrorEntries(std::move(value)); return *this;} /** *

A list of the errors (if any) associated with the batch put request. Each * error entry contains the entryId of the entry that failed.

*/ inline BatchPutAssetPropertyValueResult& AddErrorEntries(const BatchPutAssetPropertyErrorEntry& value) { m_errorEntries.push_back(value); return *this; } /** *

A list of the errors (if any) associated with the batch put request. Each * error entry contains the entryId of the entry that failed.

*/ inline BatchPutAssetPropertyValueResult& AddErrorEntries(BatchPutAssetPropertyErrorEntry&& value) { m_errorEntries.push_back(std::move(value)); return *this; } private: Aws::Vector m_errorEntries; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws