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

Entries that caused errors in the batch put operation.

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

Entries that caused errors in the batch put operation.

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

Entries that caused errors in the batch put operation.

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

Entries that caused errors in the batch put operation.

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

Entries that caused errors in the batch put operation.

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

Entries that caused errors in the batch put operation.

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

Entries that caused errors in the batch put operation.

*/ inline BatchPutPropertyValuesResult& AddErrorEntries(BatchPutPropertyErrorEntry&& value) { m_errorEntries.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 BatchPutPropertyValuesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchPutPropertyValuesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchPutPropertyValuesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_errorEntries; Aws::String m_requestId; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws