AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StartSyncExecutionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/SFN_EXPORTS.h>
10#include <aws/states/model/BillingDetails.h>
11#include <aws/states/model/CloudWatchEventsExecutionDataDetails.h>
12#include <aws/states/model/SyncExecutionStatus.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SFN {
26namespace Model {
28 public:
29 AWS_SFN_API StartSyncExecutionResult() = default;
32
34
37 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
38 template <typename ExecutionArnT = Aws::String>
39 void SetExecutionArn(ExecutionArnT&& value) {
40 m_executionArnHasBeenSet = true;
41 m_executionArn = std::forward<ExecutionArnT>(value);
42 }
43 template <typename ExecutionArnT = Aws::String>
45 SetExecutionArn(std::forward<ExecutionArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetStateMachineArn() const { return m_stateMachineArn; }
55 template <typename StateMachineArnT = Aws::String>
56 void SetStateMachineArn(StateMachineArnT&& value) {
57 m_stateMachineArnHasBeenSet = true;
58 m_stateMachineArn = std::forward<StateMachineArnT>(value);
59 }
60 template <typename StateMachineArnT = Aws::String>
61 StartSyncExecutionResult& WithStateMachineArn(StateMachineArnT&& value) {
62 SetStateMachineArn(std::forward<StateMachineArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 template <typename NameT = Aws::String>
73 void SetName(NameT&& value) {
74 m_nameHasBeenSet = true;
75 m_name = std::forward<NameT>(value);
76 }
77 template <typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
89 template <typename StartDateT = Aws::Utils::DateTime>
90 void SetStartDate(StartDateT&& value) {
91 m_startDateHasBeenSet = true;
92 m_startDate = std::forward<StartDateT>(value);
93 }
94 template <typename StartDateT = Aws::Utils::DateTime>
96 SetStartDate(std::forward<StartDateT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::Utils::DateTime& GetStopDate() const { return m_stopDate; }
106 template <typename StopDateT = Aws::Utils::DateTime>
107 void SetStopDate(StopDateT&& value) {
108 m_stopDateHasBeenSet = true;
109 m_stopDate = std::forward<StopDateT>(value);
110 }
111 template <typename StopDateT = Aws::Utils::DateTime>
113 SetStopDate(std::forward<StopDateT>(value));
114 return *this;
115 }
117
119
122 inline SyncExecutionStatus GetStatus() const { return m_status; }
123 inline void SetStatus(SyncExecutionStatus value) {
124 m_statusHasBeenSet = true;
125 m_status = value;
126 }
128 SetStatus(value);
129 return *this;
130 }
132
134
137 inline const Aws::String& GetError() const { return m_error; }
138 template <typename ErrorT = Aws::String>
139 void SetError(ErrorT&& value) {
140 m_errorHasBeenSet = true;
141 m_error = std::forward<ErrorT>(value);
142 }
143 template <typename ErrorT = Aws::String>
145 SetError(std::forward<ErrorT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetCause() const { return m_cause; }
155 template <typename CauseT = Aws::String>
156 void SetCause(CauseT&& value) {
157 m_causeHasBeenSet = true;
158 m_cause = std::forward<CauseT>(value);
159 }
160 template <typename CauseT = Aws::String>
162 SetCause(std::forward<CauseT>(value));
163 return *this;
164 }
166
168
173 inline const Aws::String& GetInput() const { return m_input; }
174 template <typename InputT = Aws::String>
175 void SetInput(InputT&& value) {
176 m_inputHasBeenSet = true;
177 m_input = std::forward<InputT>(value);
178 }
179 template <typename InputT = Aws::String>
181 SetInput(std::forward<InputT>(value));
182 return *this;
183 }
185
187
188 inline const CloudWatchEventsExecutionDataDetails& GetInputDetails() const { return m_inputDetails; }
189 template <typename InputDetailsT = CloudWatchEventsExecutionDataDetails>
190 void SetInputDetails(InputDetailsT&& value) {
191 m_inputDetailsHasBeenSet = true;
192 m_inputDetails = std::forward<InputDetailsT>(value);
193 }
194 template <typename InputDetailsT = CloudWatchEventsExecutionDataDetails>
196 SetInputDetails(std::forward<InputDetailsT>(value));
197 return *this;
198 }
200
202
208 inline const Aws::String& GetOutput() const { return m_output; }
209 template <typename OutputT = Aws::String>
210 void SetOutput(OutputT&& value) {
211 m_outputHasBeenSet = true;
212 m_output = std::forward<OutputT>(value);
213 }
214 template <typename OutputT = Aws::String>
216 SetOutput(std::forward<OutputT>(value));
217 return *this;
218 }
220
222
223 inline const CloudWatchEventsExecutionDataDetails& GetOutputDetails() const { return m_outputDetails; }
224 template <typename OutputDetailsT = CloudWatchEventsExecutionDataDetails>
225 void SetOutputDetails(OutputDetailsT&& value) {
226 m_outputDetailsHasBeenSet = true;
227 m_outputDetails = std::forward<OutputDetailsT>(value);
228 }
229 template <typename OutputDetailsT = CloudWatchEventsExecutionDataDetails>
231 SetOutputDetails(std::forward<OutputDetailsT>(value));
232 return *this;
233 }
235
237
247 inline const Aws::String& GetTraceHeader() const { return m_traceHeader; }
248 template <typename TraceHeaderT = Aws::String>
249 void SetTraceHeader(TraceHeaderT&& value) {
250 m_traceHeaderHasBeenSet = true;
251 m_traceHeader = std::forward<TraceHeaderT>(value);
252 }
253 template <typename TraceHeaderT = Aws::String>
255 SetTraceHeader(std::forward<TraceHeaderT>(value));
256 return *this;
257 }
259
261
265 inline const BillingDetails& GetBillingDetails() const { return m_billingDetails; }
266 template <typename BillingDetailsT = BillingDetails>
267 void SetBillingDetails(BillingDetailsT&& value) {
268 m_billingDetailsHasBeenSet = true;
269 m_billingDetails = std::forward<BillingDetailsT>(value);
270 }
271 template <typename BillingDetailsT = BillingDetails>
273 SetBillingDetails(std::forward<BillingDetailsT>(value));
274 return *this;
275 }
277
279
280 inline const Aws::String& GetRequestId() const { return m_requestId; }
281 template <typename RequestIdT = Aws::String>
282 void SetRequestId(RequestIdT&& value) {
283 m_requestIdHasBeenSet = true;
284 m_requestId = std::forward<RequestIdT>(value);
285 }
286 template <typename RequestIdT = Aws::String>
288 SetRequestId(std::forward<RequestIdT>(value));
289 return *this;
290 }
292 private:
293 Aws::String m_executionArn;
294
295 Aws::String m_stateMachineArn;
296
297 Aws::String m_name;
298
299 Aws::Utils::DateTime m_startDate{};
300
301 Aws::Utils::DateTime m_stopDate{};
302
304
305 Aws::String m_error;
306
307 Aws::String m_cause;
308
309 Aws::String m_input;
310
311 CloudWatchEventsExecutionDataDetails m_inputDetails;
312
313 Aws::String m_output;
314
315 CloudWatchEventsExecutionDataDetails m_outputDetails;
316
317 Aws::String m_traceHeader;
318
319 BillingDetails m_billingDetails;
320
321 Aws::String m_requestId;
322 bool m_executionArnHasBeenSet = false;
323 bool m_stateMachineArnHasBeenSet = false;
324 bool m_nameHasBeenSet = false;
325 bool m_startDateHasBeenSet = false;
326 bool m_stopDateHasBeenSet = false;
327 bool m_statusHasBeenSet = false;
328 bool m_errorHasBeenSet = false;
329 bool m_causeHasBeenSet = false;
330 bool m_inputHasBeenSet = false;
331 bool m_inputDetailsHasBeenSet = false;
332 bool m_outputHasBeenSet = false;
333 bool m_outputDetailsHasBeenSet = false;
334 bool m_traceHeaderHasBeenSet = false;
335 bool m_billingDetailsHasBeenSet = false;
336 bool m_requestIdHasBeenSet = false;
337};
338
339} // namespace Model
340} // namespace SFN
341} // namespace Aws
AWS_SFN_API StartSyncExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const CloudWatchEventsExecutionDataDetails & GetInputDetails() const
StartSyncExecutionResult & WithTraceHeader(TraceHeaderT &&value)
StartSyncExecutionResult & WithExecutionArn(ExecutionArnT &&value)
StartSyncExecutionResult & WithInput(InputT &&value)
StartSyncExecutionResult & WithStatus(SyncExecutionStatus value)
StartSyncExecutionResult & WithStateMachineArn(StateMachineArnT &&value)
StartSyncExecutionResult & WithCause(CauseT &&value)
StartSyncExecutionResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetStartDate() const
AWS_SFN_API StartSyncExecutionResult()=default
const CloudWatchEventsExecutionDataDetails & GetOutputDetails() const
StartSyncExecutionResult & WithError(ErrorT &&value)
AWS_SFN_API StartSyncExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartSyncExecutionResult & WithBillingDetails(BillingDetailsT &&value)
StartSyncExecutionResult & WithOutputDetails(OutputDetailsT &&value)
StartSyncExecutionResult & WithRequestId(RequestIdT &&value)
StartSyncExecutionResult & WithStopDate(StopDateT &&value)
StartSyncExecutionResult & WithStartDate(StartDateT &&value)
void SetStateMachineArn(StateMachineArnT &&value)
const Aws::Utils::DateTime & GetStopDate() const
StartSyncExecutionResult & WithOutput(OutputT &&value)
StartSyncExecutionResult & WithInputDetails(InputDetailsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue