7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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>
52 template<
typename ConnectionIdT = Aws::String>
53 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
54 template<
typename ConnectionIdT = Aws::String>
64 template<
typename CreatedAtT = Aws::Utils::DateTime>
65 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
66 template<
typename CreatedAtT = Aws::Utils::DateTime>
76 template<
typename DataSourceIdT = Aws::String>
77 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
78 template<
typename DataSourceIdT = Aws::String>
88 template<
typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
90 template<
typename DescriptionT = Aws::String>
100 template<
typename DomainIdT = Aws::String>
101 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
102 template<
typename DomainIdT = Aws::String>
122 template<
typename EnvironmentIdT = Aws::String>
123 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet =
true; m_environmentId = std::forward<EnvironmentIdT>(value); }
124 template<
typename EnvironmentIdT = Aws::String>
134 inline void SetLastRunAssetCount(
int value) { m_lastRunAssetCountHasBeenSet =
true; m_lastRunAssetCount = value; }
144 template<
typename LastRunAtT = Aws::Utils::DateTime>
145 void SetLastRunAt(LastRunAtT&& value) { m_lastRunAtHasBeenSet =
true; m_lastRunAt = std::forward<LastRunAtT>(value); }
146 template<
typename LastRunAtT = Aws::Utils::DateTime>
154 template<
typename LastRunErrorMessageT = DataSourceErrorMessage>
155 void SetLastRunErrorMessage(LastRunErrorMessageT&& value) { m_lastRunErrorMessageHasBeenSet =
true; m_lastRunErrorMessage = std::forward<LastRunErrorMessageT>(value); }
156 template<
typename LastRunErrorMessageT = DataSourceErrorMessage>
176 template<
typename NameT = Aws::String>
177 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
178 template<
typename NameT = Aws::String>
186 template<
typename ScheduleT = ScheduleConfiguration>
187 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
188 template<
typename ScheduleT = ScheduleConfiguration>
208 template<
typename TypeT = Aws::String>
209 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
210 template<
typename TypeT = Aws::String>
220 template<
typename UpdatedAtT = Aws::Utils::DateTime>
221 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
222 template<
typename UpdatedAtT = Aws::Utils::DateTime>
228 bool m_connectionIdHasBeenSet =
false;
231 bool m_createdAtHasBeenSet =
false;
234 bool m_dataSourceIdHasBeenSet =
false;
237 bool m_descriptionHasBeenSet =
false;
240 bool m_domainIdHasBeenSet =
false;
243 bool m_enableSettingHasBeenSet =
false;
246 bool m_environmentIdHasBeenSet =
false;
248 int m_lastRunAssetCount{0};
249 bool m_lastRunAssetCountHasBeenSet =
false;
252 bool m_lastRunAtHasBeenSet =
false;
254 DataSourceErrorMessage m_lastRunErrorMessage;
255 bool m_lastRunErrorMessageHasBeenSet =
false;
258 bool m_lastRunStatusHasBeenSet =
false;
261 bool m_nameHasBeenSet =
false;
263 ScheduleConfiguration m_schedule;
264 bool m_scheduleHasBeenSet =
false;
267 bool m_statusHasBeenSet =
false;
270 bool m_typeHasBeenSet =
false;
273 bool m_updatedAtHasBeenSet =
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