AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartTimerDecisionAttributes.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
46 {
47 public:
48 AWS_SWF_API StartTimerDecisionAttributes() = default;
52
53
55
62 inline const Aws::String& GetTimerId() const { return m_timerId; }
63 inline bool TimerIdHasBeenSet() const { return m_timerIdHasBeenSet; }
64 template<typename TimerIdT = Aws::String>
65 void SetTimerId(TimerIdT&& value) { m_timerIdHasBeenSet = true; m_timerId = std::forward<TimerIdT>(value); }
66 template<typename TimerIdT = Aws::String>
67 StartTimerDecisionAttributes& WithTimerId(TimerIdT&& value) { SetTimerId(std::forward<TimerIdT>(value)); return *this;}
69
71
75 inline const Aws::String& GetControl() const { return m_control; }
76 inline bool ControlHasBeenSet() const { return m_controlHasBeenSet; }
77 template<typename ControlT = Aws::String>
78 void SetControl(ControlT&& value) { m_controlHasBeenSet = true; m_control = std::forward<ControlT>(value); }
79 template<typename ControlT = Aws::String>
80 StartTimerDecisionAttributes& WithControl(ControlT&& value) { SetControl(std::forward<ControlT>(value)); return *this;}
82
84
88 inline const Aws::String& GetStartToFireTimeout() const { return m_startToFireTimeout; }
89 inline bool StartToFireTimeoutHasBeenSet() const { return m_startToFireTimeoutHasBeenSet; }
90 template<typename StartToFireTimeoutT = Aws::String>
91 void SetStartToFireTimeout(StartToFireTimeoutT&& value) { m_startToFireTimeoutHasBeenSet = true; m_startToFireTimeout = std::forward<StartToFireTimeoutT>(value); }
92 template<typename StartToFireTimeoutT = Aws::String>
93 StartTimerDecisionAttributes& WithStartToFireTimeout(StartToFireTimeoutT&& value) { SetStartToFireTimeout(std::forward<StartToFireTimeoutT>(value)); return *this;}
95 private:
96
97 Aws::String m_timerId;
98 bool m_timerIdHasBeenSet = false;
99
100 Aws::String m_control;
101 bool m_controlHasBeenSet = false;
102
103 Aws::String m_startToFireTimeout;
104 bool m_startToFireTimeoutHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SWF
109} // namespace Aws
AWS_SWF_API StartTimerDecisionAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API StartTimerDecisionAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_SWF_API StartTimerDecisionAttributes()=default
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
StartTimerDecisionAttributes & WithTimerId(TimerIdT &&value)
StartTimerDecisionAttributes & WithStartToFireTimeout(StartToFireTimeoutT &&value)
StartTimerDecisionAttributes & WithControl(ControlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue