AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartSyncExecutionResult.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/states/model/SyncExecutionStatus.h>
11#include <aws/states/model/CloudWatchEventsExecutionDataDetails.h>
12#include <aws/states/model/BillingDetails.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SFN
28{
29namespace Model
30{
32 {
33 public:
34 AWS_SFN_API StartSyncExecutionResult() = default;
37
38
40
43 inline const Aws::String& GetExecutionArn() const { return m_executionArn; }
44 template<typename ExecutionArnT = Aws::String>
45 void SetExecutionArn(ExecutionArnT&& value) { m_executionArnHasBeenSet = true; m_executionArn = std::forward<ExecutionArnT>(value); }
46 template<typename ExecutionArnT = Aws::String>
47 StartSyncExecutionResult& WithExecutionArn(ExecutionArnT&& value) { SetExecutionArn(std::forward<ExecutionArnT>(value)); return *this;}
49
51
54 inline const Aws::String& GetStateMachineArn() const { return m_stateMachineArn; }
55 template<typename StateMachineArnT = Aws::String>
56 void SetStateMachineArn(StateMachineArnT&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::forward<StateMachineArnT>(value); }
57 template<typename StateMachineArnT = Aws::String>
58 StartSyncExecutionResult& WithStateMachineArn(StateMachineArnT&& value) { SetStateMachineArn(std::forward<StateMachineArnT>(value)); return *this;}
60
62
65 inline const Aws::String& GetName() const { return m_name; }
66 template<typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
68 template<typename NameT = Aws::String>
69 StartSyncExecutionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
77 template<typename StartDateT = Aws::Utils::DateTime>
78 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
79 template<typename StartDateT = Aws::Utils::DateTime>
80 StartSyncExecutionResult& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetStopDate() const { return m_stopDate; }
88 template<typename StopDateT = Aws::Utils::DateTime>
89 void SetStopDate(StopDateT&& value) { m_stopDateHasBeenSet = true; m_stopDate = std::forward<StopDateT>(value); }
90 template<typename StopDateT = Aws::Utils::DateTime>
91 StartSyncExecutionResult& WithStopDate(StopDateT&& value) { SetStopDate(std::forward<StopDateT>(value)); return *this;}
93
95
98 inline SyncExecutionStatus GetStatus() const { return m_status; }
99 inline void SetStatus(SyncExecutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
100 inline StartSyncExecutionResult& WithStatus(SyncExecutionStatus value) { SetStatus(value); return *this;}
102
104
107 inline const Aws::String& GetError() const { return m_error; }
108 template<typename ErrorT = Aws::String>
109 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
110 template<typename ErrorT = Aws::String>
111 StartSyncExecutionResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
113
115
118 inline const Aws::String& GetCause() const { return m_cause; }
119 template<typename CauseT = Aws::String>
120 void SetCause(CauseT&& value) { m_causeHasBeenSet = true; m_cause = std::forward<CauseT>(value); }
121 template<typename CauseT = Aws::String>
122 StartSyncExecutionResult& WithCause(CauseT&& value) { SetCause(std::forward<CauseT>(value)); return *this;}
124
126
131 inline const Aws::String& GetInput() const { return m_input; }
132 template<typename InputT = Aws::String>
133 void SetInput(InputT&& value) { m_inputHasBeenSet = true; m_input = std::forward<InputT>(value); }
134 template<typename InputT = Aws::String>
135 StartSyncExecutionResult& WithInput(InputT&& value) { SetInput(std::forward<InputT>(value)); return *this;}
137
139
140 inline const CloudWatchEventsExecutionDataDetails& GetInputDetails() const { return m_inputDetails; }
141 template<typename InputDetailsT = CloudWatchEventsExecutionDataDetails>
142 void SetInputDetails(InputDetailsT&& value) { m_inputDetailsHasBeenSet = true; m_inputDetails = std::forward<InputDetailsT>(value); }
143 template<typename InputDetailsT = CloudWatchEventsExecutionDataDetails>
144 StartSyncExecutionResult& WithInputDetails(InputDetailsT&& value) { SetInputDetails(std::forward<InputDetailsT>(value)); return *this;}
146
148
154 inline const Aws::String& GetOutput() const { return m_output; }
155 template<typename OutputT = Aws::String>
156 void SetOutput(OutputT&& value) { m_outputHasBeenSet = true; m_output = std::forward<OutputT>(value); }
157 template<typename OutputT = Aws::String>
158 StartSyncExecutionResult& WithOutput(OutputT&& value) { SetOutput(std::forward<OutputT>(value)); return *this;}
160
162
163 inline const CloudWatchEventsExecutionDataDetails& GetOutputDetails() const { return m_outputDetails; }
164 template<typename OutputDetailsT = CloudWatchEventsExecutionDataDetails>
165 void SetOutputDetails(OutputDetailsT&& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = std::forward<OutputDetailsT>(value); }
166 template<typename OutputDetailsT = CloudWatchEventsExecutionDataDetails>
167 StartSyncExecutionResult& WithOutputDetails(OutputDetailsT&& value) { SetOutputDetails(std::forward<OutputDetailsT>(value)); return *this;}
169
171
181 inline const Aws::String& GetTraceHeader() const { return m_traceHeader; }
182 template<typename TraceHeaderT = Aws::String>
183 void SetTraceHeader(TraceHeaderT&& value) { m_traceHeaderHasBeenSet = true; m_traceHeader = std::forward<TraceHeaderT>(value); }
184 template<typename TraceHeaderT = Aws::String>
185 StartSyncExecutionResult& WithTraceHeader(TraceHeaderT&& value) { SetTraceHeader(std::forward<TraceHeaderT>(value)); return *this;}
187
189
193 inline const BillingDetails& GetBillingDetails() const { return m_billingDetails; }
194 template<typename BillingDetailsT = BillingDetails>
195 void SetBillingDetails(BillingDetailsT&& value) { m_billingDetailsHasBeenSet = true; m_billingDetails = std::forward<BillingDetailsT>(value); }
196 template<typename BillingDetailsT = BillingDetails>
197 StartSyncExecutionResult& WithBillingDetails(BillingDetailsT&& value) { SetBillingDetails(std::forward<BillingDetailsT>(value)); return *this;}
199
201
202 inline const Aws::String& GetRequestId() const { return m_requestId; }
203 template<typename RequestIdT = Aws::String>
204 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
205 template<typename RequestIdT = Aws::String>
206 StartSyncExecutionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
208 private:
209
210 Aws::String m_executionArn;
211 bool m_executionArnHasBeenSet = false;
212
213 Aws::String m_stateMachineArn;
214 bool m_stateMachineArnHasBeenSet = false;
215
216 Aws::String m_name;
217 bool m_nameHasBeenSet = false;
218
219 Aws::Utils::DateTime m_startDate{};
220 bool m_startDateHasBeenSet = false;
221
222 Aws::Utils::DateTime m_stopDate{};
223 bool m_stopDateHasBeenSet = false;
224
226 bool m_statusHasBeenSet = false;
227
228 Aws::String m_error;
229 bool m_errorHasBeenSet = false;
230
231 Aws::String m_cause;
232 bool m_causeHasBeenSet = false;
233
234 Aws::String m_input;
235 bool m_inputHasBeenSet = false;
236
237 CloudWatchEventsExecutionDataDetails m_inputDetails;
238 bool m_inputDetailsHasBeenSet = false;
239
240 Aws::String m_output;
241 bool m_outputHasBeenSet = false;
242
243 CloudWatchEventsExecutionDataDetails m_outputDetails;
244 bool m_outputDetailsHasBeenSet = false;
245
246 Aws::String m_traceHeader;
247 bool m_traceHeaderHasBeenSet = false;
248
249 BillingDetails m_billingDetails;
250 bool m_billingDetailsHasBeenSet = false;
251
252 Aws::String m_requestId;
253 bool m_requestIdHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace SFN
258} // 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