AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LambdaFunctionScheduledEventDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/states/SFN_EXPORTS.h>
9#include <aws/states/model/HistoryEventExecutionDataDetails.h>
10#include <aws/states/model/TaskCredentials.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SFN {
22namespace Model {
23
31 public:
32 AWS_SFN_API LambdaFunctionScheduledEventDetails() = default;
36
38
41 inline const Aws::String& GetResource() const { return m_resource; }
42 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
43 template <typename ResourceT = Aws::String>
44 void SetResource(ResourceT&& value) {
45 m_resourceHasBeenSet = true;
46 m_resource = std::forward<ResourceT>(value);
47 }
48 template <typename ResourceT = Aws::String>
50 SetResource(std::forward<ResourceT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetInput() const { return m_input; }
61 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
62 template <typename InputT = Aws::String>
63 void SetInput(InputT&& value) {
64 m_inputHasBeenSet = true;
65 m_input = std::forward<InputT>(value);
66 }
67 template <typename InputT = Aws::String>
69 SetInput(std::forward<InputT>(value));
70 return *this;
71 }
73
75
78 inline const HistoryEventExecutionDataDetails& GetInputDetails() const { return m_inputDetails; }
79 inline bool InputDetailsHasBeenSet() const { return m_inputDetailsHasBeenSet; }
80 template <typename InputDetailsT = HistoryEventExecutionDataDetails>
81 void SetInputDetails(InputDetailsT&& value) {
82 m_inputDetailsHasBeenSet = true;
83 m_inputDetails = std::forward<InputDetailsT>(value);
84 }
85 template <typename InputDetailsT = HistoryEventExecutionDataDetails>
87 SetInputDetails(std::forward<InputDetailsT>(value));
88 return *this;
89 }
91
93
96 inline long long GetTimeoutInSeconds() const { return m_timeoutInSeconds; }
97 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
98 inline void SetTimeoutInSeconds(long long value) {
99 m_timeoutInSecondsHasBeenSet = true;
100 m_timeoutInSeconds = value;
101 }
103 SetTimeoutInSeconds(value);
104 return *this;
105 }
107
109
112 inline const TaskCredentials& GetTaskCredentials() const { return m_taskCredentials; }
113 inline bool TaskCredentialsHasBeenSet() const { return m_taskCredentialsHasBeenSet; }
114 template <typename TaskCredentialsT = TaskCredentials>
115 void SetTaskCredentials(TaskCredentialsT&& value) {
116 m_taskCredentialsHasBeenSet = true;
117 m_taskCredentials = std::forward<TaskCredentialsT>(value);
118 }
119 template <typename TaskCredentialsT = TaskCredentials>
121 SetTaskCredentials(std::forward<TaskCredentialsT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_resource;
127
128 Aws::String m_input;
129
131
132 long long m_timeoutInSeconds{0};
133
134 TaskCredentials m_taskCredentials;
135 bool m_resourceHasBeenSet = false;
136 bool m_inputHasBeenSet = false;
137 bool m_inputDetailsHasBeenSet = false;
138 bool m_timeoutInSecondsHasBeenSet = false;
139 bool m_taskCredentialsHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace SFN
144} // namespace Aws
LambdaFunctionScheduledEventDetails & WithResource(ResourceT &&value)
LambdaFunctionScheduledEventDetails & WithTaskCredentials(TaskCredentialsT &&value)
LambdaFunctionScheduledEventDetails & WithTimeoutInSeconds(long long value)
LambdaFunctionScheduledEventDetails & WithInput(InputT &&value)
LambdaFunctionScheduledEventDetails & WithInputDetails(InputDetailsT &&value)
AWS_SFN_API LambdaFunctionScheduledEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SFN_API LambdaFunctionScheduledEventDetails(Aws::Utils::Json::JsonView jsonValue)
const HistoryEventExecutionDataDetails & GetInputDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue