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;
51 template<
typename AssetFormsOutputT = Aws::Vector<FormOutput>>
52 void SetAssetFormsOutput(AssetFormsOutputT&& value) { m_assetFormsOutputHasBeenSet =
true; m_assetFormsOutput = std::forward<AssetFormsOutputT>(value); }
53 template<
typename AssetFormsOutputT = Aws::Vector<FormOutput>>
55 template<
typename AssetFormsOutputT = FormOutput>
64 template<
typename ConfigurationT = DataSourceConfigurationOutput>
65 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
66 template<
typename ConfigurationT = DataSourceConfigurationOutput>
75 template<
typename ConnectionIdT = Aws::String>
76 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet =
true; m_connectionId = std::forward<ConnectionIdT>(value); }
77 template<
typename ConnectionIdT = Aws::String>
86 template<
typename CreatedAtT = Aws::Utils::DateTime>
87 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
88 template<
typename CreatedAtT = Aws::Utils::DateTime>
97 template<
typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
99 template<
typename DescriptionT = Aws::String>
108 template<
typename DomainIdT = Aws::String>
109 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet =
true; m_domainId = std::forward<DomainIdT>(value); }
110 template<
typename DomainIdT = Aws::String>
129 template<
typename EnvironmentIdT = Aws::String>
130 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet =
true; m_environmentId = std::forward<EnvironmentIdT>(value); }
131 template<
typename EnvironmentIdT = Aws::String>
141 template<
typename ErrorMessageT = DataSourceErrorMessage>
142 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
143 template<
typename ErrorMessageT = DataSourceErrorMessage>
152 template<
typename IdT = Aws::String>
153 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
154 template<
typename IdT = Aws::String>
163 inline void SetLastRunAssetCount(
int value) { m_lastRunAssetCountHasBeenSet =
true; m_lastRunAssetCount = value; }
172 template<
typename LastRunAtT = Aws::Utils::DateTime>
173 void SetLastRunAt(LastRunAtT&& value) { m_lastRunAtHasBeenSet =
true; m_lastRunAt = std::forward<LastRunAtT>(value); }
174 template<
typename LastRunAtT = Aws::Utils::DateTime>
184 template<
typename LastRunErrorMessageT = DataSourceErrorMessage>
185 void SetLastRunErrorMessage(LastRunErrorMessageT&& value) { m_lastRunErrorMessageHasBeenSet =
true; m_lastRunErrorMessage = std::forward<LastRunErrorMessageT>(value); }
186 template<
typename LastRunErrorMessageT = DataSourceErrorMessage>
204 template<
typename NameT = Aws::String>
205 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
206 template<
typename NameT = Aws::String>
215 template<
typename ProjectIdT = Aws::String>
216 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet =
true; m_projectId = std::forward<ProjectIdT>(value); }
217 template<
typename ProjectIdT = Aws::String>
227 inline void SetPublishOnImport(
bool value) { m_publishOnImportHasBeenSet =
true; m_publishOnImport = value; }
236 template<
typename RecommendationT = RecommendationConfiguration>
237 void SetRecommendation(RecommendationT&& value) { m_recommendationHasBeenSet =
true; m_recommendation = std::forward<RecommendationT>(value); }
238 template<
typename RecommendationT = RecommendationConfiguration>
247 template<
typename ScheduleT = ScheduleConfiguration>
248 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
249 template<
typename ScheduleT = ScheduleConfiguration>
258 template<
typename SelfGrantStatusT = SelfGrantStatusOutput>
259 void SetSelfGrantStatus(SelfGrantStatusT&& value) { m_selfGrantStatusHasBeenSet =
true; m_selfGrantStatus = std::forward<SelfGrantStatusT>(value); }
260 template<
typename SelfGrantStatusT = SelfGrantStatusOutput>
278 template<
typename TypeT = Aws::String>
279 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
280 template<
typename TypeT = Aws::String>
289 template<
typename UpdatedAtT = Aws::Utils::DateTime>
290 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
291 template<
typename UpdatedAtT = Aws::Utils::DateTime>
298 template<
typename RequestIdT = Aws::String>
299 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
300 template<
typename RequestIdT = Aws::String>
306 bool m_assetFormsOutputHasBeenSet =
false;
309 bool m_configurationHasBeenSet =
false;
312 bool m_connectionIdHasBeenSet =
false;
315 bool m_createdAtHasBeenSet =
false;
318 bool m_descriptionHasBeenSet =
false;
321 bool m_domainIdHasBeenSet =
false;
324 bool m_enableSettingHasBeenSet =
false;
327 bool m_environmentIdHasBeenSet =
false;
329 DataSourceErrorMessage m_errorMessage;
330 bool m_errorMessageHasBeenSet =
false;
333 bool m_idHasBeenSet =
false;
335 int m_lastRunAssetCount{0};
336 bool m_lastRunAssetCountHasBeenSet =
false;
339 bool m_lastRunAtHasBeenSet =
false;
341 DataSourceErrorMessage m_lastRunErrorMessage;
342 bool m_lastRunErrorMessageHasBeenSet =
false;
345 bool m_lastRunStatusHasBeenSet =
false;
348 bool m_nameHasBeenSet =
false;
351 bool m_projectIdHasBeenSet =
false;
353 bool m_publishOnImport{
false};
354 bool m_publishOnImportHasBeenSet =
false;
356 RecommendationConfiguration m_recommendation;
357 bool m_recommendationHasBeenSet =
false;
359 ScheduleConfiguration m_schedule;
360 bool m_scheduleHasBeenSet =
false;
362 SelfGrantStatusOutput m_selfGrantStatus;
363 bool m_selfGrantStatusHasBeenSet =
false;
366 bool m_statusHasBeenSet =
false;
369 bool m_typeHasBeenSet =
false;
372 bool m_updatedAtHasBeenSet =
false;
375 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