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

Provides the details of the TimerFired event.

See * Also:

AWS * API Reference

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

The unique ID of the timer that fired.

*/ inline const Aws::String& GetTimerId() const{ return m_timerId; } /** *

The unique ID of the timer that fired.

*/ inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; } /** *

The unique ID of the timer that fired.

*/ inline void SetTimerId(const Aws::String& value) { m_timerIdHasBeenSet = true; m_timerId = value; } /** *

The unique ID of the timer that fired.

*/ inline void SetTimerId(Aws::String&& value) { m_timerIdHasBeenSet = true; m_timerId = std::move(value); } /** *

The unique ID of the timer that fired.

*/ inline void SetTimerId(const char* value) { m_timerIdHasBeenSet = true; m_timerId.assign(value); } /** *

The unique ID of the timer that fired.

*/ inline TimerFiredEventAttributes& WithTimerId(const Aws::String& value) { SetTimerId(value); return *this;} /** *

The unique ID of the timer that fired.

*/ inline TimerFiredEventAttributes& WithTimerId(Aws::String&& value) { SetTimerId(std::move(value)); return *this;} /** *

The unique ID of the timer that fired.

*/ inline TimerFiredEventAttributes& WithTimerId(const char* value) { SetTimerId(value); return *this;} /** *

The ID of the TimerStarted event that was recorded when this * timer was started. This information can be useful for diagnosing problems by * tracing back the chain of events leading up to this event.

*/ inline long long GetStartedEventId() const{ return m_startedEventId; } /** *

The ID of the TimerStarted event that was recorded when this * timer was started. This information can be useful for diagnosing problems by * tracing back the chain of events leading up to this event.

*/ inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; } /** *

The ID of the TimerStarted event that was recorded when this * timer was started. This information can be useful for diagnosing problems by * tracing back the chain of events leading up to this event.

*/ inline void SetStartedEventId(long long value) { m_startedEventIdHasBeenSet = true; m_startedEventId = value; } /** *

The ID of the TimerStarted event that was recorded when this * timer was started. This information can be useful for diagnosing problems by * tracing back the chain of events leading up to this event.

*/ inline TimerFiredEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;} private: Aws::String m_timerId; bool m_timerIdHasBeenSet = false; long long m_startedEventId; bool m_startedEventIdHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws