AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AppflowIntegrationWorkflowStep.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/model/Status.h>
10#include <aws/core/utils/DateTime.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 CustomerProfiles
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CUSTOMERPROFILES_API AppflowIntegrationWorkflowStep() = default;
40 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetFlowName() const { return m_flowName; }
50 inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; }
51 template<typename FlowNameT = Aws::String>
52 void SetFlowName(FlowNameT&& value) { m_flowNameHasBeenSet = true; m_flowName = std::forward<FlowNameT>(value); }
53 template<typename FlowNameT = Aws::String>
54 AppflowIntegrationWorkflowStep& WithFlowName(FlowNameT&& value) { SetFlowName(std::forward<FlowNameT>(value)); return *this;}
56
58
61 inline Status GetStatus() const { return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
64 inline AppflowIntegrationWorkflowStep& WithStatus(Status value) { SetStatus(value); return *this;}
66
68
72 inline const Aws::String& GetExecutionMessage() const { return m_executionMessage; }
73 inline bool ExecutionMessageHasBeenSet() const { return m_executionMessageHasBeenSet; }
74 template<typename ExecutionMessageT = Aws::String>
75 void SetExecutionMessage(ExecutionMessageT&& value) { m_executionMessageHasBeenSet = true; m_executionMessage = std::forward<ExecutionMessageT>(value); }
76 template<typename ExecutionMessageT = Aws::String>
77 AppflowIntegrationWorkflowStep& WithExecutionMessage(ExecutionMessageT&& value) { SetExecutionMessage(std::forward<ExecutionMessageT>(value)); return *this;}
79
81
85 inline long long GetRecordsProcessed() const { return m_recordsProcessed; }
86 inline bool RecordsProcessedHasBeenSet() const { return m_recordsProcessedHasBeenSet; }
87 inline void SetRecordsProcessed(long long value) { m_recordsProcessedHasBeenSet = true; m_recordsProcessed = value; }
88 inline AppflowIntegrationWorkflowStep& WithRecordsProcessed(long long value) { SetRecordsProcessed(value); return *this;}
90
92
96 inline const Aws::String& GetBatchRecordsStartTime() const { return m_batchRecordsStartTime; }
97 inline bool BatchRecordsStartTimeHasBeenSet() const { return m_batchRecordsStartTimeHasBeenSet; }
98 template<typename BatchRecordsStartTimeT = Aws::String>
99 void SetBatchRecordsStartTime(BatchRecordsStartTimeT&& value) { m_batchRecordsStartTimeHasBeenSet = true; m_batchRecordsStartTime = std::forward<BatchRecordsStartTimeT>(value); }
100 template<typename BatchRecordsStartTimeT = Aws::String>
101 AppflowIntegrationWorkflowStep& WithBatchRecordsStartTime(BatchRecordsStartTimeT&& value) { SetBatchRecordsStartTime(std::forward<BatchRecordsStartTimeT>(value)); return *this;}
103
105
109 inline const Aws::String& GetBatchRecordsEndTime() const { return m_batchRecordsEndTime; }
110 inline bool BatchRecordsEndTimeHasBeenSet() const { return m_batchRecordsEndTimeHasBeenSet; }
111 template<typename BatchRecordsEndTimeT = Aws::String>
112 void SetBatchRecordsEndTime(BatchRecordsEndTimeT&& value) { m_batchRecordsEndTimeHasBeenSet = true; m_batchRecordsEndTime = std::forward<BatchRecordsEndTimeT>(value); }
113 template<typename BatchRecordsEndTimeT = Aws::String>
114 AppflowIntegrationWorkflowStep& WithBatchRecordsEndTime(BatchRecordsEndTimeT&& value) { SetBatchRecordsEndTime(std::forward<BatchRecordsEndTimeT>(value)); return *this;}
116
118
122 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
123 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
124 template<typename CreatedAtT = Aws::Utils::DateTime>
125 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
126 template<typename CreatedAtT = Aws::Utils::DateTime>
127 AppflowIntegrationWorkflowStep& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
129
131
135 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
136 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
137 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
138 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
139 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
140 AppflowIntegrationWorkflowStep& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
142 private:
143
144 Aws::String m_flowName;
145 bool m_flowNameHasBeenSet = false;
146
147 Status m_status{Status::NOT_SET};
148 bool m_statusHasBeenSet = false;
149
150 Aws::String m_executionMessage;
151 bool m_executionMessageHasBeenSet = false;
152
153 long long m_recordsProcessed{0};
154 bool m_recordsProcessedHasBeenSet = false;
155
156 Aws::String m_batchRecordsStartTime;
157 bool m_batchRecordsStartTimeHasBeenSet = false;
158
159 Aws::String m_batchRecordsEndTime;
160 bool m_batchRecordsEndTimeHasBeenSet = false;
161
162 Aws::Utils::DateTime m_createdAt{};
163 bool m_createdAtHasBeenSet = false;
164
165 Aws::Utils::DateTime m_lastUpdatedAt{};
166 bool m_lastUpdatedAtHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace CustomerProfiles
171} // 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