/** * 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 IoTEvents { namespace Model { /** *

Information needed to clear the timer.

See Also:

AWS * API Reference

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

The name of the timer to clear.

*/ inline const Aws::String& GetTimerName() const{ return m_timerName; } /** *

The name of the timer to clear.

*/ inline bool TimerNameHasBeenSet() const { return m_timerNameHasBeenSet; } /** *

The name of the timer to clear.

*/ inline void SetTimerName(const Aws::String& value) { m_timerNameHasBeenSet = true; m_timerName = value; } /** *

The name of the timer to clear.

*/ inline void SetTimerName(Aws::String&& value) { m_timerNameHasBeenSet = true; m_timerName = std::move(value); } /** *

The name of the timer to clear.

*/ inline void SetTimerName(const char* value) { m_timerNameHasBeenSet = true; m_timerName.assign(value); } /** *

The name of the timer to clear.

*/ inline ClearTimerAction& WithTimerName(const Aws::String& value) { SetTimerName(value); return *this;} /** *

The name of the timer to clear.

*/ inline ClearTimerAction& WithTimerName(Aws::String&& value) { SetTimerName(std::move(value)); return *this;} /** *

The name of the timer to clear.

*/ inline ClearTimerAction& WithTimerName(const char* value) { SetTimerName(value); return *this;} private: Aws::String m_timerName; bool m_timerNameHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws