/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace IoTEvents { namespace Model { /** */ class DescribeAlarmModelRequest : public IoTEventsRequest { public: AWS_IOTEVENTS_API DescribeAlarmModelRequest(); // 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 "DescribeAlarmModel"; } AWS_IOTEVENTS_API Aws::String SerializePayload() const override; AWS_IOTEVENTS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The name of the alarm model.

*/ inline const Aws::String& GetAlarmModelName() const{ return m_alarmModelName; } /** *

The name of the alarm model.

*/ inline bool AlarmModelNameHasBeenSet() const { return m_alarmModelNameHasBeenSet; } /** *

The name of the alarm model.

*/ inline void SetAlarmModelName(const Aws::String& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = value; } /** *

The name of the alarm model.

*/ inline void SetAlarmModelName(Aws::String&& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = std::move(value); } /** *

The name of the alarm model.

*/ inline void SetAlarmModelName(const char* value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName.assign(value); } /** *

The name of the alarm model.

*/ inline DescribeAlarmModelRequest& WithAlarmModelName(const Aws::String& value) { SetAlarmModelName(value); return *this;} /** *

The name of the alarm model.

*/ inline DescribeAlarmModelRequest& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;} /** *

The name of the alarm model.

*/ inline DescribeAlarmModelRequest& WithAlarmModelName(const char* value) { SetAlarmModelName(value); return *this;} /** *

The version of the alarm model.

*/ inline const Aws::String& GetAlarmModelVersion() const{ return m_alarmModelVersion; } /** *

The version of the alarm model.

*/ inline bool AlarmModelVersionHasBeenSet() const { return m_alarmModelVersionHasBeenSet; } /** *

The version of the alarm model.

*/ inline void SetAlarmModelVersion(const Aws::String& value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion = value; } /** *

The version of the alarm model.

*/ inline void SetAlarmModelVersion(Aws::String&& value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion = std::move(value); } /** *

The version of the alarm model.

*/ inline void SetAlarmModelVersion(const char* value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion.assign(value); } /** *

The version of the alarm model.

*/ inline DescribeAlarmModelRequest& WithAlarmModelVersion(const Aws::String& value) { SetAlarmModelVersion(value); return *this;} /** *

The version of the alarm model.

*/ inline DescribeAlarmModelRequest& WithAlarmModelVersion(Aws::String&& value) { SetAlarmModelVersion(std::move(value)); return *this;} /** *

The version of the alarm model.

*/ inline DescribeAlarmModelRequest& WithAlarmModelVersion(const char* value) { SetAlarmModelVersion(value); return *this;} private: Aws::String m_alarmModelName; bool m_alarmModelNameHasBeenSet = false; Aws::String m_alarmModelVersion; bool m_alarmModelVersionHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws