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>
66 inline void SetDataSourceId(
const char* value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId.assign(value); }
80 inline void SetDomainId(
const char* value) { m_domainIdHasBeenSet =
true; m_domainId.assign(value); }
106 inline void SetEnvironmentId(
const char* value) { m_environmentIdHasBeenSet =
true; m_environmentId.assign(value); }
118 inline void SetLastRunAssetCount(
int value) { m_lastRunAssetCountHasBeenSet =
true; m_lastRunAssetCount = value; }
164 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
200 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
220 bool m_createdAtHasBeenSet =
false;
223 bool m_dataSourceIdHasBeenSet =
false;
226 bool m_domainIdHasBeenSet =
false;
229 bool m_enableSettingHasBeenSet =
false;
232 bool m_environmentIdHasBeenSet =
false;
234 int m_lastRunAssetCount;
235 bool m_lastRunAssetCountHasBeenSet =
false;
238 bool m_lastRunAtHasBeenSet =
false;
241 bool m_lastRunErrorMessageHasBeenSet =
false;
244 bool m_lastRunStatusHasBeenSet =
false;
247 bool m_nameHasBeenSet =
false;
250 bool m_scheduleHasBeenSet =
false;
253 bool m_statusHasBeenSet =
false;
256 bool m_typeHasBeenSet =
false;
259 bool m_updatedAtHasBeenSet =
false;
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)
const Aws::String & GetName() const
DataSourceSummary & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DataSourceSummary & WithSchedule(const ScheduleConfiguration &value)
const EnableSetting & GetEnableSetting() const
int GetLastRunAssetCount() const
bool LastRunAssetCountHasBeenSet() const
const DataSourceErrorMessage & GetLastRunErrorMessage() const
void SetLastRunAssetCount(int value)
const DataSourceRunStatus & GetLastRunStatus() const
bool LastRunAtHasBeenSet() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceSummary & WithStatus(const DataSourceStatus &value)
void SetDataSourceId(const char *value)
DataSourceSummary & WithLastRunErrorMessage(DataSourceErrorMessage &&value)
DataSourceSummary & WithSchedule(ScheduleConfiguration &&value)
DataSourceSummary & WithEnvironmentId(const char *value)
void SetDomainId(const Aws::String &value)
void SetName(Aws::String &&value)
DataSourceSummary & WithName(const char *value)
void SetStatus(const DataSourceStatus &value)
DataSourceSummary & WithType(Aws::String &&value)
void SetDataSourceId(const Aws::String &value)
void SetEnvironmentId(const char *value)
const ScheduleConfiguration & GetSchedule() const
const Aws::String & GetEnvironmentId() const
const Aws::String & GetType() const
const DataSourceStatus & GetStatus() const
bool LastRunErrorMessageHasBeenSet() const
const Aws::String & GetDomainId() const
DataSourceSummary & WithDomainId(Aws::String &&value)
void SetLastRunErrorMessage(DataSourceErrorMessage &&value)
bool LastRunStatusHasBeenSet() const
bool ScheduleHasBeenSet() const
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)
void SetDomainId(Aws::String &&value)
const Aws::String & GetDataSourceId() const
bool DomainIdHasBeenSet() const
AWS_DATAZONE_API DataSourceSummary()
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)
bool StatusHasBeenSet() const
bool TypeHasBeenSet() const
DataSourceSummary & WithStatus(DataSourceStatus &&value)
void SetDomainId(const char *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)
bool DataSourceIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastRunAt() const
DataSourceSummary & WithDomainId(const Aws::String &value)
bool EnvironmentIdHasBeenSet() const
bool NameHasBeenSet() const
bool EnableSettingHasBeenSet() const
void SetType(Aws::String &&value)
DataSourceSummary & WithEnableSetting(const EnableSetting &value)
void SetSchedule(const ScheduleConfiguration &value)
void SetEnvironmentId(Aws::String &&value)
bool UpdatedAtHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetName(const char *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)
void SetType(const char *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