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

A list of those detector updates that resulted in errors. (If an error is * listed here, the specific update did not occur.)

*/ inline const Aws::Vector& GetBatchUpdateDetectorErrorEntries() const{ return m_batchUpdateDetectorErrorEntries; } /** *

A list of those detector updates that resulted in errors. (If an error is * listed here, the specific update did not occur.)

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

A list of those detector updates that resulted in errors. (If an error is * listed here, the specific update did not occur.)

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

A list of those detector updates that resulted in errors. (If an error is * listed here, the specific update did not occur.)

*/ inline BatchUpdateDetectorResult& WithBatchUpdateDetectorErrorEntries(const Aws::Vector& value) { SetBatchUpdateDetectorErrorEntries(value); return *this;} /** *

A list of those detector updates that resulted in errors. (If an error is * listed here, the specific update did not occur.)

*/ inline BatchUpdateDetectorResult& WithBatchUpdateDetectorErrorEntries(Aws::Vector&& value) { SetBatchUpdateDetectorErrorEntries(std::move(value)); return *this;} /** *

A list of those detector updates that resulted in errors. (If an error is * listed here, the specific update did not occur.)

*/ inline BatchUpdateDetectorResult& AddBatchUpdateDetectorErrorEntries(const BatchUpdateDetectorErrorEntry& value) { m_batchUpdateDetectorErrorEntries.push_back(value); return *this; } /** *

A list of those detector updates that resulted in errors. (If an error is * listed here, the specific update did not occur.)

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