AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/RunStatisticsForAssets.h>
12#include <aws/datazone/model/DataSourceRunStatus.h>
13#include <aws/datazone/model/DataSourceRunType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_DATAZONE_API DataSourceRunSummary();
42 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
50 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
51 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
52 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
53 inline DataSourceRunSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
54 inline DataSourceRunSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
62 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
63 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
64 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
65 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
66 inline DataSourceRunSummary& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
67 inline DataSourceRunSummary& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
68 inline DataSourceRunSummary& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
70
72
73 inline const DataSourceErrorMessage& GetErrorMessage() const{ return m_errorMessage; }
74 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
75 inline void SetErrorMessage(const DataSourceErrorMessage& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
76 inline void SetErrorMessage(DataSourceErrorMessage&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
77 inline DataSourceRunSummary& WithErrorMessage(const DataSourceErrorMessage& value) { SetErrorMessage(value); return *this;}
78 inline DataSourceRunSummary& WithErrorMessage(DataSourceErrorMessage&& value) { SetErrorMessage(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetId() const{ return m_id; }
86 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
87 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
88 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
89 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
90 inline DataSourceRunSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
91 inline DataSourceRunSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
92 inline DataSourceRunSummary& WithId(const char* value) { SetId(value); return *this;}
94
96
99 inline const Aws::String& GetProjectId() const{ return m_projectId; }
100 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
101 inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
102 inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
103 inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
104 inline DataSourceRunSummary& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
105 inline DataSourceRunSummary& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
106 inline DataSourceRunSummary& WithProjectId(const char* value) { SetProjectId(value); return *this;}
108
110
111 inline const RunStatisticsForAssets& GetRunStatisticsForAssets() const{ return m_runStatisticsForAssets; }
112 inline bool RunStatisticsForAssetsHasBeenSet() const { return m_runStatisticsForAssetsHasBeenSet; }
113 inline void SetRunStatisticsForAssets(const RunStatisticsForAssets& value) { m_runStatisticsForAssetsHasBeenSet = true; m_runStatisticsForAssets = value; }
114 inline void SetRunStatisticsForAssets(RunStatisticsForAssets&& value) { m_runStatisticsForAssetsHasBeenSet = true; m_runStatisticsForAssets = std::move(value); }
118
120
123 inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
124 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
125 inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; }
126 inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); }
127 inline DataSourceRunSummary& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
128 inline DataSourceRunSummary& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
130
132
135 inline const DataSourceRunStatus& GetStatus() const{ return m_status; }
136 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
137 inline void SetStatus(const DataSourceRunStatus& value) { m_statusHasBeenSet = true; m_status = value; }
138 inline void SetStatus(DataSourceRunStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
139 inline DataSourceRunSummary& WithStatus(const DataSourceRunStatus& value) { SetStatus(value); return *this;}
140 inline DataSourceRunSummary& WithStatus(DataSourceRunStatus&& value) { SetStatus(std::move(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetStoppedAt() const{ return m_stoppedAt; }
148 inline bool StoppedAtHasBeenSet() const { return m_stoppedAtHasBeenSet; }
149 inline void SetStoppedAt(const Aws::Utils::DateTime& value) { m_stoppedAtHasBeenSet = true; m_stoppedAt = value; }
150 inline void SetStoppedAt(Aws::Utils::DateTime&& value) { m_stoppedAtHasBeenSet = true; m_stoppedAt = std::move(value); }
151 inline DataSourceRunSummary& WithStoppedAt(const Aws::Utils::DateTime& value) { SetStoppedAt(value); return *this;}
152 inline DataSourceRunSummary& WithStoppedAt(Aws::Utils::DateTime&& value) { SetStoppedAt(std::move(value)); return *this;}
154
156
159 inline const DataSourceRunType& GetType() const{ return m_type; }
160 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
161 inline void SetType(const DataSourceRunType& value) { m_typeHasBeenSet = true; m_type = value; }
162 inline void SetType(DataSourceRunType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
163 inline DataSourceRunSummary& WithType(const DataSourceRunType& value) { SetType(value); return *this;}
164 inline DataSourceRunSummary& WithType(DataSourceRunType&& value) { SetType(std::move(value)); return *this;}
166
168
171 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
172 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
173 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
174 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
175 inline DataSourceRunSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
176 inline DataSourceRunSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
178 private:
179
180 Aws::Utils::DateTime m_createdAt;
181 bool m_createdAtHasBeenSet = false;
182
183 Aws::String m_dataSourceId;
184 bool m_dataSourceIdHasBeenSet = false;
185
186 DataSourceErrorMessage m_errorMessage;
187 bool m_errorMessageHasBeenSet = false;
188
189 Aws::String m_id;
190 bool m_idHasBeenSet = false;
191
192 Aws::String m_projectId;
193 bool m_projectIdHasBeenSet = false;
194
195 RunStatisticsForAssets m_runStatisticsForAssets;
196 bool m_runStatisticsForAssetsHasBeenSet = false;
197
198 Aws::Utils::DateTime m_startedAt;
199 bool m_startedAtHasBeenSet = false;
200
201 DataSourceRunStatus m_status;
202 bool m_statusHasBeenSet = false;
203
204 Aws::Utils::DateTime m_stoppedAt;
205 bool m_stoppedAtHasBeenSet = false;
206
207 DataSourceRunType m_type;
208 bool m_typeHasBeenSet = false;
209
210 Aws::Utils::DateTime m_updatedAt;
211 bool m_updatedAtHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace DataZone
216} // namespace Aws
void SetErrorMessage(DataSourceErrorMessage &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
DataSourceRunSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetErrorMessage(const DataSourceErrorMessage &value)
void SetDataSourceId(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetStatus(const DataSourceRunStatus &value)
DataSourceRunSummary & WithDataSourceId(const Aws::String &value)
const DataSourceRunType & GetType() const
DataSourceRunSummary & WithType(const DataSourceRunType &value)
DataSourceRunSummary & WithProjectId(Aws::String &&value)
AWS_DATAZONE_API DataSourceRunSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSourceRunSummary & WithRunStatisticsForAssets(RunStatisticsForAssets &&value)
AWS_DATAZONE_API DataSourceRunSummary(Aws::Utils::Json::JsonView jsonValue)
DataSourceRunSummary & WithRunStatisticsForAssets(const RunStatisticsForAssets &value)
DataSourceRunSummary & WithStartedAt(const Aws::Utils::DateTime &value)
DataSourceRunSummary & WithStoppedAt(Aws::Utils::DateTime &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
const DataSourceErrorMessage & GetErrorMessage() const
DataSourceRunSummary & WithId(Aws::String &&value)
void SetStatus(DataSourceRunStatus &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
DataSourceRunSummary & WithStartedAt(Aws::Utils::DateTime &&value)
const DataSourceRunStatus & GetStatus() const
DataSourceRunSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
DataSourceRunSummary & WithErrorMessage(DataSourceErrorMessage &&value)
void SetStoppedAt(Aws::Utils::DateTime &&value)
DataSourceRunSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetType(const DataSourceRunType &value)
DataSourceRunSummary & WithStatus(const DataSourceRunStatus &value)
DataSourceRunSummary & WithStatus(DataSourceRunStatus &&value)
DataSourceRunSummary & WithId(const char *value)
DataSourceRunSummary & WithStoppedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStoppedAt() const
void SetStoppedAt(const Aws::Utils::DateTime &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceRunSummary & WithDataSourceId(Aws::String &&value)
DataSourceRunSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
DataSourceRunSummary & WithDataSourceId(const char *value)
void SetRunStatisticsForAssets(const RunStatisticsForAssets &value)
const RunStatisticsForAssets & GetRunStatisticsForAssets() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
DataSourceRunSummary & WithId(const Aws::String &value)
void SetRunStatisticsForAssets(RunStatisticsForAssets &&value)
void SetStartedAt(Aws::Utils::DateTime &&value)
DataSourceRunSummary & WithErrorMessage(const DataSourceErrorMessage &value)
DataSourceRunSummary & WithType(DataSourceRunType &&value)
DataSourceRunSummary & WithProjectId(const char *value)
const Aws::Utils::DateTime & GetStartedAt() const
DataSourceRunSummary & WithProjectId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue