158 lines
5.8 KiB
C++
158 lines
5.8 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/swf/SWF_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SWF
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p> Provides the details of the <code>TimerCanceled</code> event. </p><p><h3>See
|
|
* Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/swf-2012-01-25/TimerCanceledEventAttributes">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SWF_API TimerCanceledEventAttributes
|
|
{
|
|
public:
|
|
TimerCanceledEventAttributes();
|
|
TimerCanceledEventAttributes(Aws::Utils::Json::JsonView jsonValue);
|
|
TimerCanceledEventAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The unique ID of the timer that was canceled.</p>
|
|
*/
|
|
inline const Aws::String& GetTimerId() const{ return m_timerId; }
|
|
|
|
/**
|
|
* <p>The unique ID of the timer that was canceled.</p>
|
|
*/
|
|
inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The unique ID of the timer that was canceled.</p>
|
|
*/
|
|
inline void SetTimerId(const Aws::String& value) { m_timerIdHasBeenSet = true; m_timerId = value; }
|
|
|
|
/**
|
|
* <p>The unique ID of the timer that was canceled.</p>
|
|
*/
|
|
inline void SetTimerId(Aws::String&& value) { m_timerIdHasBeenSet = true; m_timerId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The unique ID of the timer that was canceled.</p>
|
|
*/
|
|
inline void SetTimerId(const char* value) { m_timerIdHasBeenSet = true; m_timerId.assign(value); }
|
|
|
|
/**
|
|
* <p>The unique ID of the timer that was canceled.</p>
|
|
*/
|
|
inline TimerCanceledEventAttributes& WithTimerId(const Aws::String& value) { SetTimerId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The unique ID of the timer that was canceled.</p>
|
|
*/
|
|
inline TimerCanceledEventAttributes& WithTimerId(Aws::String&& value) { SetTimerId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The unique ID of the timer that was canceled.</p>
|
|
*/
|
|
inline TimerCanceledEventAttributes& WithTimerId(const char* value) { SetTimerId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ID of the <code>TimerStarted</code> 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.</p>
|
|
*/
|
|
inline long long GetStartedEventId() const{ return m_startedEventId; }
|
|
|
|
/**
|
|
* <p>The ID of the <code>TimerStarted</code> 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.</p>
|
|
*/
|
|
inline bool StartedEventIdHasBeenSet() const { return m_startedEventIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ID of the <code>TimerStarted</code> 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.</p>
|
|
*/
|
|
inline void SetStartedEventId(long long value) { m_startedEventIdHasBeenSet = true; m_startedEventId = value; }
|
|
|
|
/**
|
|
* <p>The ID of the <code>TimerStarted</code> 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.</p>
|
|
*/
|
|
inline TimerCanceledEventAttributes& WithStartedEventId(long long value) { SetStartedEventId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the
|
|
* decision task that resulted in the <code>CancelTimer</code> decision to cancel
|
|
* this timer. This information can be useful for diagnosing problems by tracing
|
|
* back the chain of events leading up to this event.</p>
|
|
*/
|
|
inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
|
|
|
|
/**
|
|
* <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the
|
|
* decision task that resulted in the <code>CancelTimer</code> decision to cancel
|
|
* this timer. This information can be useful for diagnosing problems by tracing
|
|
* back the chain of events leading up to this event.</p>
|
|
*/
|
|
inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the
|
|
* decision task that resulted in the <code>CancelTimer</code> decision to cancel
|
|
* this timer. This information can be useful for diagnosing problems by tracing
|
|
* back the chain of events leading up to this event.</p>
|
|
*/
|
|
inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
|
|
|
|
/**
|
|
* <p>The ID of the <code>DecisionTaskCompleted</code> event corresponding to the
|
|
* decision task that resulted in the <code>CancelTimer</code> decision to cancel
|
|
* this timer. This information can be useful for diagnosing problems by tracing
|
|
* back the chain of events leading up to this event.</p>
|
|
*/
|
|
inline TimerCanceledEventAttributes& WithDecisionTaskCompletedEventId(long long value) { SetDecisionTaskCompletedEventId(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_timerId;
|
|
bool m_timerIdHasBeenSet;
|
|
|
|
long long m_startedEventId;
|
|
bool m_startedEventIdHasBeenSet;
|
|
|
|
long long m_decisionTaskCompletedEventId;
|
|
bool m_decisionTaskCompletedEventIdHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SWF
|
|
} // namespace Aws
|