AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
46 inline const Aws::String& GetResource() const{ return m_resource; }
47 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
48 inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
49 inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
50 inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
51 inline ActivityScheduledEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;}
52 inline ActivityScheduledEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
53 inline ActivityScheduledEventDetails& WithResource(const char* value) { SetResource(value); return *this;}
55
57
61 inline const Aws::String& GetInput() const{ return m_input; }
62 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
63 inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
64 inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
65 inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
66 inline ActivityScheduledEventDetails& WithInput(const Aws::String& value) { SetInput(value); return *this;}
67 inline ActivityScheduledEventDetails& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
68 inline ActivityScheduledEventDetails& WithInput(const char* value) { SetInput(value); return *this;}
70
72
75 inline const HistoryEventExecutionDataDetails& GetInputDetails() const{ return m_inputDetails; }
76 inline bool InputDetailsHasBeenSet() const { return m_inputDetailsHasBeenSet; }
77 inline void SetInputDetails(const HistoryEventExecutionDataDetails& value) { m_inputDetailsHasBeenSet = true; m_inputDetails = value; }
78 inline void SetInputDetails(HistoryEventExecutionDataDetails&& value) { m_inputDetailsHasBeenSet = true; m_inputDetails = std::move(value); }
82
84
87 inline long long GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
88 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
89 inline void SetTimeoutInSeconds(long long value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
90 inline ActivityScheduledEventDetails& WithTimeoutInSeconds(long long value) { SetTimeoutInSeconds(value); return *this;}
92
94
98 inline long long GetHeartbeatInSeconds() const{ return m_heartbeatInSeconds; }
99 inline bool HeartbeatInSecondsHasBeenSet() const { return m_heartbeatInSecondsHasBeenSet; }
100 inline void SetHeartbeatInSeconds(long long value) { m_heartbeatInSecondsHasBeenSet = true; m_heartbeatInSeconds = value; }
101 inline ActivityScheduledEventDetails& WithHeartbeatInSeconds(long long value) { SetHeartbeatInSeconds(value); return *this;}
103 private:
104
105 Aws::String m_resource;
106 bool m_resourceHasBeenSet = false;
107
108 Aws::String m_input;
109 bool m_inputHasBeenSet = false;
110
112 bool m_inputDetailsHasBeenSet = false;
113
114 long long m_timeoutInSeconds;
115 bool m_timeoutInSecondsHasBeenSet = false;
116
117 long long m_heartbeatInSeconds;
118 bool m_heartbeatInSecondsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SFN
123} // namespace Aws
void SetInputDetails(const HistoryEventExecutionDataDetails &value)
ActivityScheduledEventDetails & WithInput(const char *value)
const HistoryEventExecutionDataDetails & GetInputDetails() const
ActivityScheduledEventDetails & WithHeartbeatInSeconds(long long value)
ActivityScheduledEventDetails & WithInputDetails(HistoryEventExecutionDataDetails &&value)
ActivityScheduledEventDetails & WithInput(Aws::String &&value)
AWS_SFN_API ActivityScheduledEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ActivityScheduledEventDetails & WithTimeoutInSeconds(long long value)
ActivityScheduledEventDetails & WithInputDetails(const HistoryEventExecutionDataDetails &value)
void SetInputDetails(HistoryEventExecutionDataDetails &&value)
AWS_SFN_API ActivityScheduledEventDetails(Aws::Utils::Json::JsonView jsonValue)
ActivityScheduledEventDetails & WithResource(Aws::String &&value)
ActivityScheduledEventDetails & WithInput(const Aws::String &value)
ActivityScheduledEventDetails & WithResource(const char *value)
ActivityScheduledEventDetails & WithResource(const Aws::String &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