AWS SDK for C++  1.9.104
AWS SDK for C++
ActivityScheduledEventDetails.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SFN
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetResource() const{ return m_resource; }
46 
50  inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
51 
55  inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
56 
60  inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
61 
65  inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
66 
70  inline ActivityScheduledEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;}
71 
75  inline ActivityScheduledEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
76 
80  inline ActivityScheduledEventDetails& WithResource(const char* value) { SetResource(value); return *this;}
81 
82 
87  inline const Aws::String& GetInput() const{ return m_input; }
88 
93  inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
94 
99  inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
100 
105  inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
106 
111  inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
112 
117  inline ActivityScheduledEventDetails& WithInput(const Aws::String& value) { SetInput(value); return *this;}
118 
123  inline ActivityScheduledEventDetails& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
124 
129  inline ActivityScheduledEventDetails& WithInput(const char* value) { SetInput(value); return *this;}
130 
131 
135  inline const HistoryEventExecutionDataDetails& GetInputDetails() const{ return m_inputDetails; }
136 
140  inline bool InputDetailsHasBeenSet() const { return m_inputDetailsHasBeenSet; }
141 
145  inline void SetInputDetails(const HistoryEventExecutionDataDetails& value) { m_inputDetailsHasBeenSet = true; m_inputDetails = value; }
146 
150  inline void SetInputDetails(HistoryEventExecutionDataDetails&& value) { m_inputDetailsHasBeenSet = true; m_inputDetails = std::move(value); }
151 
155  inline ActivityScheduledEventDetails& WithInputDetails(const HistoryEventExecutionDataDetails& value) { SetInputDetails(value); return *this;}
156 
160  inline ActivityScheduledEventDetails& WithInputDetails(HistoryEventExecutionDataDetails&& value) { SetInputDetails(std::move(value)); return *this;}
161 
162 
166  inline long long GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
167 
171  inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
172 
176  inline void SetTimeoutInSeconds(long long value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
177 
181  inline ActivityScheduledEventDetails& WithTimeoutInSeconds(long long value) { SetTimeoutInSeconds(value); return *this;}
182 
183 
188  inline long long GetHeartbeatInSeconds() const{ return m_heartbeatInSeconds; }
189 
194  inline bool HeartbeatInSecondsHasBeenSet() const { return m_heartbeatInSecondsHasBeenSet; }
195 
200  inline void SetHeartbeatInSeconds(long long value) { m_heartbeatInSecondsHasBeenSet = true; m_heartbeatInSeconds = value; }
201 
206  inline ActivityScheduledEventDetails& WithHeartbeatInSeconds(long long value) { SetHeartbeatInSeconds(value); return *this;}
207 
208  private:
209 
210  Aws::String m_resource;
211  bool m_resourceHasBeenSet;
212 
213  Aws::String m_input;
214  bool m_inputHasBeenSet;
215 
216  HistoryEventExecutionDataDetails m_inputDetails;
217  bool m_inputDetailsHasBeenSet;
218 
219  long long m_timeoutInSeconds;
220  bool m_timeoutInSecondsHasBeenSet;
221 
222  long long m_heartbeatInSeconds;
223  bool m_heartbeatInSecondsHasBeenSet;
224  };
225 
226 } // namespace Model
227 } // namespace SFN
228 } // namespace Aws
Aws::SFN::Model::ActivityScheduledEventDetails::HeartbeatInSecondsHasBeenSet
bool HeartbeatInSecondsHasBeenSet() const
Definition: ActivityScheduledEventDetails.h:194
Aws::SFN::Model::ActivityScheduledEventDetails::SetResource
void SetResource(Aws::String &&value)
Definition: ActivityScheduledEventDetails.h:60
Aws::SFN::Model::ActivityScheduledEventDetails::WithResource
ActivityScheduledEventDetails & WithResource(const Aws::String &value)
Definition: ActivityScheduledEventDetails.h:70
Aws::SFN::Model::ActivityScheduledEventDetails::ActivityScheduledEventDetails
ActivityScheduledEventDetails()
Aws::SFN::Model::ActivityScheduledEventDetails::InputDetailsHasBeenSet
bool InputDetailsHasBeenSet() const
Definition: ActivityScheduledEventDetails.h:140
Aws::SFN::Model::ActivityScheduledEventDetails::WithInput
ActivityScheduledEventDetails & WithInput(const Aws::String &value)
Definition: ActivityScheduledEventDetails.h:117
Aws::SFN::Model::ActivityScheduledEventDetails::WithInput
ActivityScheduledEventDetails & WithInput(Aws::String &&value)
Definition: ActivityScheduledEventDetails.h:123
Aws::SFN::Model::ActivityScheduledEventDetails::WithInputDetails
ActivityScheduledEventDetails & WithInputDetails(const HistoryEventExecutionDataDetails &value)
Definition: ActivityScheduledEventDetails.h:155
Aws::SFN::Model::ActivityScheduledEventDetails::SetInput
void SetInput(const Aws::String &value)
Definition: ActivityScheduledEventDetails.h:99
Aws::SFN::Model::ActivityScheduledEventDetails::WithInputDetails
ActivityScheduledEventDetails & WithInputDetails(HistoryEventExecutionDataDetails &&value)
Definition: ActivityScheduledEventDetails.h:160
Aws::SFN::Model::ActivityScheduledEventDetails::WithResource
ActivityScheduledEventDetails & WithResource(const char *value)
Definition: ActivityScheduledEventDetails.h:80
Aws::SFN::Model::ActivityScheduledEventDetails::GetResource
const Aws::String & GetResource() const
Definition: ActivityScheduledEventDetails.h:45
Aws::SFN::Model::ActivityScheduledEventDetails::SetInput
void SetInput(const char *value)
Definition: ActivityScheduledEventDetails.h:111
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::ActivityScheduledEventDetails::ActivityScheduledEventDetails
ActivityScheduledEventDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::ActivityScheduledEventDetails::GetInputDetails
const HistoryEventExecutionDataDetails & GetInputDetails() const
Definition: ActivityScheduledEventDetails.h:135
HistoryEventExecutionDataDetails.h
Aws::SFN::Model::ActivityScheduledEventDetails::SetResource
void SetResource(const Aws::String &value)
Definition: ActivityScheduledEventDetails.h:55
Aws::SFN::Model::ActivityScheduledEventDetails::TimeoutInSecondsHasBeenSet
bool TimeoutInSecondsHasBeenSet() const
Definition: ActivityScheduledEventDetails.h:171
Aws::SFN::Model::ActivityScheduledEventDetails::WithTimeoutInSeconds
ActivityScheduledEventDetails & WithTimeoutInSeconds(long long value)
Definition: ActivityScheduledEventDetails.h:181
Aws::SFN::Model::HistoryEventExecutionDataDetails
Definition: HistoryEventExecutionDataDetails.h:31
Aws::SFN::Model::ActivityScheduledEventDetails::SetTimeoutInSeconds
void SetTimeoutInSeconds(long long value)
Definition: ActivityScheduledEventDetails.h:176
Aws::SFN::Model::ActivityScheduledEventDetails::GetTimeoutInSeconds
long long GetTimeoutInSeconds() const
Definition: ActivityScheduledEventDetails.h:166
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SFN::Model::ActivityScheduledEventDetails::InputHasBeenSet
bool InputHasBeenSet() const
Definition: ActivityScheduledEventDetails.h:93
Aws::SFN::Model::ActivityScheduledEventDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SFN::Model::ActivityScheduledEventDetails::WithResource
ActivityScheduledEventDetails & WithResource(Aws::String &&value)
Definition: ActivityScheduledEventDetails.h:75
Aws::SFN::Model::ActivityScheduledEventDetails::GetInput
const Aws::String & GetInput() const
Definition: ActivityScheduledEventDetails.h:87
Aws::SFN::Model::ActivityScheduledEventDetails::SetInputDetails
void SetInputDetails(const HistoryEventExecutionDataDetails &value)
Definition: ActivityScheduledEventDetails.h:145
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::ActivityScheduledEventDetails::WithInput
ActivityScheduledEventDetails & WithInput(const char *value)
Definition: ActivityScheduledEventDetails.h:129
Aws::SFN::Model::ActivityScheduledEventDetails::SetResource
void SetResource(const char *value)
Definition: ActivityScheduledEventDetails.h:65
Aws::SFN::Model::ActivityScheduledEventDetails::WithHeartbeatInSeconds
ActivityScheduledEventDetails & WithHeartbeatInSeconds(long long value)
Definition: ActivityScheduledEventDetails.h:206
Aws::SFN::Model::ActivityScheduledEventDetails::SetInputDetails
void SetInputDetails(HistoryEventExecutionDataDetails &&value)
Definition: ActivityScheduledEventDetails.h:150
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::ActivityScheduledEventDetails::SetInput
void SetInput(Aws::String &&value)
Definition: ActivityScheduledEventDetails.h:105
Aws::SFN::Model::ActivityScheduledEventDetails::ResourceHasBeenSet
bool ResourceHasBeenSet() const
Definition: ActivityScheduledEventDetails.h:50
Aws::SFN::Model::ActivityScheduledEventDetails::GetHeartbeatInSeconds
long long GetHeartbeatInSeconds() const
Definition: ActivityScheduledEventDetails.h:188
Aws::SFN::Model::ActivityScheduledEventDetails::SetHeartbeatInSeconds
void SetHeartbeatInSeconds(long long value)
Definition: ActivityScheduledEventDetails.h:200
Aws::SFN::Model::ActivityScheduledEventDetails::operator=
ActivityScheduledEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::ActivityScheduledEventDetails
Definition: ActivityScheduledEventDetails.h:34