7#include <aws/appflow/AppflowRequest.h>
8#include <aws/appflow/Appflow_EXPORTS.h>
9#include <aws/appflow/model/DestinationFlowConfig.h>
10#include <aws/appflow/model/MetadataCatalogConfig.h>
11#include <aws/appflow/model/SourceFlowConfig.h>
12#include <aws/appflow/model/Task.h>
13#include <aws/appflow/model/TriggerConfig.h>
14#include <aws/core/utils/UUID.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
46 template <
typename FlowNameT = Aws::String>
48 m_flowNameHasBeenSet =
true;
49 m_flowName = std::forward<FlowNameT>(value);
51 template <
typename FlowNameT = Aws::String>
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
85 template <
typename KmsArnT = Aws::String>
87 m_kmsArnHasBeenSet =
true;
88 m_kmsArn = std::forward<KmsArnT>(value);
90 template <
typename KmsArnT = Aws::String>
103 template <
typename TriggerConfigT = TriggerConfig>
105 m_triggerConfigHasBeenSet =
true;
106 m_triggerConfig = std::forward<TriggerConfigT>(value);
108 template <
typename TriggerConfigT = TriggerConfig>
122 template <
typename SourceFlowConfigT = SourceFlowConfig>
124 m_sourceFlowConfigHasBeenSet =
true;
125 m_sourceFlowConfig = std::forward<SourceFlowConfigT>(value);
127 template <
typename SourceFlowConfigT = SourceFlowConfig>
141 template <
typename DestinationFlowConfigListT = Aws::Vector<DestinationFlowConfig>>
143 m_destinationFlowConfigListHasBeenSet =
true;
144 m_destinationFlowConfigList = std::forward<DestinationFlowConfigListT>(value);
146 template <
typename DestinationFlowConfigListT = Aws::Vector<DestinationFlowConfig>>
151 template <
typename DestinationFlowConfigListT = DestinationFlowConfig>
153 m_destinationFlowConfigListHasBeenSet =
true;
154 m_destinationFlowConfigList.emplace_back(std::forward<DestinationFlowConfigListT>(value));
166 template <
typename TasksT = Aws::Vector<Task>>
168 m_tasksHasBeenSet =
true;
169 m_tasks = std::forward<TasksT>(value);
171 template <
typename TasksT = Aws::Vector<Task>>
173 SetTasks(std::forward<TasksT>(value));
176 template <
typename TasksT = Task>
178 m_tasksHasBeenSet =
true;
179 m_tasks.emplace_back(std::forward<TasksT>(value));
190 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
192 m_tagsHasBeenSet =
true;
193 m_tags = std::forward<TagsT>(value);
195 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
197 SetTags(std::forward<TagsT>(value));
200 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
202 m_tagsHasBeenSet =
true;
203 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
216 template <
typename MetadataCatalogConfigT = MetadataCatalogConfig>
218 m_metadataCatalogConfigHasBeenSet =
true;
219 m_metadataCatalogConfig = std::forward<MetadataCatalogConfigT>(value);
221 template <
typename MetadataCatalogConfigT = MetadataCatalogConfig>
244 template <
typename ClientTokenT = Aws::String>
246 m_clientTokenHasBeenSet =
true;
247 m_clientToken = std::forward<ClientTokenT>(value);
249 template <
typename ClientTokenT = Aws::String>
275 bool m_flowNameHasBeenSet =
false;
276 bool m_descriptionHasBeenSet =
false;
277 bool m_kmsArnHasBeenSet =
false;
278 bool m_triggerConfigHasBeenSet =
false;
279 bool m_sourceFlowConfigHasBeenSet =
false;
280 bool m_destinationFlowConfigListHasBeenSet =
false;
281 bool m_tasksHasBeenSet =
false;
282 bool m_tagsHasBeenSet =
false;
283 bool m_metadataCatalogConfigHasBeenSet =
false;
284 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