AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskScheduledEventDetails.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/TaskCredentials.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& GetResourceType() const{ return m_resourceType; }
47 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
48 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
49 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
50 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
51 inline TaskScheduledEventDetails& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
52 inline TaskScheduledEventDetails& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
53 inline TaskScheduledEventDetails& WithResourceType(const char* value) { SetResourceType(value); return *this;}
55
57
60 inline const Aws::String& GetResource() const{ return m_resource; }
61 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
62 inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
63 inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
64 inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
65 inline TaskScheduledEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;}
66 inline TaskScheduledEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
67 inline TaskScheduledEventDetails& WithResource(const char* value) { SetResource(value); return *this;}
69
71
74 inline const Aws::String& GetRegion() const{ return m_region; }
75 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
76 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
77 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
78 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
79 inline TaskScheduledEventDetails& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
80 inline TaskScheduledEventDetails& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
81 inline TaskScheduledEventDetails& WithRegion(const char* value) { SetRegion(value); return *this;}
83
85
90 inline const Aws::String& GetParameters() const{ return m_parameters; }
91 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
92 inline void SetParameters(const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters = value; }
93 inline void SetParameters(Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
94 inline void SetParameters(const char* value) { m_parametersHasBeenSet = true; m_parameters.assign(value); }
95 inline TaskScheduledEventDetails& WithParameters(const Aws::String& value) { SetParameters(value); return *this;}
96 inline TaskScheduledEventDetails& WithParameters(Aws::String&& value) { SetParameters(std::move(value)); return *this;}
97 inline TaskScheduledEventDetails& WithParameters(const char* value) { SetParameters(value); return *this;}
99
101
104 inline long long GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
105 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
106 inline void SetTimeoutInSeconds(long long value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
107 inline TaskScheduledEventDetails& WithTimeoutInSeconds(long long value) { SetTimeoutInSeconds(value); return *this;}
109
111
114 inline long long GetHeartbeatInSeconds() const{ return m_heartbeatInSeconds; }
115 inline bool HeartbeatInSecondsHasBeenSet() const { return m_heartbeatInSecondsHasBeenSet; }
116 inline void SetHeartbeatInSeconds(long long value) { m_heartbeatInSecondsHasBeenSet = true; m_heartbeatInSeconds = value; }
117 inline TaskScheduledEventDetails& WithHeartbeatInSeconds(long long value) { SetHeartbeatInSeconds(value); return *this;}
119
121
124 inline const TaskCredentials& GetTaskCredentials() const{ return m_taskCredentials; }
125 inline bool TaskCredentialsHasBeenSet() const { return m_taskCredentialsHasBeenSet; }
126 inline void SetTaskCredentials(const TaskCredentials& value) { m_taskCredentialsHasBeenSet = true; m_taskCredentials = value; }
127 inline void SetTaskCredentials(TaskCredentials&& value) { m_taskCredentialsHasBeenSet = true; m_taskCredentials = std::move(value); }
129 inline TaskScheduledEventDetails& WithTaskCredentials(TaskCredentials&& value) { SetTaskCredentials(std::move(value)); return *this;}
131 private:
132
133 Aws::String m_resourceType;
134 bool m_resourceTypeHasBeenSet = false;
135
136 Aws::String m_resource;
137 bool m_resourceHasBeenSet = false;
138
139 Aws::String m_region;
140 bool m_regionHasBeenSet = false;
141
142 Aws::String m_parameters;
143 bool m_parametersHasBeenSet = false;
144
145 long long m_timeoutInSeconds;
146 bool m_timeoutInSecondsHasBeenSet = false;
147
148 long long m_heartbeatInSeconds;
149 bool m_heartbeatInSecondsHasBeenSet = false;
150
151 TaskCredentials m_taskCredentials;
152 bool m_taskCredentialsHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace SFN
157} // namespace Aws
TaskScheduledEventDetails & WithRegion(const char *value)
TaskScheduledEventDetails & WithHeartbeatInSeconds(long long value)
TaskScheduledEventDetails & WithParameters(const Aws::String &value)
TaskScheduledEventDetails & WithResource(const Aws::String &value)
TaskScheduledEventDetails & WithParameters(Aws::String &&value)
TaskScheduledEventDetails & WithResource(const char *value)
TaskScheduledEventDetails & WithResourceType(Aws::String &&value)
TaskScheduledEventDetails & WithTimeoutInSeconds(long long value)
TaskScheduledEventDetails & WithParameters(const char *value)
AWS_SFN_API TaskScheduledEventDetails(Aws::Utils::Json::JsonView jsonValue)
TaskScheduledEventDetails & WithRegion(const Aws::String &value)
TaskScheduledEventDetails & WithResource(Aws::String &&value)
TaskScheduledEventDetails & WithResourceType(const Aws::String &value)
TaskScheduledEventDetails & WithRegion(Aws::String &&value)
void SetTaskCredentials(const TaskCredentials &value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
TaskScheduledEventDetails & WithResourceType(const char *value)
TaskScheduledEventDetails & WithTaskCredentials(const TaskCredentials &value)
TaskScheduledEventDetails & WithTaskCredentials(TaskCredentials &&value)
AWS_SFN_API TaskScheduledEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue