7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/DataSourceConfigurationInput.h>
12#include <aws/datazone/model/EnableSetting.h>
13#include <aws/datazone/model/RecommendationConfiguration.h>
14#include <aws/datazone/model/ScheduleConfiguration.h>
15#include <aws/datazone/model/FormInput.h>
17#include <aws/core/utils/UUID.h>
49 template<
typename AssetFormsInputT = Aws::Vector<FormInput>>
50 void SetAssetFormsInput(AssetFormsInputT&& value) { m_assetFormsInputHasBeenSet =
true; m_assetFormsInput = std::forward<AssetFormsInputT>(value); }
51 template<
typename AssetFormsInputT = Aws::Vector<FormInput>>
53 template<
typename AssetFormsInputT = FormInput>
64 template<
typename ClientTokenT = Aws::String>
65 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
66 template<
typename ClientTokenT = Aws::String>
77 template<
typename ConfigurationT = DataSourceConfigurationInput>
78 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
79 template<
typename ConfigurationT = DataSourceConfigurationInput>
89 template<
typename ConnectionIdentifierT = Aws::String>
90 void SetConnectionIdentifier(ConnectionIdentifierT&& value) { m_connectionIdentifierHasBeenSet =
true; m_connectionIdentifier = std::forward<ConnectionIdentifierT>(value); }
91 template<
typename ConnectionIdentifierT = Aws::String>
101 template<
typename DescriptionT = Aws::String>
102 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
103 template<
typename DescriptionT = Aws::String>
113 template<
typename DomainIdentifierT = Aws::String>
114 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet =
true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
115 template<
typename DomainIdentifierT = Aws::String>
136 template<
typename EnvironmentIdentifierT = Aws::String>
137 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) { m_environmentIdentifierHasBeenSet =
true; m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value); }
138 template<
typename EnvironmentIdentifierT = Aws::String>
148 template<
typename NameT = Aws::String>
149 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
150 template<
typename NameT = Aws::String>
161 template<
typename ProjectIdentifierT = Aws::String>
162 void SetProjectIdentifier(ProjectIdentifierT&& value) { m_projectIdentifierHasBeenSet =
true; m_projectIdentifier = std::forward<ProjectIdentifierT>(value); }
163 template<
typename ProjectIdentifierT = Aws::String>
174 inline void SetPublishOnImport(
bool value) { m_publishOnImportHasBeenSet =
true; m_publishOnImport = value; }
185 template<
typename RecommendationT = RecommendationConfiguration>
186 void SetRecommendation(RecommendationT&& value) { m_recommendationHasBeenSet =
true; m_recommendation = std::forward<RecommendationT>(value); }
187 template<
typename RecommendationT = RecommendationConfiguration>
197 template<
typename ScheduleT = ScheduleConfiguration>
198 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
199 template<
typename ScheduleT = ScheduleConfiguration>
213 template<
typename TypeT = Aws::String>
214 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
215 template<
typename TypeT = Aws::String>
221 bool m_assetFormsInputHasBeenSet =
false;
224 bool m_clientTokenHasBeenSet =
true;
226 DataSourceConfigurationInput m_configuration;
227 bool m_configurationHasBeenSet =
false;
230 bool m_connectionIdentifierHasBeenSet =
false;
233 bool m_descriptionHasBeenSet =
false;
236 bool m_domainIdentifierHasBeenSet =
false;
239 bool m_enableSettingHasBeenSet =
false;
242 bool m_environmentIdentifierHasBeenSet =
false;
245 bool m_nameHasBeenSet =
false;
248 bool m_projectIdentifierHasBeenSet =
false;
250 bool m_publishOnImport{
false};
251 bool m_publishOnImportHasBeenSet =
false;
253 RecommendationConfiguration m_recommendation;
254 bool m_recommendationHasBeenSet =
false;
256 ScheduleConfiguration m_schedule;
257 bool m_scheduleHasBeenSet =
false;
260 bool m_typeHasBeenSet =
false;
bool TypeHasBeenSet() const
const DataSourceConfigurationInput & GetConfiguration() const
CreateDataSourceRequest & WithName(NameT &&value)
CreateDataSourceRequest & AddAssetFormsInput(AssetFormsInputT &&value)
void SetClientToken(ClientTokenT &&value)
void SetEnvironmentIdentifier(EnvironmentIdentifierT &&value)
const Aws::String & GetDomainIdentifier() const
void SetConfiguration(ConfigurationT &&value)
const Aws::String & GetClientToken() const
bool GetPublishOnImport() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
const Aws::Vector< FormInput > & GetAssetFormsInput() const
CreateDataSourceRequest & WithDescription(DescriptionT &&value)
void SetSchedule(ScheduleT &&value)
CreateDataSourceRequest & WithRecommendation(RecommendationT &&value)
void SetDescription(DescriptionT &&value)
bool RecommendationHasBeenSet() const
CreateDataSourceRequest & WithConfiguration(ConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
bool PublishOnImportHasBeenSet() const
bool EnvironmentIdentifierHasBeenSet() const
void SetRecommendation(RecommendationT &&value)
bool ScheduleHasBeenSet() const
bool EnableSettingHasBeenSet() const
const Aws::String & GetName() const
CreateDataSourceRequest & WithConnectionIdentifier(ConnectionIdentifierT &&value)
void SetType(TypeT &&value)
AWS_DATAZONE_API CreateDataSourceRequest()=default
bool ProjectIdentifierHasBeenSet() const
CreateDataSourceRequest & WithDomainIdentifier(DomainIdentifierT &&value)
bool DescriptionHasBeenSet() const
CreateDataSourceRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
EnableSetting GetEnableSetting() const
CreateDataSourceRequest & WithSchedule(ScheduleT &&value)
void SetConnectionIdentifier(ConnectionIdentifierT &&value)
CreateDataSourceRequest & WithPublishOnImport(bool value)
CreateDataSourceRequest & WithAssetFormsInput(AssetFormsInputT &&value)
const ScheduleConfiguration & GetSchedule() const
void SetDomainIdentifier(DomainIdentifierT &&value)
CreateDataSourceRequest & WithEnableSetting(EnableSetting value)
bool ConnectionIdentifierHasBeenSet() const
void SetName(NameT &&value)
CreateDataSourceRequest & WithClientToken(ClientTokenT &&value)
bool AssetFormsInputHasBeenSet() const
const Aws::String & GetType() const
const Aws::String & GetConnectionIdentifier() const
bool ConfigurationHasBeenSet() const
const Aws::String & GetEnvironmentIdentifier() const
bool DomainIdentifierHasBeenSet() const
const RecommendationConfiguration & GetRecommendation() const
void SetProjectIdentifier(ProjectIdentifierT &&value)
void SetEnableSetting(EnableSetting value)
CreateDataSourceRequest & WithProjectIdentifier(ProjectIdentifierT &&value)
bool ClientTokenHasBeenSet() const
void SetPublishOnImport(bool value)
const Aws::String & GetProjectIdentifier() const
bool NameHasBeenSet() const
void SetAssetFormsInput(AssetFormsInputT &&value)
CreateDataSourceRequest & WithType(TypeT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector