7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/DataSourceErrorMessage.h>
11#include <aws/datazone/model/DataSourceRunStatus.h>
12#include <aws/datazone/model/DataSourceStatus.h>
13#include <aws/datazone/model/EnableSetting.h>
14#include <aws/datazone/model/ScheduleConfiguration.h>
46 template <
typename DomainIdT = Aws::String>
48 m_domainIdHasBeenSet =
true;
49 m_domainId = std::forward<DomainIdT>(value);
51 template <
typename DomainIdT = Aws::String>
64 template <
typename EnvironmentIdT = Aws::String>
66 m_environmentIdHasBeenSet =
true;
67 m_environmentId = std::forward<EnvironmentIdT>(value);
69 template <
typename EnvironmentIdT = Aws::String>
82 template <
typename ConnectionIdT = Aws::String>
84 m_connectionIdHasBeenSet =
true;
85 m_connectionId = std::forward<ConnectionIdT>(value);
87 template <
typename ConnectionIdT = Aws::String>
100 template <
typename DataSourceIdT = Aws::String>
102 m_dataSourceIdHasBeenSet =
true;
103 m_dataSourceId = std::forward<DataSourceIdT>(value);
105 template <
typename DataSourceIdT = Aws::String>
118 template <
typename NameT = Aws::String>
120 m_nameHasBeenSet =
true;
121 m_name = std::forward<NameT>(value);
123 template <
typename NameT = Aws::String>
125 SetName(std::forward<NameT>(value));
136 template <
typename TypeT = Aws::String>
138 m_typeHasBeenSet =
true;
139 m_type = std::forward<TypeT>(value);
141 template <
typename TypeT = Aws::String>
143 SetType(std::forward<TypeT>(value));
155 m_statusHasBeenSet =
true;
171 m_enableSettingHasBeenSet =
true;
172 m_enableSetting = value;
184 template <
typename ScheduleT = ScheduleConfiguration>
186 m_scheduleHasBeenSet =
true;
187 m_schedule = std::forward<ScheduleT>(value);
189 template <
typename ScheduleT = ScheduleConfiguration>
203 m_lastRunStatusHasBeenSet =
true;
204 m_lastRunStatus = value;
218 template <
typename LastRunAtT = Aws::Utils::DateTime>
220 m_lastRunAtHasBeenSet =
true;
221 m_lastRunAt = std::forward<LastRunAtT>(value);
223 template <
typename LastRunAtT = Aws::Utils::DateTime>
234 template <
typename LastRunErrorMessageT = DataSourceErrorMessage>
236 m_lastRunErrorMessageHasBeenSet =
true;
237 m_lastRunErrorMessage = std::forward<LastRunErrorMessageT>(value);
239 template <
typename LastRunErrorMessageT = DataSourceErrorMessage>
253 m_lastRunAssetCountHasBeenSet =
true;
254 m_lastRunAssetCount = value;
268 template <
typename CreatedAtT = Aws::Utils::DateTime>
270 m_createdAtHasBeenSet =
true;
271 m_createdAt = std::forward<CreatedAtT>(value);
273 template <
typename CreatedAtT = Aws::Utils::DateTime>
286 template <
typename UpdatedAtT = Aws::Utils::DateTime>
288 m_updatedAtHasBeenSet =
true;
289 m_updatedAt = std::forward<UpdatedAtT>(value);
291 template <
typename UpdatedAtT = Aws::Utils::DateTime>
304 template <
typename DescriptionT = Aws::String>
306 m_descriptionHasBeenSet =
true;
307 m_description = std::forward<DescriptionT>(value);
309 template <
typename DescriptionT = Aws::String>
332 ScheduleConfiguration m_schedule;
338 DataSourceErrorMessage m_lastRunErrorMessage;
340 int m_lastRunAssetCount{0};
347 bool m_domainIdHasBeenSet =
false;
348 bool m_environmentIdHasBeenSet =
false;
349 bool m_connectionIdHasBeenSet =
false;
350 bool m_dataSourceIdHasBeenSet =
false;
351 bool m_nameHasBeenSet =
false;
352 bool m_typeHasBeenSet =
false;
353 bool m_statusHasBeenSet =
false;
354 bool m_enableSettingHasBeenSet =
false;
355 bool m_scheduleHasBeenSet =
false;
356 bool m_lastRunStatusHasBeenSet =
false;
357 bool m_lastRunAtHasBeenSet =
false;
358 bool m_lastRunErrorMessageHasBeenSet =
false;
359 bool m_lastRunAssetCountHasBeenSet =
false;
360 bool m_createdAtHasBeenSet =
false;
361 bool m_updatedAtHasBeenSet =
false;
362 bool m_descriptionHasBeenSet =
false;
void SetLastRunErrorMessage(LastRunErrorMessageT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSchedule(ScheduleT &&value)
void SetDataSourceId(DataSourceIdT &&value)
int GetLastRunAssetCount() const
bool LastRunAssetCountHasBeenSet() const
const DataSourceErrorMessage & GetLastRunErrorMessage() const
void SetLastRunAssetCount(int value)
void SetEnvironmentId(EnvironmentIdT &&value)
bool LastRunAtHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdatedAt(UpdatedAtT &&value)
DataSourceStatus GetStatus() const
void SetDomainId(DomainIdT &&value)
const ScheduleConfiguration & GetSchedule() const
DataSourceSummary & WithLastRunStatus(DataSourceRunStatus value)
const Aws::String & GetEnvironmentId() const
const Aws::String & GetType() const
bool LastRunErrorMessageHasBeenSet() const
const Aws::String & GetDomainId() const
const Aws::String & GetDescription() const
bool LastRunStatusHasBeenSet() const
bool ScheduleHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetName(NameT &&value)
DataSourceSummary & WithEnableSetting(EnableSetting value)
const Aws::String & GetDataSourceId() const
bool DomainIdHasBeenSet() const
DataSourceSummary & WithSchedule(ScheduleT &&value)
DataSourceSummary & WithDescription(DescriptionT &&value)
void SetEnableSetting(EnableSetting value)
AWS_DATAZONE_API DataSourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSourceSummary & WithLastRunAt(LastRunAtT &&value)
AWS_DATAZONE_API DataSourceSummary(Aws::Utils::Json::JsonView jsonValue)
DataSourceSummary & WithName(NameT &&value)
bool StatusHasBeenSet() const
void SetStatus(DataSourceStatus value)
bool TypeHasBeenSet() const
bool ConnectionIdHasBeenSet() const
const Aws::String & GetConnectionId() const
DataSourceSummary & WithDataSourceId(DataSourceIdT &&value)
DataSourceSummary & WithLastRunErrorMessage(LastRunErrorMessageT &&value)
DataSourceRunStatus GetLastRunStatus() const
AWS_DATAZONE_API DataSourceSummary()=default
bool DataSourceIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastRunAt() const
DataSourceSummary & WithDomainId(DomainIdT &&value)
bool EnvironmentIdHasBeenSet() const
bool NameHasBeenSet() const
bool EnableSettingHasBeenSet() const
void SetType(TypeT &&value)
bool UpdatedAtHasBeenSet() const
bool CreatedAtHasBeenSet() const
DataSourceSummary & WithConnectionId(ConnectionIdT &&value)
DataSourceSummary & WithStatus(DataSourceStatus value)
DataSourceSummary & WithUpdatedAt(UpdatedAtT &&value)
void SetConnectionId(ConnectionIdT &&value)
void SetLastRunStatus(DataSourceRunStatus value)
DataSourceSummary & WithCreatedAt(CreatedAtT &&value)
DataSourceSummary & WithType(TypeT &&value)
EnableSetting GetEnableSetting() const
DataSourceSummary & WithLastRunAssetCount(int value)
DataSourceSummary & WithEnvironmentId(EnvironmentIdT &&value)
void SetLastRunAt(LastRunAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue