/** * 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 { namespace IoTEventsData { namespace Model { /** */ class BatchEnableAlarmRequest : public IoTEventsDataRequest { public: AWS_IOTEVENTSDATA_API BatchEnableAlarmRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchEnableAlarm"; } AWS_IOTEVENTSDATA_API Aws::String SerializePayload() const override; /** *

The list of enable action requests. You can specify up to 10 requests per * operation.

*/ inline const Aws::Vector& GetEnableActionRequests() const{ return m_enableActionRequests; } /** *

The list of enable action requests. You can specify up to 10 requests per * operation.

*/ inline bool EnableActionRequestsHasBeenSet() const { return m_enableActionRequestsHasBeenSet; } /** *

The list of enable action requests. You can specify up to 10 requests per * operation.

*/ inline void SetEnableActionRequests(const Aws::Vector& value) { m_enableActionRequestsHasBeenSet = true; m_enableActionRequests = value; } /** *

The list of enable action requests. You can specify up to 10 requests per * operation.

*/ inline void SetEnableActionRequests(Aws::Vector&& value) { m_enableActionRequestsHasBeenSet = true; m_enableActionRequests = std::move(value); } /** *

The list of enable action requests. You can specify up to 10 requests per * operation.

*/ inline BatchEnableAlarmRequest& WithEnableActionRequests(const Aws::Vector& value) { SetEnableActionRequests(value); return *this;} /** *

The list of enable action requests. You can specify up to 10 requests per * operation.

*/ inline BatchEnableAlarmRequest& WithEnableActionRequests(Aws::Vector&& value) { SetEnableActionRequests(std::move(value)); return *this;} /** *

The list of enable action requests. You can specify up to 10 requests per * operation.

*/ inline BatchEnableAlarmRequest& AddEnableActionRequests(const EnableAlarmActionRequest& value) { m_enableActionRequestsHasBeenSet = true; m_enableActionRequests.push_back(value); return *this; } /** *

The list of enable action requests. You can specify up to 10 requests per * operation.

*/ inline BatchEnableAlarmRequest& AddEnableActionRequests(EnableAlarmActionRequest&& value) { m_enableActionRequestsHasBeenSet = true; m_enableActionRequests.push_back(std::move(value)); return *this; } private: Aws::Vector m_enableActionRequests; bool m_enableActionRequestsHasBeenSet = false; }; } // namespace Model } // namespace IoTEventsData } // namespace Aws