AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/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 GetDataSourceRunResult();
38
39
41
44 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
45 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
46 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
47 inline GetDataSourceRunResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
48 inline GetDataSourceRunResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
50
52
55 inline const Aws::String& GetDataSourceConfigurationSnapshot() const{ return m_dataSourceConfigurationSnapshot; }
56 inline void SetDataSourceConfigurationSnapshot(const Aws::String& value) { m_dataSourceConfigurationSnapshot = value; }
57 inline void SetDataSourceConfigurationSnapshot(Aws::String&& value) { m_dataSourceConfigurationSnapshot = std::move(value); }
58 inline void SetDataSourceConfigurationSnapshot(const char* value) { m_dataSourceConfigurationSnapshot.assign(value); }
63
65
68 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
69 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
70 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
71 inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
72 inline GetDataSourceRunResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
73 inline GetDataSourceRunResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
74 inline GetDataSourceRunResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
76
78
81 inline const Aws::String& GetDomainId() const{ return m_domainId; }
82 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
83 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
84 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
85 inline GetDataSourceRunResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
86 inline GetDataSourceRunResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
87 inline GetDataSourceRunResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
89
91
95 inline const DataSourceErrorMessage& GetErrorMessage() const{ return m_errorMessage; }
96 inline void SetErrorMessage(const DataSourceErrorMessage& value) { m_errorMessage = value; }
97 inline void SetErrorMessage(DataSourceErrorMessage&& value) { m_errorMessage = std::move(value); }
99 inline GetDataSourceRunResult& WithErrorMessage(DataSourceErrorMessage&& value) { SetErrorMessage(std::move(value)); return *this;}
101
103
106 inline const Aws::String& GetId() const{ return m_id; }
107 inline void SetId(const Aws::String& value) { m_id = value; }
108 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
109 inline void SetId(const char* value) { m_id.assign(value); }
110 inline GetDataSourceRunResult& WithId(const Aws::String& value) { SetId(value); return *this;}
111 inline GetDataSourceRunResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
112 inline GetDataSourceRunResult& WithId(const char* value) { SetId(value); return *this;}
114
116
119 inline const Aws::String& GetProjectId() const{ return m_projectId; }
120 inline void SetProjectId(const Aws::String& value) { m_projectId = value; }
121 inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); }
122 inline void SetProjectId(const char* value) { m_projectId.assign(value); }
123 inline GetDataSourceRunResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
124 inline GetDataSourceRunResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
125 inline GetDataSourceRunResult& WithProjectId(const char* value) { SetProjectId(value); return *this;}
127
129
132 inline const RunStatisticsForAssets& GetRunStatisticsForAssets() const{ return m_runStatisticsForAssets; }
133 inline void SetRunStatisticsForAssets(const RunStatisticsForAssets& value) { m_runStatisticsForAssets = value; }
134 inline void SetRunStatisticsForAssets(RunStatisticsForAssets&& value) { m_runStatisticsForAssets = std::move(value); }
138
140
143 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
144 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
145 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); }
146 inline GetDataSourceRunResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
147 inline GetDataSourceRunResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
149
151
154 inline const DataSourceRunStatus& GetStatus() const{ return m_status; }
155 inline void SetStatus(const DataSourceRunStatus& value) { m_status = value; }
156 inline void SetStatus(DataSourceRunStatus&& value) { m_status = std::move(value); }
157 inline GetDataSourceRunResult& WithStatus(const DataSourceRunStatus& value) { SetStatus(value); return *this;}
158 inline GetDataSourceRunResult& WithStatus(DataSourceRunStatus&& value) { SetStatus(std::move(value)); return *this;}
160
162
165 inline const Aws::Utils::DateTime& GetStoppedAt() const{ return m_stoppedAt; }
166 inline void SetStoppedAt(const Aws::Utils::DateTime& value) { m_stoppedAt = value; }
167 inline void SetStoppedAt(Aws::Utils::DateTime&& value) { m_stoppedAt = std::move(value); }
168 inline GetDataSourceRunResult& WithStoppedAt(const Aws::Utils::DateTime& value) { SetStoppedAt(value); return *this;}
169 inline GetDataSourceRunResult& WithStoppedAt(Aws::Utils::DateTime&& value) { SetStoppedAt(std::move(value)); return *this;}
171
173
176 inline const DataSourceRunType& GetType() const{ return m_type; }
177 inline void SetType(const DataSourceRunType& value) { m_type = value; }
178 inline void SetType(DataSourceRunType&& value) { m_type = std::move(value); }
179 inline GetDataSourceRunResult& WithType(const DataSourceRunType& value) { SetType(value); return *this;}
180 inline GetDataSourceRunResult& WithType(DataSourceRunType&& value) { SetType(std::move(value)); return *this;}
182
184
187 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
188 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
189 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
190 inline GetDataSourceRunResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
191 inline GetDataSourceRunResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
193
195
196 inline const Aws::String& GetRequestId() const{ return m_requestId; }
197 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
198 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
199 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
200 inline GetDataSourceRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
201 inline GetDataSourceRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
202 inline GetDataSourceRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
204 private:
205
206 Aws::Utils::DateTime m_createdAt;
207
208 Aws::String m_dataSourceConfigurationSnapshot;
209
210 Aws::String m_dataSourceId;
211
212 Aws::String m_domainId;
213
214 DataSourceErrorMessage m_errorMessage;
215
216 Aws::String m_id;
217
218 Aws::String m_projectId;
219
220 RunStatisticsForAssets m_runStatisticsForAssets;
221
222 Aws::Utils::DateTime m_startedAt;
223
224 DataSourceRunStatus m_status;
225
226 Aws::Utils::DateTime m_stoppedAt;
227
228 DataSourceRunType m_type;
229
230 Aws::Utils::DateTime m_updatedAt;
231
232 Aws::String m_requestId;
233 };
234
235} // namespace Model
236} // namespace DataZone
237} // namespace Aws
GetDataSourceRunResult & WithId(Aws::String &&value)
GetDataSourceRunResult & WithId(const Aws::String &value)
void SetErrorMessage(DataSourceErrorMessage &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetErrorMessage(const DataSourceErrorMessage &value)
GetDataSourceRunResult & WithStatus(DataSourceRunStatus &&value)
const Aws::Utils::DateTime & GetStartedAt() const
GetDataSourceRunResult & WithStoppedAt(const Aws::Utils::DateTime &value)
GetDataSourceRunResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetStatus(const DataSourceRunStatus &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetDataSourceRunResult & WithDataSourceConfigurationSnapshot(const char *value)
GetDataSourceRunResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetDataSourceRunResult & WithErrorMessage(DataSourceErrorMessage &&value)
GetDataSourceRunResult & WithRequestId(const char *value)
GetDataSourceRunResult & WithProjectId(const char *value)
GetDataSourceRunResult & WithDataSourceId(const Aws::String &value)
void SetRunStatisticsForAssets(const RunStatisticsForAssets &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetDataSourceRunResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetDataSourceRunResult & WithRequestId(Aws::String &&value)
const RunStatisticsForAssets & GetRunStatisticsForAssets() const
const Aws::String & GetDataSourceConfigurationSnapshot() const
void SetDataSourceConfigurationSnapshot(const Aws::String &value)
GetDataSourceRunResult & WithStoppedAt(Aws::Utils::DateTime &&value)
void SetRunStatisticsForAssets(RunStatisticsForAssets &&value)
GetDataSourceRunResult & WithDomainId(const char *value)
GetDataSourceRunResult & WithDataSourceId(Aws::String &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
GetDataSourceRunResult & WithStatus(const DataSourceRunStatus &value)
GetDataSourceRunResult & WithStartedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetDataSourceRunResult & WithType(DataSourceRunType &&value)
AWS_DATAZONE_API GetDataSourceRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataSourceRunResult & WithDataSourceId(const char *value)
GetDataSourceRunResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetStoppedAt(const Aws::Utils::DateTime &value)
void SetType(const DataSourceRunType &value)
GetDataSourceRunResult & WithRunStatisticsForAssets(const RunStatisticsForAssets &value)
void SetStoppedAt(Aws::Utils::DateTime &&value)
GetDataSourceRunResult & WithRequestId(const Aws::String &value)
GetDataSourceRunResult & WithType(const DataSourceRunType &value)
GetDataSourceRunResult & WithErrorMessage(const DataSourceErrorMessage &value)
const DataSourceErrorMessage & GetErrorMessage() const
GetDataSourceRunResult & WithProjectId(const Aws::String &value)
GetDataSourceRunResult & WithDomainId(Aws::String &&value)
GetDataSourceRunResult & WithDataSourceConfigurationSnapshot(Aws::String &&value)
void SetStartedAt(Aws::Utils::DateTime &&value)
GetDataSourceRunResult & WithDomainId(const Aws::String &value)
const Aws::Utils::DateTime & GetStoppedAt() const
GetDataSourceRunResult & WithDataSourceConfigurationSnapshot(const Aws::String &value)
GetDataSourceRunResult & WithRunStatisticsForAssets(RunStatisticsForAssets &&value)
const DataSourceRunStatus & GetStatus() const
AWS_DATAZONE_API GetDataSourceRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataSourceRunResult & WithProjectId(Aws::String &&value)
GetDataSourceRunResult & WithStartedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDataSourceRunResult & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue