AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
TimerStartedEventAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/swf/SWF_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SWF {
20namespace Model {
21
29 public:
30 AWS_SWF_API TimerStartedEventAttributes() = default;
34
36
39 inline const Aws::String& GetTimerId() const { return m_timerId; }
40 inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; }
41 template <typename TimerIdT = Aws::String>
42 void SetTimerId(TimerIdT&& value) {
43 m_timerIdHasBeenSet = true;
44 m_timerId = std::forward<TimerIdT>(value);
45 }
46 template <typename TimerIdT = Aws::String>
48 SetTimerId(std::forward<TimerIdT>(value));
49 return *this;
50 }
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) {
62 m_controlHasBeenSet = true;
63 m_control = std::forward<ControlT>(value);
64 }
65 template <typename ControlT = Aws::String>
67 SetControl(std::forward<ControlT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetStartToFireTimeout() const { return m_startToFireTimeout; }
78 inline bool StartToFireTimeoutHasBeenSet() const { return m_startToFireTimeoutHasBeenSet; }
79 template <typename StartToFireTimeoutT = Aws::String>
80 void SetStartToFireTimeout(StartToFireTimeoutT&& value) {
81 m_startToFireTimeoutHasBeenSet = true;
82 m_startToFireTimeout = std::forward<StartToFireTimeoutT>(value);
83 }
84 template <typename StartToFireTimeoutT = Aws::String>
86 SetStartToFireTimeout(std::forward<StartToFireTimeoutT>(value));
87 return *this;
88 }
90
92
98 inline long long GetDecisionTaskCompletedEventId() const { return m_decisionTaskCompletedEventId; }
99 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
100 inline void SetDecisionTaskCompletedEventId(long long value) {
101 m_decisionTaskCompletedEventIdHasBeenSet = true;
102 m_decisionTaskCompletedEventId = value;
103 }
106 return *this;
107 }
109 private:
110 Aws::String m_timerId;
111
112 Aws::String m_control;
113
114 Aws::String m_startToFireTimeout;
115
116 long long m_decisionTaskCompletedEventId{0};
117 bool m_timerIdHasBeenSet = false;
118 bool m_controlHasBeenSet = false;
119 bool m_startToFireTimeoutHasBeenSet = false;
120 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace SWF
125} // 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