AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataSourceSummary.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/EnableSetting.h>
11#include <aws/datazone/model/DataSourceErrorMessage.h>
12#include <aws/datazone/model/DataSourceRunStatus.h>
13#include <aws/datazone/model/ScheduleConfiguration.h>
14#include <aws/datazone/model/DataSourceStatus.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 DataSourceSummary();
41 AWS_DATAZONE_API DataSourceSummary(Aws::Utils::Json::JsonView jsonValue);
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 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
53 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
54 inline DataSourceSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
55 inline DataSourceSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
57
59
62 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
63 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
64 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
65 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
66 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
67 inline DataSourceSummary& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
68 inline DataSourceSummary& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
69 inline DataSourceSummary& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
71
73
76 inline const Aws::String& GetDomainId() const{ return m_domainId; }
77 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
78 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
79 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
80 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
81 inline DataSourceSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
82 inline DataSourceSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
83 inline DataSourceSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;}
85
87
90 inline const EnableSetting& GetEnableSetting() const{ return m_enableSetting; }
91 inline bool EnableSettingHasBeenSet() const { return m_enableSettingHasBeenSet; }
92 inline void SetEnableSetting(const EnableSetting& value) { m_enableSettingHasBeenSet = true; m_enableSetting = value; }
93 inline void SetEnableSetting(EnableSetting&& value) { m_enableSettingHasBeenSet = true; m_enableSetting = std::move(value); }
94 inline DataSourceSummary& WithEnableSetting(const EnableSetting& value) { SetEnableSetting(value); return *this;}
95 inline DataSourceSummary& WithEnableSetting(EnableSetting&& value) { SetEnableSetting(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
103 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
104 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
105 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
106 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
107 inline DataSourceSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
108 inline DataSourceSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
109 inline DataSourceSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
111
113
116 inline int GetLastRunAssetCount() const{ return m_lastRunAssetCount; }
117 inline bool LastRunAssetCountHasBeenSet() const { return m_lastRunAssetCountHasBeenSet; }
118 inline void SetLastRunAssetCount(int value) { m_lastRunAssetCountHasBeenSet = true; m_lastRunAssetCount = value; }
119 inline DataSourceSummary& WithLastRunAssetCount(int value) { SetLastRunAssetCount(value); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetLastRunAt() const{ return m_lastRunAt; }
127 inline bool LastRunAtHasBeenSet() const { return m_lastRunAtHasBeenSet; }
128 inline void SetLastRunAt(const Aws::Utils::DateTime& value) { m_lastRunAtHasBeenSet = true; m_lastRunAt = value; }
129 inline void SetLastRunAt(Aws::Utils::DateTime&& value) { m_lastRunAtHasBeenSet = true; m_lastRunAt = std::move(value); }
130 inline DataSourceSummary& WithLastRunAt(const Aws::Utils::DateTime& value) { SetLastRunAt(value); return *this;}
131 inline DataSourceSummary& WithLastRunAt(Aws::Utils::DateTime&& value) { SetLastRunAt(std::move(value)); return *this;}
133
135
136 inline const DataSourceErrorMessage& GetLastRunErrorMessage() const{ return m_lastRunErrorMessage; }
137 inline bool LastRunErrorMessageHasBeenSet() const { return m_lastRunErrorMessageHasBeenSet; }
138 inline void SetLastRunErrorMessage(const DataSourceErrorMessage& value) { m_lastRunErrorMessageHasBeenSet = true; m_lastRunErrorMessage = value; }
139 inline void SetLastRunErrorMessage(DataSourceErrorMessage&& value) { m_lastRunErrorMessageHasBeenSet = true; m_lastRunErrorMessage = std::move(value); }
143
145
148 inline const DataSourceRunStatus& GetLastRunStatus() const{ return m_lastRunStatus; }
149 inline bool LastRunStatusHasBeenSet() const { return m_lastRunStatusHasBeenSet; }
150 inline void SetLastRunStatus(const DataSourceRunStatus& value) { m_lastRunStatusHasBeenSet = true; m_lastRunStatus = value; }
151 inline void SetLastRunStatus(DataSourceRunStatus&& value) { m_lastRunStatusHasBeenSet = true; m_lastRunStatus = std::move(value); }
152 inline DataSourceSummary& WithLastRunStatus(const DataSourceRunStatus& value) { SetLastRunStatus(value); return *this;}
153 inline DataSourceSummary& WithLastRunStatus(DataSourceRunStatus&& value) { SetLastRunStatus(std::move(value)); return *this;}
155
157
160 inline const Aws::String& GetName() const{ return m_name; }
161 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
162 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
163 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
164 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
165 inline DataSourceSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
166 inline DataSourceSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
167 inline DataSourceSummary& WithName(const char* value) { SetName(value); return *this;}
169
171
172 inline const ScheduleConfiguration& GetSchedule() const{ return m_schedule; }
173 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
174 inline void SetSchedule(const ScheduleConfiguration& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
175 inline void SetSchedule(ScheduleConfiguration&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
176 inline DataSourceSummary& WithSchedule(const ScheduleConfiguration& value) { SetSchedule(value); return *this;}
177 inline DataSourceSummary& WithSchedule(ScheduleConfiguration&& value) { SetSchedule(std::move(value)); return *this;}
179
181
184 inline const DataSourceStatus& GetStatus() const{ return m_status; }
185 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
186 inline void SetStatus(const DataSourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
187 inline void SetStatus(DataSourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
188 inline DataSourceSummary& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
189 inline DataSourceSummary& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
191
193
196 inline const Aws::String& GetType() const{ return m_type; }
197 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
198 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
199 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
200 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
201 inline DataSourceSummary& WithType(const Aws::String& value) { SetType(value); return *this;}
202 inline DataSourceSummary& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
203 inline DataSourceSummary& WithType(const char* value) { SetType(value); return *this;}
205
207
210 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
211 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
212 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
213 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
214 inline DataSourceSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
215 inline DataSourceSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
217 private:
218
219 Aws::Utils::DateTime m_createdAt;
220 bool m_createdAtHasBeenSet = false;
221
222 Aws::String m_dataSourceId;
223 bool m_dataSourceIdHasBeenSet = false;
224
225 Aws::String m_domainId;
226 bool m_domainIdHasBeenSet = false;
227
228 EnableSetting m_enableSetting;
229 bool m_enableSettingHasBeenSet = false;
230
231 Aws::String m_environmentId;
232 bool m_environmentIdHasBeenSet = false;
233
234 int m_lastRunAssetCount;
235 bool m_lastRunAssetCountHasBeenSet = false;
236
237 Aws::Utils::DateTime m_lastRunAt;
238 bool m_lastRunAtHasBeenSet = false;
239
240 DataSourceErrorMessage m_lastRunErrorMessage;
241 bool m_lastRunErrorMessageHasBeenSet = false;
242
243 DataSourceRunStatus m_lastRunStatus;
244 bool m_lastRunStatusHasBeenSet = false;
245
246 Aws::String m_name;
247 bool m_nameHasBeenSet = false;
248
249 ScheduleConfiguration m_schedule;
250 bool m_scheduleHasBeenSet = false;
251
252 DataSourceStatus m_status;
253 bool m_statusHasBeenSet = false;
254
255 Aws::String m_type;
256 bool m_typeHasBeenSet = false;
257
258 Aws::Utils::DateTime m_updatedAt;
259 bool m_updatedAtHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace DataZone
264} // namespace Aws
void SetEnvironmentId(const Aws::String &value)
void SetLastRunStatus(const DataSourceRunStatus &value)
void SetSchedule(ScheduleConfiguration &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
DataSourceSummary & WithLastRunAt(const Aws::Utils::DateTime &value)
DataSourceSummary & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DataSourceSummary & WithSchedule(const ScheduleConfiguration &value)
const EnableSetting & GetEnableSetting() const
const DataSourceErrorMessage & GetLastRunErrorMessage() const
const DataSourceRunStatus & GetLastRunStatus() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceSummary & WithStatus(const DataSourceStatus &value)
DataSourceSummary & WithLastRunErrorMessage(DataSourceErrorMessage &&value)
DataSourceSummary & WithSchedule(ScheduleConfiguration &&value)
DataSourceSummary & WithEnvironmentId(const char *value)
void SetDomainId(const Aws::String &value)
DataSourceSummary & WithName(const char *value)
void SetStatus(const DataSourceStatus &value)
DataSourceSummary & WithType(Aws::String &&value)
void SetDataSourceId(const Aws::String &value)
const ScheduleConfiguration & GetSchedule() const
const Aws::String & GetEnvironmentId() const
const DataSourceStatus & GetStatus() const
const Aws::String & GetDomainId() const
DataSourceSummary & WithDomainId(Aws::String &&value)
void SetLastRunErrorMessage(DataSourceErrorMessage &&value)
DataSourceSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetDataSourceId(Aws::String &&value)
DataSourceSummary & WithEnvironmentId(Aws::String &&value)
DataSourceSummary & WithName(const Aws::String &value)
const Aws::String & GetDataSourceId() const
void SetEnableSetting(EnableSetting &&value)
DataSourceSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
AWS_DATAZONE_API DataSourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API DataSourceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(DataSourceStatus &&value)
DataSourceSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
DataSourceSummary & WithDataSourceId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
DataSourceSummary & WithStatus(DataSourceStatus &&value)
DataSourceSummary & WithDomainId(const char *value)
void SetLastRunAt(Aws::Utils::DateTime &&value)
DataSourceSummary & WithLastRunErrorMessage(const DataSourceErrorMessage &value)
void SetLastRunStatus(DataSourceRunStatus &&value)
void SetName(const Aws::String &value)
DataSourceSummary & WithType(const char *value)
DataSourceSummary & WithLastRunStatus(const DataSourceRunStatus &value)
DataSourceSummary & WithLastRunAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastRunAt() const
DataSourceSummary & WithDomainId(const Aws::String &value)
DataSourceSummary & WithEnableSetting(const EnableSetting &value)
void SetSchedule(const ScheduleConfiguration &value)
DataSourceSummary & WithEnvironmentId(const Aws::String &value)
void SetEnableSetting(const EnableSetting &value)
DataSourceSummary & WithEnableSetting(EnableSetting &&value)
DataSourceSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
DataSourceSummary & WithDataSourceId(const char *value)
DataSourceSummary & WithType(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
DataSourceSummary & WithLastRunAssetCount(int value)
void SetType(const Aws::String &value)
void SetLastRunAt(const Aws::Utils::DateTime &value)
void SetLastRunErrorMessage(const DataSourceErrorMessage &value)
DataSourceSummary & WithDataSourceId(Aws::String &&value)
DataSourceSummary & WithLastRunStatus(DataSourceRunStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue