AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartDataSourceRunResult.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/RunStatisticsForAssets.h>
12#include <aws/datazone/model/DataSourceRunStatus.h>
13#include <aws/datazone/model/DataSourceRunType.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataZone
29{
30namespace Model
31{
33 {
34 public:
35 AWS_DATAZONE_API StartDataSourceRunResult() = default;
38
39
41
44 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
45 template<typename CreatedAtT = Aws::Utils::DateTime>
46 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
47 template<typename CreatedAtT = Aws::Utils::DateTime>
48 StartDataSourceRunResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDataSourceConfigurationSnapshot() const { return m_dataSourceConfigurationSnapshot; }
56 template<typename DataSourceConfigurationSnapshotT = Aws::String>
57 void SetDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT&& value) { m_dataSourceConfigurationSnapshotHasBeenSet = true; m_dataSourceConfigurationSnapshot = std::forward<DataSourceConfigurationSnapshotT>(value); }
58 template<typename DataSourceConfigurationSnapshotT = Aws::String>
59 StartDataSourceRunResult& WithDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT&& value) { SetDataSourceConfigurationSnapshot(std::forward<DataSourceConfigurationSnapshotT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDataSourceId() const { return m_dataSourceId; }
67 template<typename DataSourceIdT = Aws::String>
68 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
69 template<typename DataSourceIdT = Aws::String>
70 StartDataSourceRunResult& WithDataSourceId(DataSourceIdT&& value) { SetDataSourceId(std::forward<DataSourceIdT>(value)); return *this;}
72
74
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 StartDataSourceRunResult& 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 StartDataSourceRunResult& 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 StartDataSourceRunResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
107
109
112 inline const Aws::String& GetProjectId() const { return m_projectId; }
113 template<typename ProjectIdT = Aws::String>
114 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet = true; m_projectId = std::forward<ProjectIdT>(value); }
115 template<typename ProjectIdT = Aws::String>
116 StartDataSourceRunResult& WithProjectId(ProjectIdT&& value) { SetProjectId(std::forward<ProjectIdT>(value)); return *this;}
118
120
123 inline const RunStatisticsForAssets& GetRunStatisticsForAssets() const { return m_runStatisticsForAssets; }
124 template<typename RunStatisticsForAssetsT = RunStatisticsForAssets>
125 void SetRunStatisticsForAssets(RunStatisticsForAssetsT&& value) { m_runStatisticsForAssetsHasBeenSet = true; m_runStatisticsForAssets = std::forward<RunStatisticsForAssetsT>(value); }
126 template<typename RunStatisticsForAssetsT = RunStatisticsForAssets>
127 StartDataSourceRunResult& WithRunStatisticsForAssets(RunStatisticsForAssetsT&& value) { SetRunStatisticsForAssets(std::forward<RunStatisticsForAssetsT>(value)); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
135 template<typename StartedAtT = Aws::Utils::DateTime>
136 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
137 template<typename StartedAtT = Aws::Utils::DateTime>
138 StartDataSourceRunResult& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
140
142
145 inline DataSourceRunStatus GetStatus() const { return m_status; }
146 inline void SetStatus(DataSourceRunStatus value) { m_statusHasBeenSet = true; m_status = value; }
147 inline StartDataSourceRunResult& WithStatus(DataSourceRunStatus value) { SetStatus(value); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetStoppedAt() const { return m_stoppedAt; }
155 template<typename StoppedAtT = Aws::Utils::DateTime>
156 void SetStoppedAt(StoppedAtT&& value) { m_stoppedAtHasBeenSet = true; m_stoppedAt = std::forward<StoppedAtT>(value); }
157 template<typename StoppedAtT = Aws::Utils::DateTime>
158 StartDataSourceRunResult& WithStoppedAt(StoppedAtT&& value) { SetStoppedAt(std::forward<StoppedAtT>(value)); return *this;}
160
162
165 inline DataSourceRunType GetType() const { return m_type; }
166 inline void SetType(DataSourceRunType value) { m_typeHasBeenSet = true; m_type = value; }
167 inline StartDataSourceRunResult& WithType(DataSourceRunType value) { SetType(value); return *this;}
169
171
174 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
175 template<typename UpdatedAtT = Aws::Utils::DateTime>
176 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
177 template<typename UpdatedAtT = Aws::Utils::DateTime>
178 StartDataSourceRunResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
180
182
183 inline const Aws::String& GetRequestId() const { return m_requestId; }
184 template<typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
186 template<typename RequestIdT = Aws::String>
187 StartDataSourceRunResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
189 private:
190
191 Aws::Utils::DateTime m_createdAt{};
192 bool m_createdAtHasBeenSet = false;
193
194 Aws::String m_dataSourceConfigurationSnapshot;
195 bool m_dataSourceConfigurationSnapshotHasBeenSet = false;
196
197 Aws::String m_dataSourceId;
198 bool m_dataSourceIdHasBeenSet = false;
199
200 Aws::String m_domainId;
201 bool m_domainIdHasBeenSet = false;
202
203 DataSourceErrorMessage m_errorMessage;
204 bool m_errorMessageHasBeenSet = false;
205
206 Aws::String m_id;
207 bool m_idHasBeenSet = false;
208
209 Aws::String m_projectId;
210 bool m_projectIdHasBeenSet = false;
211
212 RunStatisticsForAssets m_runStatisticsForAssets;
213 bool m_runStatisticsForAssetsHasBeenSet = false;
214
215 Aws::Utils::DateTime m_startedAt{};
216 bool m_startedAtHasBeenSet = false;
217
219 bool m_statusHasBeenSet = false;
220
221 Aws::Utils::DateTime m_stoppedAt{};
222 bool m_stoppedAtHasBeenSet = false;
223
225 bool m_typeHasBeenSet = false;
226
227 Aws::Utils::DateTime m_updatedAt{};
228 bool m_updatedAtHasBeenSet = false;
229
230 Aws::String m_requestId;
231 bool m_requestIdHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace DataZone
236} // namespace Aws
const Aws::Utils::DateTime & GetStartedAt() const
StartDataSourceRunResult & WithDomainId(DomainIdT &&value)
void SetRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
StartDataSourceRunResult & WithStoppedAt(StoppedAtT &&value)
void SetDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT &&value)
StartDataSourceRunResult & WithUpdatedAt(UpdatedAtT &&value)
StartDataSourceRunResult & WithId(IdT &&value)
const Aws::Utils::DateTime & GetStoppedAt() const
StartDataSourceRunResult & WithCreatedAt(CreatedAtT &&value)
StartDataSourceRunResult & WithDataSourceId(DataSourceIdT &&value)
const RunStatisticsForAssets & GetRunStatisticsForAssets() const
StartDataSourceRunResult & WithRequestId(RequestIdT &&value)
StartDataSourceRunResult & WithErrorMessage(ErrorMessageT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const DataSourceErrorMessage & GetErrorMessage() const
StartDataSourceRunResult & WithRunStatisticsForAssets(RunStatisticsForAssetsT &&value)
StartDataSourceRunResult & WithType(DataSourceRunType value)
StartDataSourceRunResult & WithStatus(DataSourceRunStatus value)
AWS_DATAZONE_API StartDataSourceRunResult()=default
AWS_DATAZONE_API StartDataSourceRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API StartDataSourceRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdatedAt() const
StartDataSourceRunResult & WithStartedAt(StartedAtT &&value)
StartDataSourceRunResult & WithDataSourceConfigurationSnapshot(DataSourceConfigurationSnapshotT &&value)
StartDataSourceRunResult & WithProjectId(ProjectIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue