AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ActivityScheduledEventDetails.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/model/HistoryEventExecutionDataDetails.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SFN
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SFN_API ActivityScheduledEventDetails() = default;
40
41
43
46 inline const Aws::String& GetResource() const { return m_resource; }
47 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
48 template<typename ResourceT = Aws::String>
49 void SetResource(ResourceT&& value) { m_resourceHasBeenSet = true; m_resource = std::forward<ResourceT>(value); }
50 template<typename ResourceT = Aws::String>
51 ActivityScheduledEventDetails& WithResource(ResourceT&& value) { SetResource(std::forward<ResourceT>(value)); return *this;}
53
55
59 inline const Aws::String& GetInput() const { return m_input; }
60 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
61 template<typename InputT = Aws::String>
62 void SetInput(InputT&& value) { m_inputHasBeenSet = true; m_input = std::forward<InputT>(value); }
63 template<typename InputT = Aws::String>
64 ActivityScheduledEventDetails& WithInput(InputT&& value) { SetInput(std::forward<InputT>(value)); return *this;}
66
68
71 inline const HistoryEventExecutionDataDetails& GetInputDetails() const { return m_inputDetails; }
72 inline bool InputDetailsHasBeenSet() const { return m_inputDetailsHasBeenSet; }
73 template<typename InputDetailsT = HistoryEventExecutionDataDetails>
74 void SetInputDetails(InputDetailsT&& value) { m_inputDetailsHasBeenSet = true; m_inputDetails = std::forward<InputDetailsT>(value); }
75 template<typename InputDetailsT = HistoryEventExecutionDataDetails>
76 ActivityScheduledEventDetails& WithInputDetails(InputDetailsT&& value) { SetInputDetails(std::forward<InputDetailsT>(value)); return *this;}
78
80
83 inline long long GetTimeoutInSeconds() const { return m_timeoutInSeconds; }
84 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
85 inline void SetTimeoutInSeconds(long long value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
86 inline ActivityScheduledEventDetails& WithTimeoutInSeconds(long long value) { SetTimeoutInSeconds(value); return *this;}
88
90
94 inline long long GetHeartbeatInSeconds() const { return m_heartbeatInSeconds; }
95 inline bool HeartbeatInSecondsHasBeenSet() const { return m_heartbeatInSecondsHasBeenSet; }
96 inline void SetHeartbeatInSeconds(long long value) { m_heartbeatInSecondsHasBeenSet = true; m_heartbeatInSeconds = value; }
97 inline ActivityScheduledEventDetails& WithHeartbeatInSeconds(long long value) { SetHeartbeatInSeconds(value); return *this;}
99 private:
100
101 Aws::String m_resource;
102 bool m_resourceHasBeenSet = false;
103
104 Aws::String m_input;
105 bool m_inputHasBeenSet = false;
106
108 bool m_inputDetailsHasBeenSet = false;
109
110 long long m_timeoutInSeconds{0};
111 bool m_timeoutInSecondsHasBeenSet = false;
112
113 long long m_heartbeatInSeconds{0};
114 bool m_heartbeatInSecondsHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SFN
119} // namespace Aws
const HistoryEventExecutionDataDetails & GetInputDetails() const
ActivityScheduledEventDetails & WithHeartbeatInSeconds(long long value)
ActivityScheduledEventDetails & WithResource(ResourceT &&value)
ActivityScheduledEventDetails & WithInput(InputT &&value)
AWS_SFN_API ActivityScheduledEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ActivityScheduledEventDetails & WithTimeoutInSeconds(long long value)
AWS_SFN_API ActivityScheduledEventDetails(Aws::Utils::Json::JsonView jsonValue)
ActivityScheduledEventDetails & WithInputDetails(InputDetailsT &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue