/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTEventsData { namespace Model { /** *

Contains the configuration information of a disable action.

See * Also:

AWS * API Reference

*/ class DisableActionConfiguration { public: AWS_IOTEVENTSDATA_API DisableActionConfiguration(); AWS_IOTEVENTSDATA_API DisableActionConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_IOTEVENTSDATA_API DisableActionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 DisableActionConfiguration& WithNote(const Aws::String& value) { SetNote(value); return *this;} /** *

The note that you can leave when you disable the alarm.

*/ inline DisableActionConfiguration& WithNote(Aws::String&& value) { SetNote(std::move(value)); return *this;} /** *

The note that you can leave when you disable the alarm.

*/ inline DisableActionConfiguration& WithNote(const char* value) { SetNote(value); return *this;} private: Aws::String m_note; bool m_noteHasBeenSet = false; }; } // namespace Model } // namespace IoTEventsData } // namespace Aws