7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/DataSourceConfigurationOutput.h>
12#include <aws/datazone/model/DataSourceErrorMessage.h>
13#include <aws/datazone/model/DataSourceRunStatus.h>
14#include <aws/datazone/model/DataSourceStatus.h>
15#include <aws/datazone/model/EnableSetting.h>
16#include <aws/datazone/model/FormOutput.h>
17#include <aws/datazone/model/ScheduleConfiguration.h>
18#include <aws/datazone/model/SelfGrantStatusOutput.h>
23template <
typename RESULT_TYPE>
24class AmazonWebServiceResult;
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
62 m_statusHasBeenSet =
true;
76 template <
typename TypeT = Aws::String>
78 m_typeHasBeenSet =
true;
79 m_type = std::forward<TypeT>(value);
81 template <
typename TypeT = Aws::String>
83 SetType(std::forward<TypeT>(value));
93 template <
typename NameT = Aws::String>
95 m_nameHasBeenSet =
true;
96 m_name = std::forward<NameT>(value);
98 template <
typename NameT = Aws::String>
100 SetName(std::forward<NameT>(value));
110 template <
typename DescriptionT = Aws::String>
112 m_descriptionHasBeenSet =
true;
113 m_description = std::forward<DescriptionT>(value);
115 template <
typename DescriptionT = Aws::String>
127 template <
typename DomainIdT = Aws::String>
129 m_domainIdHasBeenSet =
true;
130 m_domainId = std::forward<DomainIdT>(value);
132 template <
typename DomainIdT = Aws::String>
145 template <
typename ProjectIdT = Aws::String>
147 m_projectIdHasBeenSet =
true;
148 m_projectId = std::forward<ProjectIdT>(value);
150 template <
typename ProjectIdT = Aws::String>
162 template <
typename EnvironmentIdT = Aws::String>
164 m_environmentIdHasBeenSet =
true;
165 m_environmentId = std::forward<EnvironmentIdT>(value);
167 template <
typename EnvironmentIdT = Aws::String>
179 template <
typename ConnectionIdT = Aws::String>
181 m_connectionIdHasBeenSet =
true;
182 m_connectionId = std::forward<ConnectionIdT>(value);
184 template <
typename ConnectionIdT = Aws::String>
196 template <
typename ConfigurationT = DataSourceConfigurationOutput>
198 m_configurationHasBeenSet =
true;
199 m_configuration = std::forward<ConfigurationT>(value);
201 template <
typename ConfigurationT = DataSourceConfigurationOutput>
215 m_enableSettingHasBeenSet =
true;
216 m_enableSetting = value;
231 m_publishOnImportHasBeenSet =
true;
232 m_publishOnImport = value;
245 template <
typename AssetFormsOutputT = Aws::Vector<FormOutput>>
247 m_assetFormsOutputHasBeenSet =
true;
248 m_assetFormsOutput = std::forward<AssetFormsOutputT>(value);
250 template <
typename AssetFormsOutputT = Aws::Vector<FormOutput>>
255 template <
typename AssetFormsOutputT = FormOutput>
257 m_assetFormsOutputHasBeenSet =
true;
258 m_assetFormsOutput.emplace_back(std::forward<AssetFormsOutputT>(value));
268 template <
typename ScheduleT = ScheduleConfiguration>
270 m_scheduleHasBeenSet =
true;
271 m_schedule = std::forward<ScheduleT>(value);
273 template <
typename ScheduleT = ScheduleConfiguration>
286 m_lastRunStatusHasBeenSet =
true;
287 m_lastRunStatus = value;
300 template <
typename LastRunAtT = Aws::Utils::DateTime>
302 m_lastRunAtHasBeenSet =
true;
303 m_lastRunAt = std::forward<LastRunAtT>(value);
305 template <
typename LastRunAtT = Aws::Utils::DateTime>
318 template <
typename LastRunErrorMessageT = DataSourceErrorMessage>
320 m_lastRunErrorMessageHasBeenSet =
true;
321 m_lastRunErrorMessage = std::forward<LastRunErrorMessageT>(value);
323 template <
typename LastRunErrorMessageT = DataSourceErrorMessage>
336 template <
typename ErrorMessageT = DataSourceErrorMessage>
338 m_errorMessageHasBeenSet =
true;
339 m_errorMessage = std::forward<ErrorMessageT>(value);
341 template <
typename ErrorMessageT = DataSourceErrorMessage>
353 template <
typename CreatedAtT = Aws::Utils::DateTime>
355 m_createdAtHasBeenSet =
true;
356 m_createdAt = std::forward<CreatedAtT>(value);
358 template <
typename CreatedAtT = Aws::Utils::DateTime>
370 template <
typename UpdatedAtT = Aws::Utils::DateTime>
372 m_updatedAtHasBeenSet =
true;
373 m_updatedAt = std::forward<UpdatedAtT>(value);
375 template <
typename UpdatedAtT = Aws::Utils::DateTime>
387 template <
typename SelfGrantStatusT = SelfGrantStatusOutput>
389 m_selfGrantStatusHasBeenSet =
true;
390 m_selfGrantStatus = std::forward<SelfGrantStatusT>(value);
392 template <
typename SelfGrantStatusT = SelfGrantStatusOutput>
406 m_retainPermissionsOnRevokeFailureHasBeenSet =
true;
407 m_retainPermissionsOnRevokeFailure = value;
418 template <
typename RequestIdT = Aws::String>
420 m_requestIdHasBeenSet =
true;
421 m_requestId = std::forward<RequestIdT>(value);
423 template <
typename RequestIdT = Aws::String>
448 DataSourceConfigurationOutput m_configuration;
452 bool m_publishOnImport{
false};
456 ScheduleConfiguration m_schedule;
462 DataSourceErrorMessage m_lastRunErrorMessage;
464 DataSourceErrorMessage m_errorMessage;
470 SelfGrantStatusOutput m_selfGrantStatus;
472 bool m_retainPermissionsOnRevokeFailure{
false};
475 bool m_idHasBeenSet =
false;
476 bool m_statusHasBeenSet =
false;
477 bool m_typeHasBeenSet =
false;
478 bool m_nameHasBeenSet =
false;
479 bool m_descriptionHasBeenSet =
false;
480 bool m_domainIdHasBeenSet =
false;
481 bool m_projectIdHasBeenSet =
false;
482 bool m_environmentIdHasBeenSet =
false;
483 bool m_connectionIdHasBeenSet =
false;
484 bool m_configurationHasBeenSet =
false;
485 bool m_enableSettingHasBeenSet =
false;
486 bool m_publishOnImportHasBeenSet =
false;
487 bool m_assetFormsOutputHasBeenSet =
false;
488 bool m_scheduleHasBeenSet =
false;
489 bool m_lastRunStatusHasBeenSet =
false;
490 bool m_lastRunAtHasBeenSet =
false;
491 bool m_lastRunErrorMessageHasBeenSet =
false;
492 bool m_errorMessageHasBeenSet =
false;
493 bool m_createdAtHasBeenSet =
false;
494 bool m_updatedAtHasBeenSet =
false;
495 bool m_selfGrantStatusHasBeenSet =
false;
496 bool m_retainPermissionsOnRevokeFailureHasBeenSet =
false;
497 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