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/RecommendationConfiguration.h>
18#include <aws/datazone/model/ScheduleConfiguration.h>
19#include <aws/datazone/model/SelfGrantStatusOutput.h>
24template <
typename RESULT_TYPE>
25class AmazonWebServiceResult;
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 m_statusHasBeenSet =
true;
77 template <
typename TypeT = Aws::String>
79 m_typeHasBeenSet =
true;
80 m_type = std::forward<TypeT>(value);
82 template <
typename TypeT = Aws::String>
84 SetType(std::forward<TypeT>(value));
94 template <
typename NameT = Aws::String>
96 m_nameHasBeenSet =
true;
97 m_name = std::forward<NameT>(value);
99 template <
typename NameT = Aws::String>
101 SetName(std::forward<NameT>(value));
111 template <
typename DescriptionT = Aws::String>
113 m_descriptionHasBeenSet =
true;
114 m_description = std::forward<DescriptionT>(value);
116 template <
typename DescriptionT = Aws::String>
128 template <
typename DomainIdT = Aws::String>
130 m_domainIdHasBeenSet =
true;
131 m_domainId = std::forward<DomainIdT>(value);
133 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>
163 template <
typename EnvironmentIdT = Aws::String>
165 m_environmentIdHasBeenSet =
true;
166 m_environmentId = std::forward<EnvironmentIdT>(value);
168 template <
typename EnvironmentIdT = Aws::String>
180 template <
typename ConnectionIdT = Aws::String>
182 m_connectionIdHasBeenSet =
true;
183 m_connectionId = std::forward<ConnectionIdT>(value);
185 template <
typename ConnectionIdT = Aws::String>
197 template <
typename ConfigurationT = DataSourceConfigurationOutput>
199 m_configurationHasBeenSet =
true;
200 m_configuration = std::forward<ConfigurationT>(value);
202 template <
typename ConfigurationT = DataSourceConfigurationOutput>
214 template <
typename RecommendationT = RecommendationConfiguration>
216 m_recommendationHasBeenSet =
true;
217 m_recommendation = std::forward<RecommendationT>(value);
219 template <
typename RecommendationT = RecommendationConfiguration>
232 m_enableSettingHasBeenSet =
true;
233 m_enableSetting = value;
248 m_publishOnImportHasBeenSet =
true;
249 m_publishOnImport = value;
262 template <
typename AssetFormsOutputT = Aws::Vector<FormOutput>>
264 m_assetFormsOutputHasBeenSet =
true;
265 m_assetFormsOutput = std::forward<AssetFormsOutputT>(value);
267 template <
typename AssetFormsOutputT = Aws::Vector<FormOutput>>
272 template <
typename AssetFormsOutputT = FormOutput>
274 m_assetFormsOutputHasBeenSet =
true;
275 m_assetFormsOutput.emplace_back(std::forward<AssetFormsOutputT>(value));
285 template <
typename ScheduleT = ScheduleConfiguration>
287 m_scheduleHasBeenSet =
true;
288 m_schedule = std::forward<ScheduleT>(value);
290 template <
typename ScheduleT = ScheduleConfiguration>
303 m_lastRunStatusHasBeenSet =
true;
304 m_lastRunStatus = value;
317 template <
typename LastRunAtT = Aws::Utils::DateTime>
319 m_lastRunAtHasBeenSet =
true;
320 m_lastRunAt = std::forward<LastRunAtT>(value);
322 template <
typename LastRunAtT = Aws::Utils::DateTime>
335 template <
typename LastRunErrorMessageT = DataSourceErrorMessage>
337 m_lastRunErrorMessageHasBeenSet =
true;
338 m_lastRunErrorMessage = std::forward<LastRunErrorMessageT>(value);
340 template <
typename LastRunErrorMessageT = DataSourceErrorMessage>
353 m_lastRunAssetCountHasBeenSet =
true;
354 m_lastRunAssetCount = value;
368 template <
typename ErrorMessageT = DataSourceErrorMessage>
370 m_errorMessageHasBeenSet =
true;
371 m_errorMessage = std::forward<ErrorMessageT>(value);
373 template <
typename ErrorMessageT = DataSourceErrorMessage>
385 template <
typename CreatedAtT = Aws::Utils::DateTime>
387 m_createdAtHasBeenSet =
true;
388 m_createdAt = std::forward<CreatedAtT>(value);
390 template <
typename CreatedAtT = Aws::Utils::DateTime>
402 template <
typename UpdatedAtT = Aws::Utils::DateTime>
404 m_updatedAtHasBeenSet =
true;
405 m_updatedAt = std::forward<UpdatedAtT>(value);
407 template <
typename UpdatedAtT = Aws::Utils::DateTime>
419 template <
typename SelfGrantStatusT = SelfGrantStatusOutput>
421 m_selfGrantStatusHasBeenSet =
true;
422 m_selfGrantStatus = std::forward<SelfGrantStatusT>(value);
424 template <
typename SelfGrantStatusT = SelfGrantStatusOutput>
434 template <
typename RequestIdT = Aws::String>
436 m_requestIdHasBeenSet =
true;
437 m_requestId = std::forward<RequestIdT>(value);
439 template <
typename RequestIdT = Aws::String>
464 DataSourceConfigurationOutput m_configuration;
466 RecommendationConfiguration m_recommendation;
470 bool m_publishOnImport{
false};
474 ScheduleConfiguration m_schedule;
480 DataSourceErrorMessage m_lastRunErrorMessage;
482 int m_lastRunAssetCount{0};
484 DataSourceErrorMessage m_errorMessage;
490 SelfGrantStatusOutput m_selfGrantStatus;
493 bool m_idHasBeenSet =
false;
494 bool m_statusHasBeenSet =
false;
495 bool m_typeHasBeenSet =
false;
496 bool m_nameHasBeenSet =
false;
497 bool m_descriptionHasBeenSet =
false;
498 bool m_domainIdHasBeenSet =
false;
499 bool m_projectIdHasBeenSet =
false;
500 bool m_environmentIdHasBeenSet =
false;
501 bool m_connectionIdHasBeenSet =
false;
502 bool m_configurationHasBeenSet =
false;
503 bool m_recommendationHasBeenSet =
false;
504 bool m_enableSettingHasBeenSet =
false;
505 bool m_publishOnImportHasBeenSet =
false;
506 bool m_assetFormsOutputHasBeenSet =
false;
507 bool m_scheduleHasBeenSet =
false;
508 bool m_lastRunStatusHasBeenSet =
false;
509 bool m_lastRunAtHasBeenSet =
false;
510 bool m_lastRunErrorMessageHasBeenSet =
false;
511 bool m_lastRunAssetCountHasBeenSet =
false;
512 bool m_errorMessageHasBeenSet =
false;
513 bool m_createdAtHasBeenSet =
false;
514 bool m_updatedAtHasBeenSet =
false;
515 bool m_selfGrantStatusHasBeenSet =
false;
516 bool m_requestIdHasBeenSet =
false;
void SetCreatedAt(CreatedAtT &&value)
void SetErrorMessage(ErrorMessageT &&value)
GetDataSourceResult & WithStatus(DataSourceStatus value)
const Aws::String & GetDomainId() const
void SetAssetFormsOutput(AssetFormsOutputT &&value)
const Aws::Utils::DateTime & GetLastRunAt() const
GetDataSourceResult & WithUpdatedAt(UpdatedAtT &&value)
void SetConnectionId(ConnectionIdT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
void SetEnableSetting(EnableSetting value)
void SetProjectId(ProjectIdT &&value)
GetDataSourceResult & WithEnvironmentId(EnvironmentIdT &&value)
void SetSchedule(ScheduleT &&value)
GetDataSourceResult & WithName(NameT &&value)
const Aws::Vector< FormOutput > & GetAssetFormsOutput() const
GetDataSourceResult & WithDescription(DescriptionT &&value)
void SetDomainId(DomainIdT &&value)
const Aws::String & GetConnectionId() const
GetDataSourceResult & WithLastRunAt(LastRunAtT &&value)
GetDataSourceResult & WithSelfGrantStatus(SelfGrantStatusT &&value)
GetDataSourceResult & WithConnectionId(ConnectionIdT &&value)
const Aws::String & GetProjectId() const
const Aws::String & GetRequestId() const
const Aws::String & GetEnvironmentId() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetDataSourceResult & WithId(IdT &&value)
void SetDescription(DescriptionT &&value)
AWS_DATAZONE_API GetDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
bool GetPublishOnImport() const
const Aws::Utils::DateTime & GetUpdatedAt() const
GetDataSourceResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDescription() const
void SetLastRunAssetCount(int value)
void SetName(NameT &&value)
void SetRequestId(RequestIdT &&value)
void SetLastRunStatus(DataSourceRunStatus value)
const ScheduleConfiguration & GetSchedule() const
void SetRecommendation(RecommendationT &&value)
AWS_DATAZONE_API GetDataSourceResult()=default
GetDataSourceResult & WithLastRunStatus(DataSourceRunStatus value)
const Aws::String & GetName() const
void SetStatus(DataSourceStatus value)
GetDataSourceResult & WithRecommendation(RecommendationT &&value)
const RecommendationConfiguration & GetRecommendation() const
GetDataSourceResult & WithRequestId(RequestIdT &&value)
const DataSourceConfigurationOutput & GetConfiguration() const
int GetLastRunAssetCount() const
GetDataSourceResult & WithProjectId(ProjectIdT &&value)
GetDataSourceResult & WithSchedule(ScheduleT &&value)
AWS_DATAZONE_API GetDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDataSourceResult & WithAssetFormsOutput(AssetFormsOutputT &&value)
GetDataSourceResult & WithConfiguration(ConfigurationT &&value)
void SetSelfGrantStatus(SelfGrantStatusT &&value)
GetDataSourceResult & WithLastRunErrorMessage(LastRunErrorMessageT &&value)
void SetConfiguration(ConfigurationT &&value)
GetDataSourceResult & WithType(TypeT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
GetDataSourceResult & AddAssetFormsOutput(AssetFormsOutputT &&value)
void SetLastRunErrorMessage(LastRunErrorMessageT &&value)
const Aws::String & GetType() const
DataSourceStatus GetStatus() const
const Aws::String & GetId() const
void SetType(TypeT &&value)
void SetPublishOnImport(bool value)
GetDataSourceResult & WithDomainId(DomainIdT &&value)
GetDataSourceResult & WithLastRunAssetCount(int value)
GetDataSourceResult & WithEnableSetting(EnableSetting value)
const DataSourceErrorMessage & GetLastRunErrorMessage() const
GetDataSourceResult & WithPublishOnImport(bool value)
DataSourceRunStatus GetLastRunStatus() const
GetDataSourceResult & WithErrorMessage(ErrorMessageT &&value)
const DataSourceErrorMessage & GetErrorMessage() const
EnableSetting GetEnableSetting() const
const SelfGrantStatusOutput & GetSelfGrantStatus() const
void SetLastRunAt(LastRunAtT &&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