AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
37
38
40
43 inline const Aws::String& GetExecutionArn() const{ return m_executionArn; }
44 inline void SetExecutionArn(const Aws::String& value) { m_executionArn = value; }
45 inline void SetExecutionArn(Aws::String&& value) { m_executionArn = std::move(value); }
46 inline void SetExecutionArn(const char* value) { m_executionArn.assign(value); }
47 inline StartSyncExecutionResult& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;}
48 inline StartSyncExecutionResult& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;}
49 inline StartSyncExecutionResult& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;}
51
53
56 inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; }
57 inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArn = value; }
58 inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArn = std::move(value); }
59 inline void SetStateMachineArn(const char* value) { m_stateMachineArn.assign(value); }
60 inline StartSyncExecutionResult& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;}
61 inline StartSyncExecutionResult& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;}
62 inline StartSyncExecutionResult& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;}
64
66
69 inline const Aws::String& GetName() const{ return m_name; }
70 inline void SetName(const Aws::String& value) { m_name = value; }
71 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
72 inline void SetName(const char* value) { m_name.assign(value); }
73 inline StartSyncExecutionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
74 inline StartSyncExecutionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 inline StartSyncExecutionResult& WithName(const char* value) { SetName(value); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
83 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDate = value; }
84 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDate = std::move(value); }
85 inline StartSyncExecutionResult& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
86 inline StartSyncExecutionResult& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetStopDate() const{ return m_stopDate; }
94 inline void SetStopDate(const Aws::Utils::DateTime& value) { m_stopDate = value; }
95 inline void SetStopDate(Aws::Utils::DateTime&& value) { m_stopDate = std::move(value); }
96 inline StartSyncExecutionResult& WithStopDate(const Aws::Utils::DateTime& value) { SetStopDate(value); return *this;}
97 inline StartSyncExecutionResult& WithStopDate(Aws::Utils::DateTime&& value) { SetStopDate(std::move(value)); return *this;}
99
101
104 inline const SyncExecutionStatus& GetStatus() const{ return m_status; }
105 inline void SetStatus(const SyncExecutionStatus& value) { m_status = value; }
106 inline void SetStatus(SyncExecutionStatus&& value) { m_status = std::move(value); }
107 inline StartSyncExecutionResult& WithStatus(const SyncExecutionStatus& value) { SetStatus(value); return *this;}
108 inline StartSyncExecutionResult& WithStatus(SyncExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetError() const{ return m_error; }
116 inline void SetError(const Aws::String& value) { m_error = value; }
117 inline void SetError(Aws::String&& value) { m_error = std::move(value); }
118 inline void SetError(const char* value) { m_error.assign(value); }
119 inline StartSyncExecutionResult& WithError(const Aws::String& value) { SetError(value); return *this;}
120 inline StartSyncExecutionResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
121 inline StartSyncExecutionResult& WithError(const char* value) { SetError(value); return *this;}
123
125
128 inline const Aws::String& GetCause() const{ return m_cause; }
129 inline void SetCause(const Aws::String& value) { m_cause = value; }
130 inline void SetCause(Aws::String&& value) { m_cause = std::move(value); }
131 inline void SetCause(const char* value) { m_cause.assign(value); }
132 inline StartSyncExecutionResult& WithCause(const Aws::String& value) { SetCause(value); return *this;}
133 inline StartSyncExecutionResult& WithCause(Aws::String&& value) { SetCause(std::move(value)); return *this;}
134 inline StartSyncExecutionResult& WithCause(const char* value) { SetCause(value); return *this;}
136
138
143 inline const Aws::String& GetInput() const{ return m_input; }
144 inline void SetInput(const Aws::String& value) { m_input = value; }
145 inline void SetInput(Aws::String&& value) { m_input = std::move(value); }
146 inline void SetInput(const char* value) { m_input.assign(value); }
147 inline StartSyncExecutionResult& WithInput(const Aws::String& value) { SetInput(value); return *this;}
148 inline StartSyncExecutionResult& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
149 inline StartSyncExecutionResult& WithInput(const char* value) { SetInput(value); return *this;}
151
153
154 inline const CloudWatchEventsExecutionDataDetails& GetInputDetails() const{ return m_inputDetails; }
155 inline void SetInputDetails(const CloudWatchEventsExecutionDataDetails& value) { m_inputDetails = value; }
156 inline void SetInputDetails(CloudWatchEventsExecutionDataDetails&& value) { m_inputDetails = std::move(value); }
160
162
168 inline const Aws::String& GetOutput() const{ return m_output; }
169 inline void SetOutput(const Aws::String& value) { m_output = value; }
170 inline void SetOutput(Aws::String&& value) { m_output = std::move(value); }
171 inline void SetOutput(const char* value) { m_output.assign(value); }
172 inline StartSyncExecutionResult& WithOutput(const Aws::String& value) { SetOutput(value); return *this;}
173 inline StartSyncExecutionResult& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;}
174 inline StartSyncExecutionResult& WithOutput(const char* value) { SetOutput(value); return *this;}
176
178
179 inline const CloudWatchEventsExecutionDataDetails& GetOutputDetails() const{ return m_outputDetails; }
180 inline void SetOutputDetails(const CloudWatchEventsExecutionDataDetails& value) { m_outputDetails = value; }
181 inline void SetOutputDetails(CloudWatchEventsExecutionDataDetails&& value) { m_outputDetails = std::move(value); }
185
187
190 inline const Aws::String& GetTraceHeader() const{ return m_traceHeader; }
191 inline void SetTraceHeader(const Aws::String& value) { m_traceHeader = value; }
192 inline void SetTraceHeader(Aws::String&& value) { m_traceHeader = std::move(value); }
193 inline void SetTraceHeader(const char* value) { m_traceHeader.assign(value); }
194 inline StartSyncExecutionResult& WithTraceHeader(const Aws::String& value) { SetTraceHeader(value); return *this;}
195 inline StartSyncExecutionResult& WithTraceHeader(Aws::String&& value) { SetTraceHeader(std::move(value)); return *this;}
196 inline StartSyncExecutionResult& WithTraceHeader(const char* value) { SetTraceHeader(value); return *this;}
198
200
204 inline const BillingDetails& GetBillingDetails() const{ return m_billingDetails; }
205 inline void SetBillingDetails(const BillingDetails& value) { m_billingDetails = value; }
206 inline void SetBillingDetails(BillingDetails&& value) { m_billingDetails = std::move(value); }
208 inline StartSyncExecutionResult& WithBillingDetails(BillingDetails&& value) { SetBillingDetails(std::move(value)); return *this;}
210
212
213 inline const Aws::String& GetRequestId() const{ return m_requestId; }
214 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
215 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
216 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
217 inline StartSyncExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
218 inline StartSyncExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
219 inline StartSyncExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
221 private:
222
223 Aws::String m_executionArn;
224
225 Aws::String m_stateMachineArn;
226
227 Aws::String m_name;
228
229 Aws::Utils::DateTime m_startDate;
230
231 Aws::Utils::DateTime m_stopDate;
232
233 SyncExecutionStatus m_status;
234
235 Aws::String m_error;
236
237 Aws::String m_cause;
238
239 Aws::String m_input;
240
242
243 Aws::String m_output;
244
246
247 Aws::String m_traceHeader;
248
249 BillingDetails m_billingDetails;
250
251 Aws::String m_requestId;
252 };
253
254} // namespace Model
255} // namespace SFN
256} // namespace Aws
void SetStopDate(Aws::Utils::DateTime &&value)
StartSyncExecutionResult & WithRequestId(const char *value)
StartSyncExecutionResult & WithError(const Aws::String &value)
StartSyncExecutionResult & WithCause(const char *value)
AWS_SFN_API StartSyncExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartSyncExecutionResult & WithCause(Aws::String &&value)
StartSyncExecutionResult & WithName(const Aws::String &value)
const CloudWatchEventsExecutionDataDetails & GetInputDetails() const
StartSyncExecutionResult & WithOutput(Aws::String &&value)
StartSyncExecutionResult & WithStatus(const SyncExecutionStatus &value)
void SetStartDate(const Aws::Utils::DateTime &value)
StartSyncExecutionResult & WithBillingDetails(BillingDetails &&value)
StartSyncExecutionResult & WithName(const char *value)
StartSyncExecutionResult & WithStartDate(Aws::Utils::DateTime &&value)
void SetInputDetails(CloudWatchEventsExecutionDataDetails &&value)
void SetOutputDetails(const CloudWatchEventsExecutionDataDetails &value)
StartSyncExecutionResult & WithInput(Aws::String &&value)
StartSyncExecutionResult & WithRequestId(const Aws::String &value)
StartSyncExecutionResult & WithTraceHeader(const char *value)
StartSyncExecutionResult & WithOutput(const char *value)
void SetOutputDetails(CloudWatchEventsExecutionDataDetails &&value)
StartSyncExecutionResult & WithExecutionArn(const Aws::String &value)
StartSyncExecutionResult & WithTraceHeader(const Aws::String &value)
StartSyncExecutionResult & WithStateMachineArn(const char *value)
StartSyncExecutionResult & WithCause(const Aws::String &value)
StartSyncExecutionResult & WithStopDate(Aws::Utils::DateTime &&value)
StartSyncExecutionResult & WithStopDate(const Aws::Utils::DateTime &value)
StartSyncExecutionResult & WithInput(const Aws::String &value)
const Aws::Utils::DateTime & GetStartDate() const
void SetStateMachineArn(const Aws::String &value)
StartSyncExecutionResult & WithRequestId(Aws::String &&value)
const CloudWatchEventsExecutionDataDetails & GetOutputDetails() const
StartSyncExecutionResult & WithBillingDetails(const BillingDetails &value)
StartSyncExecutionResult & WithOutput(const Aws::String &value)
AWS_SFN_API StartSyncExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartSyncExecutionResult & WithStatus(SyncExecutionStatus &&value)
StartSyncExecutionResult & WithInputDetails(CloudWatchEventsExecutionDataDetails &&value)
void SetBillingDetails(const BillingDetails &value)
StartSyncExecutionResult & WithInputDetails(const CloudWatchEventsExecutionDataDetails &value)
StartSyncExecutionResult & WithError(const char *value)
StartSyncExecutionResult & WithStartDate(const Aws::Utils::DateTime &value)
StartSyncExecutionResult & WithTraceHeader(Aws::String &&value)
void SetInputDetails(const CloudWatchEventsExecutionDataDetails &value)
void SetStartDate(Aws::Utils::DateTime &&value)
StartSyncExecutionResult & WithOutputDetails(CloudWatchEventsExecutionDataDetails &&value)
void SetStatus(const SyncExecutionStatus &value)
void SetStopDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStopDate() const
const SyncExecutionStatus & GetStatus() const
StartSyncExecutionResult & WithExecutionArn(const char *value)
StartSyncExecutionResult & WithStateMachineArn(const Aws::String &value)
StartSyncExecutionResult & WithStateMachineArn(Aws::String &&value)
StartSyncExecutionResult & WithOutputDetails(const CloudWatchEventsExecutionDataDetails &value)
StartSyncExecutionResult & WithInput(const char *value)
StartSyncExecutionResult & WithError(Aws::String &&value)
StartSyncExecutionResult & WithExecutionArn(Aws::String &&value)
StartSyncExecutionResult & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue