AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DataSourceRunSummary.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{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DataZone
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_DATAZONE_API DataSourceRunSummary() = default;
43 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
51 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
52 template<typename CreatedAtT = Aws::Utils::DateTime>
53 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
54 template<typename CreatedAtT = Aws::Utils::DateTime>
55 DataSourceRunSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
57
59
62 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
63 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
64 template<typename DataSourceIdT = Aws::String>
65 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
66 template<typename DataSourceIdT = Aws::String>
67 DataSourceRunSummary& WithDataSourceId(DataSourceIdT&& value) { SetDataSourceId(std::forward<DataSourceIdT>(value)); return *this;}
69
71
72 inline const DataSourceErrorMessage& GetErrorMessage() const { return m_errorMessage; }
73 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
74 template<typename ErrorMessageT = DataSourceErrorMessage>
75 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
76 template<typename ErrorMessageT = DataSourceErrorMessage>
77 DataSourceRunSummary& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
79
81
84 inline const Aws::String& GetId() const { return m_id; }
85 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
86 template<typename IdT = Aws::String>
87 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
88 template<typename IdT = Aws::String>
89 DataSourceRunSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
91
93
96 inline const DataSourceRunLineageSummary& GetLineageSummary() const { return m_lineageSummary; }
97 inline bool LineageSummaryHasBeenSet() const { return m_lineageSummaryHasBeenSet; }
98 template<typename LineageSummaryT = DataSourceRunLineageSummary>
99 void SetLineageSummary(LineageSummaryT&& value) { m_lineageSummaryHasBeenSet = true; m_lineageSummary = std::forward<LineageSummaryT>(value); }
100 template<typename LineageSummaryT = DataSourceRunLineageSummary>
101 DataSourceRunSummary& WithLineageSummary(LineageSummaryT&& value) { SetLineageSummary(std::forward<LineageSummaryT>(value)); return *this;}
103
105
108 inline const Aws::String& GetProjectId() const { return m_projectId; }
109 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
110 template<typename ProjectIdT = Aws::String>
111 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet = true; m_projectId = std::forward<ProjectIdT>(value); }
112 template<typename ProjectIdT = Aws::String>
113 DataSourceRunSummary& WithProjectId(ProjectIdT&& value) { SetProjectId(std::forward<ProjectIdT>(value)); return *this;}
115
117
118 inline const RunStatisticsForAssets& GetRunStatisticsForAssets() const { return m_runStatisticsForAssets; }
119 inline bool RunStatisticsForAssetsHasBeenSet() const { return m_runStatisticsForAssetsHasBeenSet; }
120 template<typename RunStatisticsForAssetsT = RunStatisticsForAssets>
121 void SetRunStatisticsForAssets(RunStatisticsForAssetsT&& value) { m_runStatisticsForAssetsHasBeenSet = true; m_runStatisticsForAssets = std::forward<RunStatisticsForAssetsT>(value); }
122 template<typename RunStatisticsForAssetsT = RunStatisticsForAssets>
123 DataSourceRunSummary& WithRunStatisticsForAssets(RunStatisticsForAssetsT&& value) { SetRunStatisticsForAssets(std::forward<RunStatisticsForAssetsT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
131 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
132 template<typename StartedAtT = Aws::Utils::DateTime>
133 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
134 template<typename StartedAtT = Aws::Utils::DateTime>
135 DataSourceRunSummary& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
137
139
142 inline DataSourceRunStatus GetStatus() const { return m_status; }
143 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
144 inline void SetStatus(DataSourceRunStatus value) { m_statusHasBeenSet = true; m_status = value; }
145 inline DataSourceRunSummary& WithStatus(DataSourceRunStatus value) { SetStatus(value); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetStoppedAt() const { return m_stoppedAt; }
153 inline bool StoppedAtHasBeenSet() const { return m_stoppedAtHasBeenSet; }
154 template<typename StoppedAtT = Aws::Utils::DateTime>
155 void SetStoppedAt(StoppedAtT&& value) { m_stoppedAtHasBeenSet = true; m_stoppedAt = std::forward<StoppedAtT>(value); }
156 template<typename StoppedAtT = Aws::Utils::DateTime>
157 DataSourceRunSummary& WithStoppedAt(StoppedAtT&& value) { SetStoppedAt(std::forward<StoppedAtT>(value)); return *this;}
159
161
164 inline DataSourceRunType GetType() const { return m_type; }
165 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
166 inline void SetType(DataSourceRunType value) { m_typeHasBeenSet = true; m_type = value; }
167 inline DataSourceRunSummary& WithType(DataSourceRunType value) { SetType(value); return *this;}
169
171
174 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
175 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
176 template<typename UpdatedAtT = Aws::Utils::DateTime>
177 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
178 template<typename UpdatedAtT = Aws::Utils::DateTime>
179 DataSourceRunSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
181 private:
182
183 Aws::Utils::DateTime m_createdAt{};
184 bool m_createdAtHasBeenSet = false;
185
186 Aws::String m_dataSourceId;
187 bool m_dataSourceIdHasBeenSet = false;
188
189 DataSourceErrorMessage m_errorMessage;
190 bool m_errorMessageHasBeenSet = false;
191
192 Aws::String m_id;
193 bool m_idHasBeenSet = false;
194
195 DataSourceRunLineageSummary m_lineageSummary;
196 bool m_lineageSummaryHasBeenSet = false;
197
198 Aws::String m_projectId;
199 bool m_projectIdHasBeenSet = false;
200
201 RunStatisticsForAssets m_runStatisticsForAssets;
202 bool m_runStatisticsForAssetsHasBeenSet = false;
203
204 Aws::Utils::DateTime m_startedAt{};
205 bool m_startedAtHasBeenSet = false;
206
208 bool m_statusHasBeenSet = false;
209
210 Aws::Utils::DateTime m_stoppedAt{};
211 bool m_stoppedAtHasBeenSet = false;
212
214 bool m_typeHasBeenSet = false;
215
216 Aws::Utils::DateTime m_updatedAt{};
217 bool m_updatedAtHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace DataZone
222} // namespace Aws
DataSourceRunSummary & WithDataSourceId(DataSourceIdT &&value)
DataSourceRunSummary & WithStatus(DataSourceRunStatus value)
DataSourceRunSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
DataSourceRunSummary & WithType(DataSourceRunType value)
AWS_DATAZONE_API DataSourceRunSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const DataSourceRunLineageSummary & GetLineageSummary() const
AWS_DATAZONE_API DataSourceRunSummary(Aws::Utils::Json::JsonView jsonValue)
DataSourceRunSummary & WithProjectId(ProjectIdT &&value)
const DataSourceErrorMessage & GetErrorMessage() const
DataSourceRunSummary & WithStoppedAt(StoppedAtT &&value)
DataSourceRunSummary & WithRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
DataSourceRunSummary & WithErrorMessage(ErrorMessageT &&value)
void SetRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
DataSourceRunSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetStoppedAt() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const RunStatisticsForAssets & GetRunStatisticsForAssets() const
const Aws::Utils::DateTime & GetCreatedAt() const
DataSourceRunSummary & WithId(IdT &&value)
DataSourceRunSummary & WithLineageSummary(LineageSummaryT &&value)
AWS_DATAZONE_API DataSourceRunSummary()=default
DataSourceRunSummary & WithStartedAt(StartedAtT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetLineageSummary(LineageSummaryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue