AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 StartDataSourceRunResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
48 inline StartDataSourceRunResult& 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 StartDataSourceRunResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
73 inline StartDataSourceRunResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
74 inline StartDataSourceRunResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
76
78
82 inline const Aws::String& GetDomainId() const{ return m_domainId; }
83 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
84 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
85 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
86 inline StartDataSourceRunResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
87 inline StartDataSourceRunResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
88 inline StartDataSourceRunResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
90
92
96 inline const DataSourceErrorMessage& GetErrorMessage() const{ return m_errorMessage; }
97 inline void SetErrorMessage(const DataSourceErrorMessage& value) { m_errorMessage = value; }
98 inline void SetErrorMessage(DataSourceErrorMessage&& value) { m_errorMessage = std::move(value); }
100 inline StartDataSourceRunResult& WithErrorMessage(DataSourceErrorMessage&& value) { SetErrorMessage(std::move(value)); return *this;}
102
104
107 inline const Aws::String& GetId() const{ return m_id; }
108 inline void SetId(const Aws::String& value) { m_id = value; }
109 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
110 inline void SetId(const char* value) { m_id.assign(value); }
111 inline StartDataSourceRunResult& WithId(const Aws::String& value) { SetId(value); return *this;}
112 inline StartDataSourceRunResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
113 inline StartDataSourceRunResult& WithId(const char* value) { SetId(value); return *this;}
115
117
120 inline const Aws::String& GetProjectId() const{ return m_projectId; }
121 inline void SetProjectId(const Aws::String& value) { m_projectId = value; }
122 inline void SetProjectId(Aws::String&& value) { m_projectId = std::move(value); }
123 inline void SetProjectId(const char* value) { m_projectId.assign(value); }
124 inline StartDataSourceRunResult& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
125 inline StartDataSourceRunResult& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
126 inline StartDataSourceRunResult& WithProjectId(const char* value) { SetProjectId(value); return *this;}
128
130
133 inline const RunStatisticsForAssets& GetRunStatisticsForAssets() const{ return m_runStatisticsForAssets; }
134 inline void SetRunStatisticsForAssets(const RunStatisticsForAssets& value) { m_runStatisticsForAssets = value; }
135 inline void SetRunStatisticsForAssets(RunStatisticsForAssets&& value) { m_runStatisticsForAssets = std::move(value); }
139
141
144 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
145 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAt = value; }
146 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAt = std::move(value); }
147 inline StartDataSourceRunResult& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
148 inline StartDataSourceRunResult& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
150
152
155 inline const DataSourceRunStatus& GetStatus() const{ return m_status; }
156 inline void SetStatus(const DataSourceRunStatus& value) { m_status = value; }
157 inline void SetStatus(DataSourceRunStatus&& value) { m_status = std::move(value); }
158 inline StartDataSourceRunResult& WithStatus(const DataSourceRunStatus& value) { SetStatus(value); return *this;}
159 inline StartDataSourceRunResult& WithStatus(DataSourceRunStatus&& value) { SetStatus(std::move(value)); return *this;}
161
163
166 inline const Aws::Utils::DateTime& GetStoppedAt() const{ return m_stoppedAt; }
167 inline void SetStoppedAt(const Aws::Utils::DateTime& value) { m_stoppedAt = value; }
168 inline void SetStoppedAt(Aws::Utils::DateTime&& value) { m_stoppedAt = std::move(value); }
169 inline StartDataSourceRunResult& WithStoppedAt(const Aws::Utils::DateTime& value) { SetStoppedAt(value); return *this;}
170 inline StartDataSourceRunResult& WithStoppedAt(Aws::Utils::DateTime&& value) { SetStoppedAt(std::move(value)); return *this;}
172
174
177 inline const DataSourceRunType& GetType() const{ return m_type; }
178 inline void SetType(const DataSourceRunType& value) { m_type = value; }
179 inline void SetType(DataSourceRunType&& value) { m_type = std::move(value); }
180 inline StartDataSourceRunResult& WithType(const DataSourceRunType& value) { SetType(value); return *this;}
181 inline StartDataSourceRunResult& WithType(DataSourceRunType&& value) { SetType(std::move(value)); return *this;}
183
185
188 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
189 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
190 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
191 inline StartDataSourceRunResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
192 inline StartDataSourceRunResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
194
196
197 inline const Aws::String& GetRequestId() const{ return m_requestId; }
198 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
199 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
200 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
201 inline StartDataSourceRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
202 inline StartDataSourceRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
203 inline StartDataSourceRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
205 private:
206
207 Aws::Utils::DateTime m_createdAt;
208
209 Aws::String m_dataSourceConfigurationSnapshot;
210
211 Aws::String m_dataSourceId;
212
213 Aws::String m_domainId;
214
215 DataSourceErrorMessage m_errorMessage;
216
217 Aws::String m_id;
218
219 Aws::String m_projectId;
220
221 RunStatisticsForAssets m_runStatisticsForAssets;
222
223 Aws::Utils::DateTime m_startedAt;
224
225 DataSourceRunStatus m_status;
226
227 Aws::Utils::DateTime m_stoppedAt;
228
229 DataSourceRunType m_type;
230
231 Aws::Utils::DateTime m_updatedAt;
232
233 Aws::String m_requestId;
234 };
235
236} // namespace Model
237} // namespace DataZone
238} // namespace Aws
const Aws::Utils::DateTime & GetStartedAt() const
StartDataSourceRunResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetStartedAt(const Aws::Utils::DateTime &value)
StartDataSourceRunResult & WithProjectId(const char *value)
StartDataSourceRunResult & WithCreatedAt(Aws::Utils::DateTime &&value)
StartDataSourceRunResult & WithType(DataSourceRunType &&value)
void SetRunStatisticsForAssets(RunStatisticsForAssets &&value)
StartDataSourceRunResult & WithDomainId(const char *value)
StartDataSourceRunResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
StartDataSourceRunResult & WithId(Aws::String &&value)
const Aws::Utils::DateTime & GetStoppedAt() const
StartDataSourceRunResult & WithId(const Aws::String &value)
void SetStatus(const DataSourceRunStatus &value)
StartDataSourceRunResult & WithProjectId(const Aws::String &value)
StartDataSourceRunResult & WithDataSourceConfigurationSnapshot(const Aws::String &value)
StartDataSourceRunResult & WithRequestId(const Aws::String &value)
void SetErrorMessage(const DataSourceErrorMessage &value)
StartDataSourceRunResult & WithDataSourceId(const char *value)
const RunStatisticsForAssets & GetRunStatisticsForAssets() const
StartDataSourceRunResult & WithRequestId(Aws::String &&value)
StartDataSourceRunResult & WithStoppedAt(Aws::Utils::DateTime &&value)
StartDataSourceRunResult & WithDataSourceId(const Aws::String &value)
StartDataSourceRunResult & WithId(const char *value)
void SetErrorMessage(DataSourceErrorMessage &&value)
StartDataSourceRunResult & WithStartedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
const DataSourceErrorMessage & GetErrorMessage() const
StartDataSourceRunResult & WithType(const DataSourceRunType &value)
StartDataSourceRunResult & WithStartedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
StartDataSourceRunResult & WithStatus(const DataSourceRunStatus &value)
StartDataSourceRunResult & WithStoppedAt(const Aws::Utils::DateTime &value)
void SetRunStatisticsForAssets(const RunStatisticsForAssets &value)
void SetDataSourceConfigurationSnapshot(const Aws::String &value)
StartDataSourceRunResult & WithDataSourceConfigurationSnapshot(const char *value)
StartDataSourceRunResult & WithDomainId(Aws::String &&value)
StartDataSourceRunResult & WithDomainId(const Aws::String &value)
StartDataSourceRunResult & WithRunStatisticsForAssets(const RunStatisticsForAssets &value)
StartDataSourceRunResult & WithErrorMessage(const DataSourceErrorMessage &value)
StartDataSourceRunResult & WithRequestId(const char *value)
StartDataSourceRunResult & WithDataSourceConfigurationSnapshot(Aws::String &&value)
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)
StartDataSourceRunResult & WithStatus(DataSourceRunStatus &&value)
StartDataSourceRunResult & WithDataSourceId(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
StartDataSourceRunResult & WithErrorMessage(DataSourceErrorMessage &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
StartDataSourceRunResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetStoppedAt(const Aws::Utils::DateTime &value)
StartDataSourceRunResult & WithRunStatisticsForAssets(RunStatisticsForAssets &&value)
StartDataSourceRunResult & WithProjectId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue