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

A list of errors associated with the request, or null if there * are no errors. Each error entry contains an entry ID that helps you identify the * entry that failed.

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

A list of errors associated with the request, or null if there * are no errors. Each error entry contains an entry ID that helps you identify the * entry that failed.

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

A list of errors associated with the request, or null if there * are no errors. Each error entry contains an entry ID that helps you identify the * entry that failed.

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

A list of errors associated with the request, or null if there * are no errors. Each error entry contains an entry ID that helps you identify the * entry that failed.

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

A list of errors associated with the request, or null if there * are no errors. Each error entry contains an entry ID that helps you identify the * entry that failed.

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

A list of errors associated with the request, or null if there * are no errors. Each error entry contains an entry ID that helps you identify the * entry that failed.

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

A list of errors associated with the request, or null if there * are no errors. Each error entry contains an entry ID that helps you identify the * entry that failed.

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