AWS SDK for C++

AWS SDK for C++ Version 1.11.753

Loading...
Searching...
No Matches
AppflowIntegrationWorkflowStep.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/Status.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CustomerProfiles {
22namespace Model {
23
31 public:
32 AWS_CUSTOMERPROFILES_API AppflowIntegrationWorkflowStep() = default;
35 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetFlowName() const { return m_flowName; }
44 inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; }
45 template <typename FlowNameT = Aws::String>
46 void SetFlowName(FlowNameT&& value) {
47 m_flowNameHasBeenSet = true;
48 m_flowName = std::forward<FlowNameT>(value);
49 }
50 template <typename FlowNameT = Aws::String>
52 SetFlowName(std::forward<FlowNameT>(value));
53 return *this;
54 }
56
58
61 inline Status GetStatus() const { return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(Status value) {
64 m_statusHasBeenSet = true;
65 m_status = value;
66 }
68 SetStatus(value);
69 return *this;
70 }
72
74
78 inline const Aws::String& GetExecutionMessage() const { return m_executionMessage; }
79 inline bool ExecutionMessageHasBeenSet() const { return m_executionMessageHasBeenSet; }
80 template <typename ExecutionMessageT = Aws::String>
81 void SetExecutionMessage(ExecutionMessageT&& value) {
82 m_executionMessageHasBeenSet = true;
83 m_executionMessage = std::forward<ExecutionMessageT>(value);
84 }
85 template <typename ExecutionMessageT = Aws::String>
87 SetExecutionMessage(std::forward<ExecutionMessageT>(value));
88 return *this;
89 }
91
93
97 inline long long GetRecordsProcessed() const { return m_recordsProcessed; }
98 inline bool RecordsProcessedHasBeenSet() const { return m_recordsProcessedHasBeenSet; }
99 inline void SetRecordsProcessed(long long value) {
100 m_recordsProcessedHasBeenSet = true;
101 m_recordsProcessed = value;
102 }
104 SetRecordsProcessed(value);
105 return *this;
106 }
108
110
114 inline const Aws::String& GetBatchRecordsStartTime() const { return m_batchRecordsStartTime; }
115 inline bool BatchRecordsStartTimeHasBeenSet() const { return m_batchRecordsStartTimeHasBeenSet; }
116 template <typename BatchRecordsStartTimeT = Aws::String>
117 void SetBatchRecordsStartTime(BatchRecordsStartTimeT&& value) {
118 m_batchRecordsStartTimeHasBeenSet = true;
119 m_batchRecordsStartTime = std::forward<BatchRecordsStartTimeT>(value);
120 }
121 template <typename BatchRecordsStartTimeT = Aws::String>
123 SetBatchRecordsStartTime(std::forward<BatchRecordsStartTimeT>(value));
124 return *this;
125 }
127
129
133 inline const Aws::String& GetBatchRecordsEndTime() const { return m_batchRecordsEndTime; }
134 inline bool BatchRecordsEndTimeHasBeenSet() const { return m_batchRecordsEndTimeHasBeenSet; }
135 template <typename BatchRecordsEndTimeT = Aws::String>
136 void SetBatchRecordsEndTime(BatchRecordsEndTimeT&& value) {
137 m_batchRecordsEndTimeHasBeenSet = true;
138 m_batchRecordsEndTime = std::forward<BatchRecordsEndTimeT>(value);
139 }
140 template <typename BatchRecordsEndTimeT = Aws::String>
142 SetBatchRecordsEndTime(std::forward<BatchRecordsEndTimeT>(value));
143 return *this;
144 }
146
148
152 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
153 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
154 template <typename CreatedAtT = Aws::Utils::DateTime>
155 void SetCreatedAt(CreatedAtT&& value) {
156 m_createdAtHasBeenSet = true;
157 m_createdAt = std::forward<CreatedAtT>(value);
158 }
159 template <typename CreatedAtT = Aws::Utils::DateTime>
161 SetCreatedAt(std::forward<CreatedAtT>(value));
162 return *this;
163 }
165
167
171 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
172 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
173 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
174 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
175 m_lastUpdatedAtHasBeenSet = true;
176 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
177 }
178 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
180 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
181 return *this;
182 }
184 private:
185 Aws::String m_flowName;
186
187 Status m_status{Status::NOT_SET};
188
189 Aws::String m_executionMessage;
190
191 long long m_recordsProcessed{0};
192
193 Aws::String m_batchRecordsStartTime;
194
195 Aws::String m_batchRecordsEndTime;
196
197 Aws::Utils::DateTime m_createdAt{};
198
199 Aws::Utils::DateTime m_lastUpdatedAt{};
200 bool m_flowNameHasBeenSet = false;
201 bool m_statusHasBeenSet = false;
202 bool m_executionMessageHasBeenSet = false;
203 bool m_recordsProcessedHasBeenSet = false;
204 bool m_batchRecordsStartTimeHasBeenSet = false;
205 bool m_batchRecordsEndTimeHasBeenSet = false;
206 bool m_createdAtHasBeenSet = false;
207 bool m_lastUpdatedAtHasBeenSet = false;
208};
209
210} // namespace Model
211} // namespace CustomerProfiles
212} // namespace Aws
AppflowIntegrationWorkflowStep & WithExecutionMessage(ExecutionMessageT &&value)
AppflowIntegrationWorkflowStep & WithBatchRecordsEndTime(BatchRecordsEndTimeT &&value)
AppflowIntegrationWorkflowStep & WithRecordsProcessed(long long value)
AWS_CUSTOMERPROFILES_API AppflowIntegrationWorkflowStep()=default
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AppflowIntegrationWorkflowStep & WithBatchRecordsStartTime(BatchRecordsStartTimeT &&value)
AWS_CUSTOMERPROFILES_API AppflowIntegrationWorkflowStep(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API AppflowIntegrationWorkflowStep & operator=(Aws::Utils::Json::JsonView jsonValue)
AppflowIntegrationWorkflowStep & WithLastUpdatedAt(LastUpdatedAtT &&value)
AppflowIntegrationWorkflowStep & WithCreatedAt(CreatedAtT &&value)
AppflowIntegrationWorkflowStep & WithFlowName(FlowNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue