7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/AppflowRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appflow/model/TriggerConfig.h>
11#include <aws/appflow/model/SourceFlowConfig.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/appflow/model/MetadataCatalogConfig.h>
15#include <aws/appflow/model/DestinationFlowConfig.h>
16#include <aws/appflow/model/Task.h>
18#include <aws/core/utils/UUID.h>
50 template<
typename FlowNameT = Aws::String>
51 void SetFlowName(FlowNameT&& value) { m_flowNameHasBeenSet =
true; m_flowName = std::forward<FlowNameT>(value); }
52 template<
typename FlowNameT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = Aws::String>
77 template<
typename KmsArnT = Aws::String>
78 void SetKmsArn(KmsArnT&& value) { m_kmsArnHasBeenSet =
true; m_kmsArn = std::forward<KmsArnT>(value); }
79 template<
typename KmsArnT = Aws::String>
89 template<
typename TriggerConfigT = TriggerConfig>
90 void SetTriggerConfig(TriggerConfigT&& value) { m_triggerConfigHasBeenSet =
true; m_triggerConfig = std::forward<TriggerConfigT>(value); }
91 template<
typename TriggerConfigT = TriggerConfig>
102 template<
typename SourceFlowConfigT = SourceFlowConfig>
103 void SetSourceFlowConfig(SourceFlowConfigT&& value) { m_sourceFlowConfigHasBeenSet =
true; m_sourceFlowConfig = std::forward<SourceFlowConfigT>(value); }
104 template<
typename SourceFlowConfigT = SourceFlowConfig>
115 template<
typename DestinationFlowConfigListT = Aws::Vector<DestinationFlowConfig>>
116 void SetDestinationFlowConfigList(DestinationFlowConfigListT&& value) { m_destinationFlowConfigListHasBeenSet =
true; m_destinationFlowConfigList = std::forward<DestinationFlowConfigListT>(value); }
117 template<
typename DestinationFlowConfigListT = Aws::Vector<DestinationFlowConfig>>
119 template<
typename DestinationFlowConfigListT = DestinationFlowConfig>
120 CreateFlowRequest&
AddDestinationFlowConfigList(DestinationFlowConfigListT&& value) { m_destinationFlowConfigListHasBeenSet =
true; m_destinationFlowConfigList.emplace_back(std::forward<DestinationFlowConfigListT>(value));
return *
this; }
130 template<
typename TasksT = Aws::Vector<Task>>
131 void SetTasks(TasksT&& value) { m_tasksHasBeenSet =
true; m_tasks = std::forward<TasksT>(value); }
132 template<
typename TasksT = Aws::Vector<Task>>
134 template<
typename TasksT = Task>
135 CreateFlowRequest&
AddTasks(TasksT&& value) { m_tasksHasBeenSet =
true; m_tasks.emplace_back(std::forward<TasksT>(value));
return *
this; }
144 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
146 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
150 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
162 template<
typename MetadataCatalogConfigT = MetadataCatalogConfig>
163 void SetMetadataCatalogConfig(MetadataCatalogConfigT&& value) { m_metadataCatalogConfigHasBeenSet =
true; m_metadataCatalogConfig = std::forward<MetadataCatalogConfigT>(value); }
164 template<
typename MetadataCatalogConfigT = MetadataCatalogConfig>
184 template<
typename ClientTokenT = Aws::String>
185 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
186 template<
typename ClientTokenT = Aws::String>
192 bool m_flowNameHasBeenSet =
false;
195 bool m_descriptionHasBeenSet =
false;
198 bool m_kmsArnHasBeenSet =
false;
201 bool m_triggerConfigHasBeenSet =
false;
204 bool m_sourceFlowConfigHasBeenSet =
false;
207 bool m_destinationFlowConfigListHasBeenSet =
false;
210 bool m_tasksHasBeenSet =
false;
213 bool m_tagsHasBeenSet =
false;
216 bool m_metadataCatalogConfigHasBeenSet =
false;
219 bool m_clientTokenHasBeenSet =
true;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateFlowRequest & WithTriggerConfig(TriggerConfigT &&value)
void SetTasks(TasksT &&value)
CreateFlowRequest & WithFlowName(FlowNameT &&value)
void SetSourceFlowConfig(SourceFlowConfigT &&value)
const Aws::String & GetKmsArn() const
CreateFlowRequest & WithMetadataCatalogConfig(MetadataCatalogConfigT &&value)
CreateFlowRequest & AddDestinationFlowConfigList(DestinationFlowConfigListT &&value)
CreateFlowRequest & WithTags(TagsT &&value)
void SetFlowName(FlowNameT &&value)
const TriggerConfig & GetTriggerConfig() const
bool TagsHasBeenSet() const
CreateFlowRequest & AddTasks(TasksT &&value)
bool DestinationFlowConfigListHasBeenSet() const
CreateFlowRequest & WithClientToken(ClientTokenT &&value)
void SetMetadataCatalogConfig(MetadataCatalogConfigT &&value)
const MetadataCatalogConfig & GetMetadataCatalogConfig() const
CreateFlowRequest & WithSourceFlowConfig(SourceFlowConfigT &&value)
bool ClientTokenHasBeenSet() const
bool FlowNameHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetFlowName() const
virtual const char * GetServiceRequestName() const override
const SourceFlowConfig & GetSourceFlowConfig() const
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
const Aws::Vector< DestinationFlowConfig > & GetDestinationFlowConfigList() const
CreateFlowRequest & WithDestinationFlowConfigList(DestinationFlowConfigListT &&value)
bool DescriptionHasBeenSet() const
CreateFlowRequest & WithDescription(DescriptionT &&value)
CreateFlowRequest & WithTasks(TasksT &&value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
CreateFlowRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_APPFLOW_API CreateFlowRequest()=default
bool KmsArnHasBeenSet() const
void SetTriggerConfig(TriggerConfigT &&value)
void SetKmsArn(KmsArnT &&value)
void SetDestinationFlowConfigList(DestinationFlowConfigListT &&value)
bool TasksHasBeenSet() const
CreateFlowRequest & WithKmsArn(KmsArnT &&value)
const Aws::Vector< Task > & GetTasks() const
bool SourceFlowConfigHasBeenSet() const
bool MetadataCatalogConfigHasBeenSet() const
bool TriggerConfigHasBeenSet() const
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector