AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
39
40
42
45 inline const Aws::String& GetTimerId() const{ return m_timerId; }
46 inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; }
47 inline void SetTimerId(const Aws::String& value) { m_timerIdHasBeenSet = true; m_timerId = value; }
48 inline void SetTimerId(Aws::String&& value) { m_timerIdHasBeenSet = true; m_timerId = std::move(value); }
49 inline void SetTimerId(const char* value) { m_timerIdHasBeenSet = true; m_timerId.assign(value); }
50 inline TimerStartedEventAttributes& WithTimerId(const Aws::String& value) { SetTimerId(value); return *this;}
51 inline TimerStartedEventAttributes& WithTimerId(Aws::String&& value) { SetTimerId(std::move(value)); return *this;}
52 inline TimerStartedEventAttributes& WithTimerId(const char* value) { SetTimerId(value); return *this;}
54
56
60 inline const Aws::String& GetControl() const{ return m_control; }
61 inline bool ControlHasBeenSet() const { return m_controlHasBeenSet; }
62 inline void SetControl(const Aws::String& value) { m_controlHasBeenSet = true; m_control = value; }
63 inline void SetControl(Aws::String&& value) { m_controlHasBeenSet = true; m_control = std::move(value); }
64 inline void SetControl(const char* value) { m_controlHasBeenSet = true; m_control.assign(value); }
65 inline TimerStartedEventAttributes& WithControl(const Aws::String& value) { SetControl(value); return *this;}
66 inline TimerStartedEventAttributes& WithControl(Aws::String&& value) { SetControl(std::move(value)); return *this;}
67 inline TimerStartedEventAttributes& WithControl(const char* value) { SetControl(value); return *this;}
69
71
75 inline const Aws::String& GetStartToFireTimeout() const{ return m_startToFireTimeout; }
76 inline bool StartToFireTimeoutHasBeenSet() const { return m_startToFireTimeoutHasBeenSet; }
77 inline void SetStartToFireTimeout(const Aws::String& value) { m_startToFireTimeoutHasBeenSet = true; m_startToFireTimeout = value; }
78 inline void SetStartToFireTimeout(Aws::String&& value) { m_startToFireTimeoutHasBeenSet = true; m_startToFireTimeout = std::move(value); }
79 inline void SetStartToFireTimeout(const char* value) { m_startToFireTimeoutHasBeenSet = true; m_startToFireTimeout.assign(value); }
81 inline TimerStartedEventAttributes& WithStartToFireTimeout(Aws::String&& value) { SetStartToFireTimeout(std::move(value)); return *this;}
82 inline TimerStartedEventAttributes& WithStartToFireTimeout(const char* value) { SetStartToFireTimeout(value); return *this;}
84
86
92 inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
93 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
94 inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
97 private:
98
99 Aws::String m_timerId;
100 bool m_timerIdHasBeenSet = false;
101
102 Aws::String m_control;
103 bool m_controlHasBeenSet = false;
104
105 Aws::String m_startToFireTimeout;
106 bool m_startToFireTimeoutHasBeenSet = false;
107
108 long long m_decisionTaskCompletedEventId;
109 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SWF
114} // namespace Aws
TimerStartedEventAttributes & WithControl(const Aws::String &value)
TimerStartedEventAttributes & WithTimerId(Aws::String &&value)
TimerStartedEventAttributes & WithStartToFireTimeout(Aws::String &&value)
TimerStartedEventAttributes & WithStartToFireTimeout(const Aws::String &value)
TimerStartedEventAttributes & WithControl(Aws::String &&value)
TimerStartedEventAttributes & WithTimerId(const Aws::String &value)
TimerStartedEventAttributes & WithTimerId(const char *value)
AWS_SWF_API TimerStartedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API TimerStartedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
TimerStartedEventAttributes & WithControl(const char *value)
TimerStartedEventAttributes & WithStartToFireTimeout(const char *value)
TimerStartedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue