AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DataIntegrationFlowExecution.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/supplychain/SupplyChain_EXPORTS.h>
10#include <aws/supplychain/model/DataIntegrationFlowExecutionOutputMetadata.h>
11#include <aws/supplychain/model/DataIntegrationFlowExecutionSourceInfo.h>
12#include <aws/supplychain/model/DataIntegrationFlowExecutionStatus.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SupplyChain {
24namespace Model {
25
32 public:
33 AWS_SUPPLYCHAIN_API DataIntegrationFlowExecution() = default;
36 AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 template <typename InstanceIdT = Aws::String>
45 void SetInstanceId(InstanceIdT&& value) {
46 m_instanceIdHasBeenSet = true;
47 m_instanceId = std::forward<InstanceIdT>(value);
48 }
49 template <typename InstanceIdT = Aws::String>
51 SetInstanceId(std::forward<InstanceIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetFlowName() const { return m_flowName; }
61 inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; }
62 template <typename FlowNameT = Aws::String>
63 void SetFlowName(FlowNameT&& value) {
64 m_flowNameHasBeenSet = true;
65 m_flowName = std::forward<FlowNameT>(value);
66 }
67 template <typename FlowNameT = Aws::String>
69 SetFlowName(std::forward<FlowNameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetExecutionId() const { return m_executionId; }
79 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
80 template <typename ExecutionIdT = Aws::String>
81 void SetExecutionId(ExecutionIdT&& value) {
82 m_executionIdHasBeenSet = true;
83 m_executionId = std::forward<ExecutionIdT>(value);
84 }
85 template <typename ExecutionIdT = Aws::String>
87 SetExecutionId(std::forward<ExecutionIdT>(value));
88 return *this;
89 }
91
93
96 inline DataIntegrationFlowExecutionStatus GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 m_statusHasBeenSet = true;
100 m_status = value;
101 }
103 SetStatus(value);
104 return *this;
105 }
107
109
112 inline const DataIntegrationFlowExecutionSourceInfo& GetSourceInfo() const { return m_sourceInfo; }
113 inline bool SourceInfoHasBeenSet() const { return m_sourceInfoHasBeenSet; }
114 template <typename SourceInfoT = DataIntegrationFlowExecutionSourceInfo>
115 void SetSourceInfo(SourceInfoT&& value) {
116 m_sourceInfoHasBeenSet = true;
117 m_sourceInfo = std::forward<SourceInfoT>(value);
118 }
119 template <typename SourceInfoT = DataIntegrationFlowExecutionSourceInfo>
121 SetSourceInfo(std::forward<SourceInfoT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetMessage() const { return m_message; }
131 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
132 template <typename MessageT = Aws::String>
133 void SetMessage(MessageT&& value) {
134 m_messageHasBeenSet = true;
135 m_message = std::forward<MessageT>(value);
136 }
137 template <typename MessageT = Aws::String>
139 SetMessage(std::forward<MessageT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
149 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
150 template <typename StartTimeT = Aws::Utils::DateTime>
151 void SetStartTime(StartTimeT&& value) {
152 m_startTimeHasBeenSet = true;
153 m_startTime = std::forward<StartTimeT>(value);
154 }
155 template <typename StartTimeT = Aws::Utils::DateTime>
157 SetStartTime(std::forward<StartTimeT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
167 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
168 template <typename EndTimeT = Aws::Utils::DateTime>
169 void SetEndTime(EndTimeT&& value) {
170 m_endTimeHasBeenSet = true;
171 m_endTime = std::forward<EndTimeT>(value);
172 }
173 template <typename EndTimeT = Aws::Utils::DateTime>
175 SetEndTime(std::forward<EndTimeT>(value));
176 return *this;
177 }
179
181
184 inline const DataIntegrationFlowExecutionOutputMetadata& GetOutputMetadata() const { return m_outputMetadata; }
185 inline bool OutputMetadataHasBeenSet() const { return m_outputMetadataHasBeenSet; }
186 template <typename OutputMetadataT = DataIntegrationFlowExecutionOutputMetadata>
187 void SetOutputMetadata(OutputMetadataT&& value) {
188 m_outputMetadataHasBeenSet = true;
189 m_outputMetadata = std::forward<OutputMetadataT>(value);
190 }
191 template <typename OutputMetadataT = DataIntegrationFlowExecutionOutputMetadata>
193 SetOutputMetadata(std::forward<OutputMetadataT>(value));
194 return *this;
195 }
197 private:
198 Aws::String m_instanceId;
199
200 Aws::String m_flowName;
201
202 Aws::String m_executionId;
203
205
206 DataIntegrationFlowExecutionSourceInfo m_sourceInfo;
207
208 Aws::String m_message;
209
210 Aws::Utils::DateTime m_startTime{};
211
212 Aws::Utils::DateTime m_endTime{};
213
214 DataIntegrationFlowExecutionOutputMetadata m_outputMetadata;
215 bool m_instanceIdHasBeenSet = false;
216 bool m_flowNameHasBeenSet = false;
217 bool m_executionIdHasBeenSet = false;
218 bool m_statusHasBeenSet = false;
219 bool m_sourceInfoHasBeenSet = false;
220 bool m_messageHasBeenSet = false;
221 bool m_startTimeHasBeenSet = false;
222 bool m_endTimeHasBeenSet = false;
223 bool m_outputMetadataHasBeenSet = false;
224};
225
226} // namespace Model
227} // namespace SupplyChain
228} // namespace Aws
DataIntegrationFlowExecution & WithStartTime(StartTimeT &&value)
const DataIntegrationFlowExecutionOutputMetadata & GetOutputMetadata() const
DataIntegrationFlowExecution & WithExecutionId(ExecutionIdT &&value)
DataIntegrationFlowExecution & WithMessage(MessageT &&value)
DataIntegrationFlowExecution & WithFlowName(FlowNameT &&value)
DataIntegrationFlowExecution & WithEndTime(EndTimeT &&value)
DataIntegrationFlowExecution & WithStatus(DataIntegrationFlowExecutionStatus value)
DataIntegrationFlowExecution & WithInstanceId(InstanceIdT &&value)
AWS_SUPPLYCHAIN_API DataIntegrationFlowExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPLYCHAIN_API DataIntegrationFlowExecution()=default
DataIntegrationFlowExecution & WithSourceInfo(SourceInfoT &&value)
AWS_SUPPLYCHAIN_API DataIntegrationFlowExecution(Aws::Utils::Json::JsonView jsonValue)
const DataIntegrationFlowExecutionSourceInfo & GetSourceInfo() const
DataIntegrationFlowExecution & WithOutputMetadata(OutputMetadataT &&value)
AWS_SUPPLYCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(DataIntegrationFlowExecutionStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue