AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LambdaFunctionScheduledEventDetails.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 <aws/states/model/TaskCredentials.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SFN
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SFN_API LambdaFunctionScheduledEventDetails() = default;
41
42
44
47 inline const Aws::String& GetResource() const { return m_resource; }
48 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
49 template<typename ResourceT = Aws::String>
50 void SetResource(ResourceT&& value) { m_resourceHasBeenSet = true; m_resource = std::forward<ResourceT>(value); }
51 template<typename ResourceT = Aws::String>
52 LambdaFunctionScheduledEventDetails& WithResource(ResourceT&& value) { SetResource(std::forward<ResourceT>(value)); return *this;}
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) { m_inputHasBeenSet = true; m_input = std::forward<InputT>(value); }
64 template<typename InputT = Aws::String>
65 LambdaFunctionScheduledEventDetails& WithInput(InputT&& value) { SetInput(std::forward<InputT>(value)); return *this;}
67
69
72 inline const HistoryEventExecutionDataDetails& GetInputDetails() const { return m_inputDetails; }
73 inline bool InputDetailsHasBeenSet() const { return m_inputDetailsHasBeenSet; }
74 template<typename InputDetailsT = HistoryEventExecutionDataDetails>
75 void SetInputDetails(InputDetailsT&& value) { m_inputDetailsHasBeenSet = true; m_inputDetails = std::forward<InputDetailsT>(value); }
76 template<typename InputDetailsT = HistoryEventExecutionDataDetails>
77 LambdaFunctionScheduledEventDetails& WithInputDetails(InputDetailsT&& value) { SetInputDetails(std::forward<InputDetailsT>(value)); return *this;}
79
81
84 inline long long GetTimeoutInSeconds() const { return m_timeoutInSeconds; }
85 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
86 inline void SetTimeoutInSeconds(long long value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
87 inline LambdaFunctionScheduledEventDetails& WithTimeoutInSeconds(long long value) { SetTimeoutInSeconds(value); return *this;}
89
91
94 inline const TaskCredentials& GetTaskCredentials() const { return m_taskCredentials; }
95 inline bool TaskCredentialsHasBeenSet() const { return m_taskCredentialsHasBeenSet; }
96 template<typename TaskCredentialsT = TaskCredentials>
97 void SetTaskCredentials(TaskCredentialsT&& value) { m_taskCredentialsHasBeenSet = true; m_taskCredentials = std::forward<TaskCredentialsT>(value); }
98 template<typename TaskCredentialsT = TaskCredentials>
99 LambdaFunctionScheduledEventDetails& WithTaskCredentials(TaskCredentialsT&& value) { SetTaskCredentials(std::forward<TaskCredentialsT>(value)); return *this;}
101 private:
102
103 Aws::String m_resource;
104 bool m_resourceHasBeenSet = false;
105
106 Aws::String m_input;
107 bool m_inputHasBeenSet = false;
108
110 bool m_inputDetailsHasBeenSet = false;
111
112 long long m_timeoutInSeconds{0};
113 bool m_timeoutInSecondsHasBeenSet = false;
114
115 TaskCredentials m_taskCredentials;
116 bool m_taskCredentialsHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SFN
121} // 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