AWS SDK for C++  1.9.104
AWS SDK for C++
TaskScheduledEventDetails.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SFN
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetResourceType() const{ return m_resourceType; }
45 
49  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
50 
54  inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
55 
59  inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
60 
64  inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
65 
69  inline TaskScheduledEventDetails& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
70 
74  inline TaskScheduledEventDetails& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
75 
79  inline TaskScheduledEventDetails& WithResourceType(const char* value) { SetResourceType(value); return *this;}
80 
81 
85  inline const Aws::String& GetResource() const{ return m_resource; }
86 
90  inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
91 
95  inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
96 
100  inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
101 
105  inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
106 
110  inline TaskScheduledEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;}
111 
115  inline TaskScheduledEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
116 
120  inline TaskScheduledEventDetails& WithResource(const char* value) { SetResource(value); return *this;}
121 
122 
126  inline const Aws::String& GetRegion() const{ return m_region; }
127 
131  inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
132 
136  inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
137 
141  inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
142 
146  inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
147 
151  inline TaskScheduledEventDetails& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
152 
156  inline TaskScheduledEventDetails& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
157 
161  inline TaskScheduledEventDetails& WithRegion(const char* value) { SetRegion(value); return *this;}
162 
163 
169  inline const Aws::String& GetParameters() const{ return m_parameters; }
170 
176  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
177 
183  inline void SetParameters(const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters = value; }
184 
190  inline void SetParameters(Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
191 
197  inline void SetParameters(const char* value) { m_parametersHasBeenSet = true; m_parameters.assign(value); }
198 
204  inline TaskScheduledEventDetails& WithParameters(const Aws::String& value) { SetParameters(value); return *this;}
205 
211  inline TaskScheduledEventDetails& WithParameters(Aws::String&& value) { SetParameters(std::move(value)); return *this;}
212 
218  inline TaskScheduledEventDetails& WithParameters(const char* value) { SetParameters(value); return *this;}
219 
220 
224  inline long long GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
225 
229  inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
230 
234  inline void SetTimeoutInSeconds(long long value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
235 
239  inline TaskScheduledEventDetails& WithTimeoutInSeconds(long long value) { SetTimeoutInSeconds(value); return *this;}
240 
241 
245  inline long long GetHeartbeatInSeconds() const{ return m_heartbeatInSeconds; }
246 
250  inline bool HeartbeatInSecondsHasBeenSet() const { return m_heartbeatInSecondsHasBeenSet; }
251 
255  inline void SetHeartbeatInSeconds(long long value) { m_heartbeatInSecondsHasBeenSet = true; m_heartbeatInSeconds = value; }
256 
260  inline TaskScheduledEventDetails& WithHeartbeatInSeconds(long long value) { SetHeartbeatInSeconds(value); return *this;}
261 
262  private:
263 
264  Aws::String m_resourceType;
265  bool m_resourceTypeHasBeenSet;
266 
267  Aws::String m_resource;
268  bool m_resourceHasBeenSet;
269 
270  Aws::String m_region;
271  bool m_regionHasBeenSet;
272 
273  Aws::String m_parameters;
274  bool m_parametersHasBeenSet;
275 
276  long long m_timeoutInSeconds;
277  bool m_timeoutInSecondsHasBeenSet;
278 
279  long long m_heartbeatInSeconds;
280  bool m_heartbeatInSecondsHasBeenSet;
281  };
282 
283 } // namespace Model
284 } // namespace SFN
285 } // namespace Aws
Aws::SFN::Model::TaskScheduledEventDetails::GetHeartbeatInSeconds
long long GetHeartbeatInSeconds() const
Definition: TaskScheduledEventDetails.h:245
Aws::SFN::Model::TaskScheduledEventDetails::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: TaskScheduledEventDetails.h:49
Aws::SFN::Model::TaskScheduledEventDetails::WithResource
TaskScheduledEventDetails & WithResource(const char *value)
Definition: TaskScheduledEventDetails.h:120
Aws::SFN::Model::TaskScheduledEventDetails::GetResource
const Aws::String & GetResource() const
Definition: TaskScheduledEventDetails.h:85
Aws::SFN::Model::TaskScheduledEventDetails::SetResource
void SetResource(const Aws::String &value)
Definition: TaskScheduledEventDetails.h:95
Aws::SFN::Model::TaskScheduledEventDetails::GetRegion
const Aws::String & GetRegion() const
Definition: TaskScheduledEventDetails.h:126
Aws::SFN::Model::TaskScheduledEventDetails::SetResourceType
void SetResourceType(Aws::String &&value)
Definition: TaskScheduledEventDetails.h:59
Aws::SFN::Model::TaskScheduledEventDetails::TimeoutInSecondsHasBeenSet
bool TimeoutInSecondsHasBeenSet() const
Definition: TaskScheduledEventDetails.h:229
Aws::SFN::Model::TaskScheduledEventDetails::GetResourceType
const Aws::String & GetResourceType() const
Definition: TaskScheduledEventDetails.h:44
Aws::SFN::Model::TaskScheduledEventDetails::WithRegion
TaskScheduledEventDetails & WithRegion(Aws::String &&value)
Definition: TaskScheduledEventDetails.h:156
Aws::SFN::Model::TaskScheduledEventDetails::SetResource
void SetResource(const char *value)
Definition: TaskScheduledEventDetails.h:105
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
Aws::SFN::Model::TaskScheduledEventDetails::SetTimeoutInSeconds
void SetTimeoutInSeconds(long long value)
Definition: TaskScheduledEventDetails.h:234
SFN_EXPORTS.h
Aws::SFN::Model::TaskScheduledEventDetails::SetHeartbeatInSeconds
void SetHeartbeatInSeconds(long long value)
Definition: TaskScheduledEventDetails.h:255
Aws::SFN::Model::TaskScheduledEventDetails::SetResourceType
void SetResourceType(const Aws::String &value)
Definition: TaskScheduledEventDetails.h:54
Aws::SFN::Model::TaskScheduledEventDetails::WithResourceType
TaskScheduledEventDetails & WithResourceType(Aws::String &&value)
Definition: TaskScheduledEventDetails.h:74
Aws::SFN::Model::TaskScheduledEventDetails::WithParameters
TaskScheduledEventDetails & WithParameters(Aws::String &&value)
Definition: TaskScheduledEventDetails.h:211
Aws::SFN::Model::TaskScheduledEventDetails::WithResource
TaskScheduledEventDetails & WithResource(const Aws::String &value)
Definition: TaskScheduledEventDetails.h:110
Aws::SFN::Model::TaskScheduledEventDetails::SetParameters
void SetParameters(const char *value)
Definition: TaskScheduledEventDetails.h:197
Aws::SFN::Model::TaskScheduledEventDetails
Definition: TaskScheduledEventDetails.h:33
Aws::SFN::Model::TaskScheduledEventDetails::SetRegion
void SetRegion(Aws::String &&value)
Definition: TaskScheduledEventDetails.h:141
Aws::SFN::Model::TaskScheduledEventDetails::operator=
TaskScheduledEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SFN::Model::TaskScheduledEventDetails::HeartbeatInSecondsHasBeenSet
bool HeartbeatInSecondsHasBeenSet() const
Definition: TaskScheduledEventDetails.h:250
Aws::SFN::Model::TaskScheduledEventDetails::WithTimeoutInSeconds
TaskScheduledEventDetails & WithTimeoutInSeconds(long long value)
Definition: TaskScheduledEventDetails.h:239
Aws::SFN::Model::TaskScheduledEventDetails::TaskScheduledEventDetails
TaskScheduledEventDetails()
Aws::SFN::Model::TaskScheduledEventDetails::SetResourceType
void SetResourceType(const char *value)
Definition: TaskScheduledEventDetails.h:64
Aws::SFN::Model::TaskScheduledEventDetails::GetTimeoutInSeconds
long long GetTimeoutInSeconds() const
Definition: TaskScheduledEventDetails.h:224
Aws::SFN::Model::TaskScheduledEventDetails::SetParameters
void SetParameters(Aws::String &&value)
Definition: TaskScheduledEventDetails.h:190
Aws::SFN::Model::TaskScheduledEventDetails::ResourceHasBeenSet
bool ResourceHasBeenSet() const
Definition: TaskScheduledEventDetails.h:90
Aws::SFN::Model::TaskScheduledEventDetails::WithParameters
TaskScheduledEventDetails & WithParameters(const Aws::String &value)
Definition: TaskScheduledEventDetails.h:204
Aws::SFN::Model::TaskScheduledEventDetails::TaskScheduledEventDetails
TaskScheduledEventDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::TaskScheduledEventDetails::GetParameters
const Aws::String & GetParameters() const
Definition: TaskScheduledEventDetails.h:169
Aws::SFN::Model::TaskScheduledEventDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SFN::Model::TaskScheduledEventDetails::WithRegion
TaskScheduledEventDetails & WithRegion(const char *value)
Definition: TaskScheduledEventDetails.h:161
Aws::SFN::Model::TaskScheduledEventDetails::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: TaskScheduledEventDetails.h:176
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::TaskScheduledEventDetails::SetRegion
void SetRegion(const Aws::String &value)
Definition: TaskScheduledEventDetails.h:136
Aws::SFN::Model::TaskScheduledEventDetails::SetParameters
void SetParameters(const Aws::String &value)
Definition: TaskScheduledEventDetails.h:183
Aws::SFN::Model::TaskScheduledEventDetails::WithResourceType
TaskScheduledEventDetails & WithResourceType(const Aws::String &value)
Definition: TaskScheduledEventDetails.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::TaskScheduledEventDetails::WithRegion
TaskScheduledEventDetails & WithRegion(const Aws::String &value)
Definition: TaskScheduledEventDetails.h:151
Aws::SFN::Model::TaskScheduledEventDetails::SetRegion
void SetRegion(const char *value)
Definition: TaskScheduledEventDetails.h:146
Aws::SFN::Model::TaskScheduledEventDetails::WithParameters
TaskScheduledEventDetails & WithParameters(const char *value)
Definition: TaskScheduledEventDetails.h:218
Aws::SFN::Model::TaskScheduledEventDetails::SetResource
void SetResource(Aws::String &&value)
Definition: TaskScheduledEventDetails.h:100
Aws::SFN::Model::TaskScheduledEventDetails::WithHeartbeatInSeconds
TaskScheduledEventDetails & WithHeartbeatInSeconds(long long value)
Definition: TaskScheduledEventDetails.h:260
Aws::SFN::Model::TaskScheduledEventDetails::RegionHasBeenSet
bool RegionHasBeenSet() const
Definition: TaskScheduledEventDetails.h:131
Aws::SFN::Model::TaskScheduledEventDetails::WithResourceType
TaskScheduledEventDetails & WithResourceType(const char *value)
Definition: TaskScheduledEventDetails.h:79
Aws::SFN::Model::TaskScheduledEventDetails::WithResource
TaskScheduledEventDetails & WithResource(Aws::String &&value)
Definition: TaskScheduledEventDetails.h:115