/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information used to disable the alarm.See Also:
AWS
* API Reference
The request ID. Each ID must be unique within each batch.
*/ inline const Aws::String& GetRequestId() const{ return m_requestId; } /** *The request ID. Each ID must be unique within each batch.
*/ inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } /** *The request ID. Each ID must be unique within each batch.
*/ inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } /** *The request ID. Each ID must be unique within each batch.
*/ inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } /** *The request ID. Each ID must be unique within each batch.
*/ inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } /** *The request ID. Each ID must be unique within each batch.
*/ inline DisableAlarmActionRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} /** *The request ID. Each ID must be unique within each batch.
*/ inline DisableAlarmActionRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} /** *The request ID. Each ID must be unique within each batch.
*/ inline DisableAlarmActionRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *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 DisableAlarmActionRequest& WithAlarmModelName(const Aws::String& value) { SetAlarmModelName(value); return *this;} /** *The name of the alarm model.
*/ inline DisableAlarmActionRequest& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;} /** *The name of the alarm model.
*/ inline DisableAlarmActionRequest& WithAlarmModelName(const char* value) { SetAlarmModelName(value); return *this;} /** *The value of the key used as a filter to select only the alarms associated * with the key.
*/ inline const Aws::String& GetKeyValue() const{ return m_keyValue; } /** *The value of the key used as a filter to select only the alarms associated * with the key.
*/ inline bool KeyValueHasBeenSet() const { return m_keyValueHasBeenSet; } /** *The value of the key used as a filter to select only the alarms associated * with the key.
*/ inline void SetKeyValue(const Aws::String& value) { m_keyValueHasBeenSet = true; m_keyValue = value; } /** *The value of the key used as a filter to select only the alarms associated * with the key.
*/ inline void SetKeyValue(Aws::String&& value) { m_keyValueHasBeenSet = true; m_keyValue = std::move(value); } /** *The value of the key used as a filter to select only the alarms associated * with the key.
*/ inline void SetKeyValue(const char* value) { m_keyValueHasBeenSet = true; m_keyValue.assign(value); } /** *The value of the key used as a filter to select only the alarms associated * with the key.
*/ inline DisableAlarmActionRequest& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;} /** *The value of the key used as a filter to select only the alarms associated * with the key.
*/ inline DisableAlarmActionRequest& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;} /** *The value of the key used as a filter to select only the alarms associated * with the key.
*/ inline DisableAlarmActionRequest& WithKeyValue(const char* value) { SetKeyValue(value); return *this;} /** *The note that you can leave when you disable the alarm.
*/ inline const Aws::String& GetNote() const{ return m_note; } /** *The note that you can leave when you disable the alarm.
*/ inline bool NoteHasBeenSet() const { return m_noteHasBeenSet; } /** *The note that you can leave when you disable the alarm.
*/ inline void SetNote(const Aws::String& value) { m_noteHasBeenSet = true; m_note = value; } /** *The note that you can leave when you disable the alarm.
*/ inline void SetNote(Aws::String&& value) { m_noteHasBeenSet = true; m_note = std::move(value); } /** *The note that you can leave when you disable the alarm.
*/ inline void SetNote(const char* value) { m_noteHasBeenSet = true; m_note.assign(value); } /** *The note that you can leave when you disable the alarm.
*/ inline DisableAlarmActionRequest& WithNote(const Aws::String& value) { SetNote(value); return *this;} /** *The note that you can leave when you disable the alarm.
*/ inline DisableAlarmActionRequest& WithNote(Aws::String&& value) { SetNote(std::move(value)); return *this;} /** *The note that you can leave when you disable the alarm.
*/ inline DisableAlarmActionRequest& WithNote(const char* value) { SetNote(value); return *this;} private: Aws::String m_requestId; bool m_requestIdHasBeenSet = false; Aws::String m_alarmModelName; bool m_alarmModelNameHasBeenSet = false; Aws::String m_keyValue; bool m_keyValueHasBeenSet = false; Aws::String m_note; bool m_noteHasBeenSet = false; }; } // namespace Model } // namespace IoTEventsData } // namespace Aws