AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TimerStartedEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SWF
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SWF_API TimerStartedEventAttributes() = default;
39
40
42
45 inline const Aws::String& GetTimerId() const { return m_timerId; }
46 inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; }
47 template<typename TimerIdT = Aws::String>
48 void SetTimerId(TimerIdT&& value) { m_timerIdHasBeenSet = true; m_timerId = std::forward<TimerIdT>(value); }
49 template<typename TimerIdT = Aws::String>
50 TimerStartedEventAttributes& WithTimerId(TimerIdT&& value) { SetTimerId(std::forward<TimerIdT>(value)); return *this;}
52
54
58 inline const Aws::String& GetControl() const { return m_control; }
59 inline bool ControlHasBeenSet() const { return m_controlHasBeenSet; }
60 template<typename ControlT = Aws::String>
61 void SetControl(ControlT&& value) { m_controlHasBeenSet = true; m_control = std::forward<ControlT>(value); }
62 template<typename ControlT = Aws::String>
63 TimerStartedEventAttributes& WithControl(ControlT&& value) { SetControl(std::forward<ControlT>(value)); return *this;}
65
67
71 inline const Aws::String& GetStartToFireTimeout() const { return m_startToFireTimeout; }
72 inline bool StartToFireTimeoutHasBeenSet() const { return m_startToFireTimeoutHasBeenSet; }
73 template<typename StartToFireTimeoutT = Aws::String>
74 void SetStartToFireTimeout(StartToFireTimeoutT&& value) { m_startToFireTimeoutHasBeenSet = true; m_startToFireTimeout = std::forward<StartToFireTimeoutT>(value); }
75 template<typename StartToFireTimeoutT = Aws::String>
76 TimerStartedEventAttributes& WithStartToFireTimeout(StartToFireTimeoutT&& value) { SetStartToFireTimeout(std::forward<StartToFireTimeoutT>(value)); return *this;}
78
80
86 inline long long GetDecisionTaskCompletedEventId() const { return m_decisionTaskCompletedEventId; }
87 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
88 inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
91 private:
92
93 Aws::String m_timerId;
94 bool m_timerIdHasBeenSet = false;
95
96 Aws::String m_control;
97 bool m_controlHasBeenSet = false;
98
99 Aws::String m_startToFireTimeout;
100 bool m_startToFireTimeoutHasBeenSet = false;
101
102 long long m_decisionTaskCompletedEventId{0};
103 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SWF
108} // namespace Aws
TimerStartedEventAttributes & WithControl(ControlT &&value)
TimerStartedEventAttributes & WithTimerId(TimerIdT &&value)
AWS_SWF_API TimerStartedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API TimerStartedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetStartToFireTimeout(StartToFireTimeoutT &&value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SWF_API TimerStartedEventAttributes()=default
TimerStartedEventAttributes & WithStartToFireTimeout(StartToFireTimeoutT &&value)
TimerStartedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue