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/RecommendationConfiguration.h>
16#include <aws/datazone/model/ScheduleConfiguration.h>
17#include <aws/datazone/model/SelfGrantStatusOutput.h>
18#include <aws/datazone/model/DataSourceStatus.h>
19#include <aws/datazone/model/FormOutput.h>
24template<
typename RESULT_TYPE>
25class AmazonWebServiceResult;
52 template<
typename AssetFormsOutputT = Aws::Vector<FormOutput>>
53 void SetAssetFormsOutput(AssetFormsOutputT&& value) { m_assetFormsOutputHasBeenSet =
true; m_assetFormsOutput = std::forward<AssetFormsOutputT>(value); }
54 template<
typename AssetFormsOutputT = Aws::Vector<FormOutput>>
56 template<
typename AssetFormsOutputT = FormOutput>
66 template<
typename ConfigurationT = DataSourceConfigurationOutput>
67 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
68 template<
typename ConfigurationT = DataSourceConfigurationOutput>
77 template<
typename ConnectionIdT = Aws::String>
78 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
79 template<
typename ConnectionIdT = Aws::String>
88 template<
typename CreatedAtT = Aws::Utils::DateTime>
89 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
90 template<
typename CreatedAtT = Aws::Utils::DateTime>
100 template<
typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
102 template<
typename DescriptionT = Aws::String>
112 template<
typename DomainIdT = Aws::String>
113 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
114 template<
typename DomainIdT = Aws::String>
134 template<
typename EnvironmentIdT = Aws::String>
135 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet =
true; m_environmentId = std::forward<EnvironmentIdT>(value); }
136 template<
typename EnvironmentIdT = Aws::String>
146 template<
typename ErrorMessageT = DataSourceErrorMessage>
147 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
148 template<
typename ErrorMessageT = DataSourceErrorMessage>
157 template<
typename IdT = Aws::String>
158 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
159 template<
typename IdT = Aws::String>
168 template<
typename LastRunAtT = Aws::Utils::DateTime>
169 void SetLastRunAt(LastRunAtT&& value) { m_lastRunAtHasBeenSet =
true; m_lastRunAt = std::forward<LastRunAtT>(value); }
170 template<
typename LastRunAtT = Aws::Utils::DateTime>
179 template<
typename LastRunErrorMessageT = DataSourceErrorMessage>
180 void SetLastRunErrorMessage(LastRunErrorMessageT&& value) { m_lastRunErrorMessageHasBeenSet =
true; m_lastRunErrorMessage = std::forward<LastRunErrorMessageT>(value); }
181 template<
typename LastRunErrorMessageT = DataSourceErrorMessage>
200 template<
typename NameT = Aws::String>
201 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
202 template<
typename NameT = Aws::String>
211 template<
typename ProjectIdT = Aws::String>
212 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet =
true; m_projectId = std::forward<ProjectIdT>(value); }
213 template<
typename ProjectIdT = Aws::String>
223 inline void SetPublishOnImport(
bool value) { m_publishOnImportHasBeenSet =
true; m_publishOnImport = value; }
233 template<
typename RecommendationT = RecommendationConfiguration>
234 void SetRecommendation(RecommendationT&& value) { m_recommendationHasBeenSet =
true; m_recommendation = std::forward<RecommendationT>(value); }
235 template<
typename RecommendationT = RecommendationConfiguration>
255 template<
typename ScheduleT = ScheduleConfiguration>
256 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
257 template<
typename ScheduleT = ScheduleConfiguration>
266 template<
typename SelfGrantStatusT = SelfGrantStatusOutput>
267 void SetSelfGrantStatus(SelfGrantStatusT&& value) { m_selfGrantStatusHasBeenSet =
true; m_selfGrantStatus = std::forward<SelfGrantStatusT>(value); }
268 template<
typename SelfGrantStatusT = SelfGrantStatusOutput>
288 template<
typename TypeT = Aws::String>
289 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
290 template<
typename TypeT = Aws::String>
299 template<
typename UpdatedAtT = Aws::Utils::DateTime>
300 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
301 template<
typename UpdatedAtT = Aws::Utils::DateTime>
308 template<
typename RequestIdT = Aws::String>
309 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
310 template<
typename RequestIdT = Aws::String>
316 bool m_assetFormsOutputHasBeenSet =
false;
319 bool m_configurationHasBeenSet =
false;
322 bool m_connectionIdHasBeenSet =
false;
325 bool m_createdAtHasBeenSet =
false;
328 bool m_descriptionHasBeenSet =
false;
331 bool m_domainIdHasBeenSet =
false;
334 bool m_enableSettingHasBeenSet =
false;
337 bool m_environmentIdHasBeenSet =
false;
339 DataSourceErrorMessage m_errorMessage;
340 bool m_errorMessageHasBeenSet =
false;
343 bool m_idHasBeenSet =
false;
346 bool m_lastRunAtHasBeenSet =
false;
348 DataSourceErrorMessage m_lastRunErrorMessage;
349 bool m_lastRunErrorMessageHasBeenSet =
false;
352 bool m_lastRunStatusHasBeenSet =
false;
355 bool m_nameHasBeenSet =
false;
358 bool m_projectIdHasBeenSet =
false;
360 bool m_publishOnImport{
false};
361 bool m_publishOnImportHasBeenSet =
false;
363 RecommendationConfiguration m_recommendation;
364 bool m_recommendationHasBeenSet =
false;
366 bool m_retainPermissionsOnRevokeFailure{
false};
367 bool m_retainPermissionsOnRevokeFailureHasBeenSet =
false;
369 ScheduleConfiguration m_schedule;
370 bool m_scheduleHasBeenSet =
false;
372 SelfGrantStatusOutput m_selfGrantStatus;
373 bool m_selfGrantStatusHasBeenSet =
false;
376 bool m_statusHasBeenSet =
false;
379 bool m_typeHasBeenSet =
false;
382 bool m_updatedAtHasBeenSet =
false;
385 bool m_requestIdHasBeenSet =
false;
UpdateDataSourceResult & WithDomainId(DomainIdT &&value)
void SetRetainPermissionsOnRevokeFailure(bool value)
void SetSelfGrantStatus(SelfGrantStatusT &&value)
UpdateDataSourceResult & WithEnvironmentId(EnvironmentIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetId() const
UpdateDataSourceResult & WithStatus(DataSourceStatus value)
UpdateDataSourceResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDescription() const
void SetDomainId(DomainIdT &&value)
AWS_DATAZONE_API UpdateDataSourceResult()=default
const Aws::String & GetProjectId() const
bool GetPublishOnImport() const
const Aws::String & GetRequestId() const
const DataSourceConfigurationOutput & GetConfiguration() const
UpdateDataSourceResult & WithProjectId(ProjectIdT &&value)
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetEnvironmentId() const
const Aws::String & GetDomainId() const
const RecommendationConfiguration & GetRecommendation() const
void SetProjectId(ProjectIdT &&value)
AWS_DATAZONE_API UpdateDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetRecommendation(RecommendationT &&value)
UpdateDataSourceResult & WithConfiguration(ConfigurationT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSchedule(ScheduleT &&value)
const Aws::String & GetConnectionId() const
void SetLastRunErrorMessage(LastRunErrorMessageT &&value)
UpdateDataSourceResult & WithId(IdT &&value)
UpdateDataSourceResult & WithEnableSetting(EnableSetting value)
void SetStatus(DataSourceStatus value)
DataSourceRunStatus GetLastRunStatus() const
const DataSourceErrorMessage & GetErrorMessage() const
UpdateDataSourceResult & WithUpdatedAt(UpdatedAtT &&value)
void SetType(TypeT &&value)
void SetName(NameT &&value)
const ScheduleConfiguration & GetSchedule() const
void SetPublishOnImport(bool value)
UpdateDataSourceResult & WithLastRunErrorMessage(LastRunErrorMessageT &&value)
DataSourceStatus GetStatus() const
UpdateDataSourceResult & WithRequestId(RequestIdT &&value)
UpdateDataSourceResult & WithRetainPermissionsOnRevokeFailure(bool value)
void SetLastRunAt(LastRunAtT &&value)
EnableSetting GetEnableSetting() const
UpdateDataSourceResult & WithSchedule(ScheduleT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
void SetConnectionId(ConnectionIdT &&value)
UpdateDataSourceResult & AddAssetFormsOutput(AssetFormsOutputT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetDescription(DescriptionT &&value)
UpdateDataSourceResult & WithLastRunStatus(DataSourceRunStatus value)
UpdateDataSourceResult & WithPublishOnImport(bool value)
UpdateDataSourceResult & WithName(NameT &&value)
bool GetRetainPermissionsOnRevokeFailure() const
const Aws::Utils::DateTime & GetLastRunAt() const
const SelfGrantStatusOutput & GetSelfGrantStatus() const
UpdateDataSourceResult & WithDescription(DescriptionT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetType() const
UpdateDataSourceResult & WithLastRunAt(LastRunAtT &&value)
UpdateDataSourceResult & WithSelfGrantStatus(SelfGrantStatusT &&value)
UpdateDataSourceResult & WithErrorMessage(ErrorMessageT &&value)
const Aws::Vector< FormOutput > & GetAssetFormsOutput() const
void SetEnableSetting(EnableSetting value)
const Aws::String & GetName() const
AWS_DATAZONE_API UpdateDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastRunStatus(DataSourceRunStatus value)
UpdateDataSourceResult & WithConnectionId(ConnectionIdT &&value)
UpdateDataSourceResult & WithAssetFormsOutput(AssetFormsOutputT &&value)
void SetConfiguration(ConfigurationT &&value)
const DataSourceErrorMessage & GetLastRunErrorMessage() const
void SetAssetFormsOutput(AssetFormsOutputT &&value)
UpdateDataSourceResult & WithType(TypeT &&value)
UpdateDataSourceResult & WithRecommendation(RecommendationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue