7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/model/DataSourceConfigurationOutput.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/datazone/model/EnableSetting.h>
13#include <aws/datazone/model/DataSourceErrorMessage.h>
14#include <aws/datazone/model/DataSourceRunStatus.h>
15#include <aws/datazone/model/ScheduleConfiguration.h>
16#include <aws/datazone/model/SelfGrantStatusOutput.h>
17#include <aws/datazone/model/DataSourceStatus.h>
18#include <aws/datazone/model/FormOutput.h>
23template<
typename RESULT_TYPE>
24class AmazonWebServiceResult;
50 template<
typename AssetFormsOutputT = Aws::Vector<FormOutput>>
51 void SetAssetFormsOutput(AssetFormsOutputT&& value) { m_assetFormsOutputHasBeenSet =
true; m_assetFormsOutput = std::forward<AssetFormsOutputT>(value); }
52 template<
typename AssetFormsOutputT = Aws::Vector<FormOutput>>
54 template<
typename AssetFormsOutputT = FormOutput>
63 template<
typename ConfigurationT = DataSourceConfigurationOutput>
64 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
65 template<
typename ConfigurationT = DataSourceConfigurationOutput>
74 template<
typename ConnectionIdT = Aws::String>
75 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
76 template<
typename ConnectionIdT = Aws::String>
85 template<
typename CreatedAtT = Aws::Utils::DateTime>
86 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
87 template<
typename CreatedAtT = Aws::Utils::DateTime>
96 template<
typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
98 template<
typename DescriptionT = Aws::String>
107 template<
typename DomainIdT = Aws::String>
108 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
109 template<
typename DomainIdT = Aws::String>
128 template<
typename EnvironmentIdT = Aws::String>
129 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet =
true; m_environmentId = std::forward<EnvironmentIdT>(value); }
130 template<
typename EnvironmentIdT = Aws::String>
140 template<
typename ErrorMessageT = DataSourceErrorMessage>
141 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
142 template<
typename ErrorMessageT = DataSourceErrorMessage>
151 template<
typename IdT = Aws::String>
152 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
153 template<
typename IdT = Aws::String>
162 template<
typename LastRunAtT = Aws::Utils::DateTime>
163 void SetLastRunAt(LastRunAtT&& value) { m_lastRunAtHasBeenSet =
true; m_lastRunAt = std::forward<LastRunAtT>(value); }
164 template<
typename LastRunAtT = Aws::Utils::DateTime>
174 template<
typename LastRunErrorMessageT = DataSourceErrorMessage>
175 void SetLastRunErrorMessage(LastRunErrorMessageT&& value) { m_lastRunErrorMessageHasBeenSet =
true; m_lastRunErrorMessage = std::forward<LastRunErrorMessageT>(value); }
176 template<
typename LastRunErrorMessageT = DataSourceErrorMessage>
194 template<
typename NameT = Aws::String>
195 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
196 template<
typename NameT = Aws::String>
206 template<
typename ProjectIdT = Aws::String>
207 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet =
true; m_projectId = std::forward<ProjectIdT>(value); }
208 template<
typename ProjectIdT = Aws::String>
218 inline void SetPublishOnImport(
bool value) { m_publishOnImportHasBeenSet =
true; m_publishOnImport = value; }
237 template<
typename ScheduleT = ScheduleConfiguration>
238 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
239 template<
typename ScheduleT = ScheduleConfiguration>
248 template<
typename SelfGrantStatusT = SelfGrantStatusOutput>
249 void SetSelfGrantStatus(SelfGrantStatusT&& value) { m_selfGrantStatusHasBeenSet =
true; m_selfGrantStatus = std::forward<SelfGrantStatusT>(value); }
250 template<
typename SelfGrantStatusT = SelfGrantStatusOutput>
268 template<
typename TypeT = Aws::String>
269 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
270 template<
typename TypeT = Aws::String>
279 template<
typename UpdatedAtT = Aws::Utils::DateTime>
280 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
281 template<
typename UpdatedAtT = Aws::Utils::DateTime>
288 template<
typename RequestIdT = Aws::String>
289 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
290 template<
typename RequestIdT = Aws::String>
296 bool m_assetFormsOutputHasBeenSet =
false;
299 bool m_configurationHasBeenSet =
false;
302 bool m_connectionIdHasBeenSet =
false;
305 bool m_createdAtHasBeenSet =
false;
308 bool m_descriptionHasBeenSet =
false;
311 bool m_domainIdHasBeenSet =
false;
314 bool m_enableSettingHasBeenSet =
false;
317 bool m_environmentIdHasBeenSet =
false;
319 DataSourceErrorMessage m_errorMessage;
320 bool m_errorMessageHasBeenSet =
false;
323 bool m_idHasBeenSet =
false;
326 bool m_lastRunAtHasBeenSet =
false;
328 DataSourceErrorMessage m_lastRunErrorMessage;
329 bool m_lastRunErrorMessageHasBeenSet =
false;
332 bool m_lastRunStatusHasBeenSet =
false;
335 bool m_nameHasBeenSet =
false;
338 bool m_projectIdHasBeenSet =
false;
340 bool m_publishOnImport{
false};
341 bool m_publishOnImportHasBeenSet =
false;
343 bool m_retainPermissionsOnRevokeFailure{
false};
344 bool m_retainPermissionsOnRevokeFailureHasBeenSet =
false;
346 ScheduleConfiguration m_schedule;
347 bool m_scheduleHasBeenSet =
false;
349 SelfGrantStatusOutput m_selfGrantStatus;
350 bool m_selfGrantStatusHasBeenSet =
false;
353 bool m_statusHasBeenSet =
false;
356 bool m_typeHasBeenSet =
false;
359 bool m_updatedAtHasBeenSet =
false;
362 bool m_requestIdHasBeenSet =
false;
DeleteDataSourceResult & WithCreatedAt(CreatedAtT &&value)
DeleteDataSourceResult & WithPublishOnImport(bool value)
DeleteDataSourceResult & WithLastRunStatus(DataSourceRunStatus value)
void SetDomainId(DomainIdT &&value)
void SetRequestId(RequestIdT &&value)
AWS_DATAZONE_API DeleteDataSourceResult()=default
const Aws::Utils::DateTime & GetLastRunAt() const
void SetName(NameT &&value)
void SetPublishOnImport(bool value)
DeleteDataSourceResult & AddAssetFormsOutput(AssetFormsOutputT &&value)
DeleteDataSourceResult & WithEnvironmentId(EnvironmentIdT &&value)
bool GetPublishOnImport() const
DeleteDataSourceResult & WithConnectionId(ConnectionIdT &&value)
DeleteDataSourceResult & WithProjectId(ProjectIdT &&value)
const Aws::String & GetId() const
bool GetRetainPermissionsOnRevokeFailure() const
const Aws::String & GetConnectionId() const
DeleteDataSourceResult & WithDomainId(DomainIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
DeleteDataSourceResult & WithAssetFormsOutput(AssetFormsOutputT &&value)
DeleteDataSourceResult & WithSelfGrantStatus(SelfGrantStatusT &&value)
const DataSourceErrorMessage & GetLastRunErrorMessage() const
void SetCreatedAt(CreatedAtT &&value)
void SetLastRunStatus(DataSourceRunStatus value)
const SelfGrantStatusOutput & GetSelfGrantStatus() const
const Aws::String & GetName() const
const Aws::String & GetEnvironmentId() const
void SetLastRunAt(LastRunAtT &&value)
EnableSetting GetEnableSetting() const
const Aws::Vector< FormOutput > & GetAssetFormsOutput() const
void SetErrorMessage(ErrorMessageT &&value)
DataSourceRunStatus GetLastRunStatus() const
const Aws::String & GetDescription() const
void SetLastRunErrorMessage(LastRunErrorMessageT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
DeleteDataSourceResult & WithStatus(DataSourceStatus value)
const Aws::String & GetDomainId() const
void SetSchedule(ScheduleT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
void SetStatus(DataSourceStatus value)
void SetProjectId(ProjectIdT &&value)
DeleteDataSourceResult & WithEnableSetting(EnableSetting value)
void SetConfiguration(ConfigurationT &&value)
void SetConnectionId(ConnectionIdT &&value)
DeleteDataSourceResult & WithDescription(DescriptionT &&value)
void SetAssetFormsOutput(AssetFormsOutputT &&value)
DeleteDataSourceResult & WithSchedule(ScheduleT &&value)
const DataSourceErrorMessage & GetErrorMessage() const
const Aws::String & GetRequestId() const
DataSourceStatus GetStatus() const
AWS_DATAZONE_API DeleteDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetType() const
DeleteDataSourceResult & WithLastRunErrorMessage(LastRunErrorMessageT &&value)
DeleteDataSourceResult & WithType(TypeT &&value)
DeleteDataSourceResult & WithRetainPermissionsOnRevokeFailure(bool value)
DeleteDataSourceResult & WithConfiguration(ConfigurationT &&value)
const DataSourceConfigurationOutput & GetConfiguration() const
const ScheduleConfiguration & GetSchedule() const
const Aws::String & GetProjectId() const
void SetSelfGrantStatus(SelfGrantStatusT &&value)
void SetRetainPermissionsOnRevokeFailure(bool value)
void SetDescription(DescriptionT &&value)
DeleteDataSourceResult & WithUpdatedAt(UpdatedAtT &&value)
DeleteDataSourceResult & WithErrorMessage(ErrorMessageT &&value)
DeleteDataSourceResult & WithRequestId(RequestIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetType(TypeT &&value)
DeleteDataSourceResult & WithLastRunAt(LastRunAtT &&value)
void SetEnableSetting(EnableSetting value)
DeleteDataSourceResult & WithId(IdT &&value)
DeleteDataSourceResult & WithName(NameT &&value)
AWS_DATAZONE_API DeleteDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue