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

A list of errors associated with the request, or an empty array * ([]) if there are no errors. Each error entry contains a * messageId that helps you identify the entry that failed.

*/ inline const Aws::Vector& GetBatchDeleteDetectorErrorEntries() const{ return m_batchDeleteDetectorErrorEntries; } /** *

A list of errors associated with the request, or an empty array * ([]) if there are no errors. Each error entry contains a * messageId that helps you identify the entry that failed.

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

A list of errors associated with the request, or an empty array * ([]) if there are no errors. Each error entry contains a * messageId that helps you identify the entry that failed.

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

A list of errors associated with the request, or an empty array * ([]) if there are no errors. Each error entry contains a * messageId that helps you identify the entry that failed.

*/ inline BatchDeleteDetectorResult& WithBatchDeleteDetectorErrorEntries(const Aws::Vector& value) { SetBatchDeleteDetectorErrorEntries(value); return *this;} /** *

A list of errors associated with the request, or an empty array * ([]) if there are no errors. Each error entry contains a * messageId that helps you identify the entry that failed.

*/ inline BatchDeleteDetectorResult& WithBatchDeleteDetectorErrorEntries(Aws::Vector&& value) { SetBatchDeleteDetectorErrorEntries(std::move(value)); return *this;} /** *

A list of errors associated with the request, or an empty array * ([]) if there are no errors. Each error entry contains a * messageId that helps you identify the entry that failed.

*/ inline BatchDeleteDetectorResult& AddBatchDeleteDetectorErrorEntries(const BatchDeleteDetectorErrorEntry& value) { m_batchDeleteDetectorErrorEntries.push_back(value); return *this; } /** *

A list of errors associated with the request, or an empty array * ([]) if there are no errors. Each error entry contains a * messageId that helps you identify the entry that failed.

*/ inline BatchDeleteDetectorResult& AddBatchDeleteDetectorErrorEntries(BatchDeleteDetectorErrorEntry&& value) { m_batchDeleteDetectorErrorEntries.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 BatchDeleteDetectorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchDeleteDetectorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchDeleteDetectorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_batchDeleteDetectorErrorEntries; Aws::String m_requestId; }; } // namespace Model } // namespace IoTEventsData } // namespace Aws