7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/DataSourceConfigurationOutput.h>
13#include <aws/datazone/model/DataSourceErrorMessage.h>
14#include <aws/datazone/model/DataSourceRunStatus.h>
15#include <aws/datazone/model/DataSourceStatus.h>
16#include <aws/datazone/model/EnableSetting.h>
17#include <aws/datazone/model/FormOutput.h>
18#include <aws/datazone/model/RecommendationConfiguration.h>
19#include <aws/datazone/model/ScheduleConfiguration.h>
20#include <aws/datazone/model/SelfGrantStatusOutput.h>
25template <
typename RESULT_TYPE>
26class AmazonWebServiceResult;
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 m_statusHasBeenSet =
true;
78 template <
typename TypeT = Aws::String>
80 m_typeHasBeenSet =
true;
81 m_type = std::forward<TypeT>(value);
83 template <
typename TypeT = Aws::String>
85 SetType(std::forward<TypeT>(value));
95 template <
typename NameT = Aws::String>
97 m_nameHasBeenSet =
true;
98 m_name = std::forward<NameT>(value);
100 template <
typename NameT = Aws::String>
102 SetName(std::forward<NameT>(value));
112 template <
typename DescriptionT = Aws::String>
114 m_descriptionHasBeenSet =
true;
115 m_description = std::forward<DescriptionT>(value);
117 template <
typename DescriptionT = Aws::String>
129 template <
typename DomainIdT = Aws::String>
131 m_domainIdHasBeenSet =
true;
132 m_domainId = std::forward<DomainIdT>(value);
134 template <
typename DomainIdT = Aws::String>
146 template <
typename ProjectIdT = Aws::String>
148 m_projectIdHasBeenSet =
true;
149 m_projectId = std::forward<ProjectIdT>(value);
151 template <
typename ProjectIdT = Aws::String>
164 template <
typename EnvironmentIdT = Aws::String>
166 m_environmentIdHasBeenSet =
true;
167 m_environmentId = std::forward<EnvironmentIdT>(value);
169 template <
typename EnvironmentIdT = Aws::String>
181 template <
typename ConnectionIdT = Aws::String>
183 m_connectionIdHasBeenSet =
true;
184 m_connectionId = std::forward<ConnectionIdT>(value);
186 template <
typename ConnectionIdT = Aws::String>
198 template <
typename ConfigurationT = DataSourceConfigurationOutput>
200 m_configurationHasBeenSet =
true;
201 m_configuration = std::forward<ConfigurationT>(value);
203 template <
typename ConfigurationT = DataSourceConfigurationOutput>
215 template <
typename RecommendationT = RecommendationConfiguration>
217 m_recommendationHasBeenSet =
true;
218 m_recommendation = std::forward<RecommendationT>(value);
220 template <
typename RecommendationT = RecommendationConfiguration>
233 m_enableSettingHasBeenSet =
true;
234 m_enableSetting = value;
249 m_publishOnImportHasBeenSet =
true;
250 m_publishOnImport = value;
263 template <
typename AssetFormsOutputT = Aws::Vector<FormOutput>>
265 m_assetFormsOutputHasBeenSet =
true;
266 m_assetFormsOutput = std::forward<AssetFormsOutputT>(value);
268 template <
typename AssetFormsOutputT = Aws::Vector<FormOutput>>
273 template <
typename AssetFormsOutputT = FormOutput>
275 m_assetFormsOutputHasBeenSet =
true;
276 m_assetFormsOutput.emplace_back(std::forward<AssetFormsOutputT>(value));
286 template <
typename ScheduleT = ScheduleConfiguration>
288 m_scheduleHasBeenSet =
true;
289 m_schedule = std::forward<ScheduleT>(value);
291 template <
typename ScheduleT = ScheduleConfiguration>
304 m_lastRunStatusHasBeenSet =
true;
305 m_lastRunStatus = value;
318 template <
typename LastRunAtT = Aws::Utils::DateTime>
320 m_lastRunAtHasBeenSet =
true;
321 m_lastRunAt = std::forward<LastRunAtT>(value);
323 template <
typename LastRunAtT = Aws::Utils::DateTime>
336 template <
typename LastRunErrorMessageT = DataSourceErrorMessage>
338 m_lastRunErrorMessageHasBeenSet =
true;
339 m_lastRunErrorMessage = std::forward<LastRunErrorMessageT>(value);
341 template <
typename LastRunErrorMessageT = DataSourceErrorMessage>
354 m_lastRunAssetCountHasBeenSet =
true;
355 m_lastRunAssetCount = value;
369 template <
typename ErrorMessageT = DataSourceErrorMessage>
371 m_errorMessageHasBeenSet =
true;
372 m_errorMessage = std::forward<ErrorMessageT>(value);
374 template <
typename ErrorMessageT = DataSourceErrorMessage>
386 template <
typename CreatedAtT = Aws::Utils::DateTime>
388 m_createdAtHasBeenSet =
true;
389 m_createdAt = std::forward<CreatedAtT>(value);
391 template <
typename CreatedAtT = Aws::Utils::DateTime>
403 template <
typename UpdatedAtT = Aws::Utils::DateTime>
405 m_updatedAtHasBeenSet =
true;
406 m_updatedAt = std::forward<UpdatedAtT>(value);
408 template <
typename UpdatedAtT = Aws::Utils::DateTime>
420 template <
typename SelfGrantStatusT = SelfGrantStatusOutput>
422 m_selfGrantStatusHasBeenSet =
true;
423 m_selfGrantStatus = std::forward<SelfGrantStatusT>(value);
425 template <
typename SelfGrantStatusT = SelfGrantStatusOutput>
435 template <
typename RequestIdT = Aws::String>
437 m_requestIdHasBeenSet =
true;
438 m_requestId = std::forward<RequestIdT>(value);
440 template <
typename RequestIdT = Aws::String>
467 DataSourceConfigurationOutput m_configuration;
469 RecommendationConfiguration m_recommendation;
473 bool m_publishOnImport{
false};
477 ScheduleConfiguration m_schedule;
483 DataSourceErrorMessage m_lastRunErrorMessage;
485 int m_lastRunAssetCount{0};
487 DataSourceErrorMessage m_errorMessage;
493 SelfGrantStatusOutput m_selfGrantStatus;
497 bool m_idHasBeenSet =
false;
498 bool m_statusHasBeenSet =
false;
499 bool m_typeHasBeenSet =
false;
500 bool m_nameHasBeenSet =
false;
501 bool m_descriptionHasBeenSet =
false;
502 bool m_domainIdHasBeenSet =
false;
503 bool m_projectIdHasBeenSet =
false;
504 bool m_environmentIdHasBeenSet =
false;
505 bool m_connectionIdHasBeenSet =
false;
506 bool m_configurationHasBeenSet =
false;
507 bool m_recommendationHasBeenSet =
false;
508 bool m_enableSettingHasBeenSet =
false;
509 bool m_publishOnImportHasBeenSet =
false;
510 bool m_assetFormsOutputHasBeenSet =
false;
511 bool m_scheduleHasBeenSet =
false;
512 bool m_lastRunStatusHasBeenSet =
false;
513 bool m_lastRunAtHasBeenSet =
false;
514 bool m_lastRunErrorMessageHasBeenSet =
false;
515 bool m_lastRunAssetCountHasBeenSet =
false;
516 bool m_errorMessageHasBeenSet =
false;
517 bool m_createdAtHasBeenSet =
false;
518 bool m_updatedAtHasBeenSet =
false;
519 bool m_selfGrantStatusHasBeenSet =
false;
520 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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