AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetDataSourceRunResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/DataSourceErrorMessage.h>
11#include <aws/datazone/model/DataSourceRunLineageSummary.h>
12#include <aws/datazone/model/RunStatisticsForAssets.h>
13#include <aws/datazone/model/DataSourceRunStatus.h>
14#include <aws/datazone/model/DataSourceRunType.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace DataZone
30{
31namespace Model
32{
34 {
35 public:
36 AWS_DATAZONE_API GetDataSourceRunResult() = default;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
46 template<typename CreatedAtT = Aws::Utils::DateTime>
47 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
48 template<typename CreatedAtT = Aws::Utils::DateTime>
49 GetDataSourceRunResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDataSourceConfigurationSnapshot() const { return m_dataSourceConfigurationSnapshot; }
57 template<typename DataSourceConfigurationSnapshotT = Aws::String>
58 void SetDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT&& value) { m_dataSourceConfigurationSnapshotHasBeenSet = true; m_dataSourceConfigurationSnapshot = std::forward<DataSourceConfigurationSnapshotT>(value); }
59 template<typename DataSourceConfigurationSnapshotT = Aws::String>
60 GetDataSourceRunResult& WithDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT&& value) { SetDataSourceConfigurationSnapshot(std::forward<DataSourceConfigurationSnapshotT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
68 template<typename DataSourceIdT = Aws::String>
69 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
70 template<typename DataSourceIdT = Aws::String>
71 GetDataSourceRunResult& WithDataSourceId(DataSourceIdT&& value) { SetDataSourceId(std::forward<DataSourceIdT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDomainId() const { return m_domainId; }
79 template<typename DomainIdT = Aws::String>
80 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
81 template<typename DomainIdT = Aws::String>
82 GetDataSourceRunResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
84
86
90 inline const DataSourceErrorMessage& GetErrorMessage() const { return m_errorMessage; }
91 template<typename ErrorMessageT = DataSourceErrorMessage>
92 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
93 template<typename ErrorMessageT = DataSourceErrorMessage>
94 GetDataSourceRunResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
96
98
101 inline const Aws::String& GetId() const { return m_id; }
102 template<typename IdT = Aws::String>
103 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
104 template<typename IdT = Aws::String>
105 GetDataSourceRunResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
107
109
112 inline const DataSourceRunLineageSummary& GetLineageSummary() const { return m_lineageSummary; }
113 template<typename LineageSummaryT = DataSourceRunLineageSummary>
114 void SetLineageSummary(LineageSummaryT&& value) { m_lineageSummaryHasBeenSet = true; m_lineageSummary = std::forward<LineageSummaryT>(value); }
115 template<typename LineageSummaryT = DataSourceRunLineageSummary>
116 GetDataSourceRunResult& WithLineageSummary(LineageSummaryT&& value) { SetLineageSummary(std::forward<LineageSummaryT>(value)); return *this;}
118
120
123 inline const Aws::String& GetProjectId() const { return m_projectId; }
124 template<typename ProjectIdT = Aws::String>
125 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet = true; m_projectId = std::forward<ProjectIdT>(value); }
126 template<typename ProjectIdT = Aws::String>
127 GetDataSourceRunResult& WithProjectId(ProjectIdT&& value) { SetProjectId(std::forward<ProjectIdT>(value)); return *this;}
129
131
134 inline const RunStatisticsForAssets& GetRunStatisticsForAssets() const { return m_runStatisticsForAssets; }
135 template<typename RunStatisticsForAssetsT = RunStatisticsForAssets>
136 void SetRunStatisticsForAssets(RunStatisticsForAssetsT&& value) { m_runStatisticsForAssetsHasBeenSet = true; m_runStatisticsForAssets = std::forward<RunStatisticsForAssetsT>(value); }
137 template<typename RunStatisticsForAssetsT = RunStatisticsForAssets>
138 GetDataSourceRunResult& WithRunStatisticsForAssets(RunStatisticsForAssetsT&& value) { SetRunStatisticsForAssets(std::forward<RunStatisticsForAssetsT>(value)); return *this;}
140
142
145 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
146 template<typename StartedAtT = Aws::Utils::DateTime>
147 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
148 template<typename StartedAtT = Aws::Utils::DateTime>
149 GetDataSourceRunResult& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
151
153
156 inline DataSourceRunStatus GetStatus() const { return m_status; }
157 inline void SetStatus(DataSourceRunStatus value) { m_statusHasBeenSet = true; m_status = value; }
158 inline GetDataSourceRunResult& WithStatus(DataSourceRunStatus value) { SetStatus(value); return *this;}
160
162
165 inline const Aws::Utils::DateTime& GetStoppedAt() const { return m_stoppedAt; }
166 template<typename StoppedAtT = Aws::Utils::DateTime>
167 void SetStoppedAt(StoppedAtT&& value) { m_stoppedAtHasBeenSet = true; m_stoppedAt = std::forward<StoppedAtT>(value); }
168 template<typename StoppedAtT = Aws::Utils::DateTime>
169 GetDataSourceRunResult& WithStoppedAt(StoppedAtT&& value) { SetStoppedAt(std::forward<StoppedAtT>(value)); return *this;}
171
173
176 inline DataSourceRunType GetType() const { return m_type; }
177 inline void SetType(DataSourceRunType value) { m_typeHasBeenSet = true; m_type = value; }
178 inline GetDataSourceRunResult& WithType(DataSourceRunType value) { SetType(value); return *this;}
180
182
185 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
186 template<typename UpdatedAtT = Aws::Utils::DateTime>
187 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
188 template<typename UpdatedAtT = Aws::Utils::DateTime>
189 GetDataSourceRunResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
191
193
194 inline const Aws::String& GetRequestId() const { return m_requestId; }
195 template<typename RequestIdT = Aws::String>
196 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
197 template<typename RequestIdT = Aws::String>
198 GetDataSourceRunResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
200 private:
201
202 Aws::Utils::DateTime m_createdAt{};
203 bool m_createdAtHasBeenSet = false;
204
205 Aws::String m_dataSourceConfigurationSnapshot;
206 bool m_dataSourceConfigurationSnapshotHasBeenSet = false;
207
208 Aws::String m_dataSourceId;
209 bool m_dataSourceIdHasBeenSet = false;
210
211 Aws::String m_domainId;
212 bool m_domainIdHasBeenSet = false;
213
214 DataSourceErrorMessage m_errorMessage;
215 bool m_errorMessageHasBeenSet = false;
216
217 Aws::String m_id;
218 bool m_idHasBeenSet = false;
219
220 DataSourceRunLineageSummary m_lineageSummary;
221 bool m_lineageSummaryHasBeenSet = false;
222
223 Aws::String m_projectId;
224 bool m_projectIdHasBeenSet = false;
225
226 RunStatisticsForAssets m_runStatisticsForAssets;
227 bool m_runStatisticsForAssetsHasBeenSet = false;
228
229 Aws::Utils::DateTime m_startedAt{};
230 bool m_startedAtHasBeenSet = false;
231
233 bool m_statusHasBeenSet = false;
234
235 Aws::Utils::DateTime m_stoppedAt{};
236 bool m_stoppedAtHasBeenSet = false;
237
239 bool m_typeHasBeenSet = false;
240
241 Aws::Utils::DateTime m_updatedAt{};
242 bool m_updatedAtHasBeenSet = false;
243
244 Aws::String m_requestId;
245 bool m_requestIdHasBeenSet = false;
246 };
247
248} // namespace Model
249} // namespace DataZone
250} // namespace Aws
const Aws::Utils::DateTime & GetStartedAt() const
GetDataSourceRunResult & WithStoppedAt(StoppedAtT &&value)
const DataSourceRunLineageSummary & GetLineageSummary() const
const RunStatisticsForAssets & GetRunStatisticsForAssets() const
const Aws::String & GetDataSourceConfigurationSnapshot() const
void SetRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
GetDataSourceRunResult & WithDataSourceId(DataSourceIdT &&value)
void SetDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT &&value)
GetDataSourceRunResult & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetDataSourceRunResult & WithErrorMessage(ErrorMessageT &&value)
GetDataSourceRunResult & WithLineageSummary(LineageSummaryT &&value)
GetDataSourceRunResult & WithType(DataSourceRunType value)
AWS_DATAZONE_API GetDataSourceRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API GetDataSourceRunResult()=default
GetDataSourceRunResult & WithDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT &&value)
GetDataSourceRunResult & WithStartedAt(StartedAtT &&value)
GetDataSourceRunResult & WithStatus(DataSourceRunStatus value)
const DataSourceErrorMessage & GetErrorMessage() const
GetDataSourceRunResult & WithProjectId(ProjectIdT &&value)
GetDataSourceRunResult & WithId(IdT &&value)
const Aws::Utils::DateTime & GetStoppedAt() const
AWS_DATAZONE_API GetDataSourceRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDataSourceRunResult & WithUpdatedAt(UpdatedAtT &&value)
GetDataSourceRunResult & WithRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
GetDataSourceRunResult & WithRequestId(RequestIdT &&value)
GetDataSourceRunResult & WithDomainId(DomainIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue