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/appflow/model/MetadataCatalogConfig.h>
14#include <aws/appflow/model/DestinationFlowConfig.h>
15#include <aws/appflow/model/Task.h>
17#include <aws/core/utils/UUID.h>
49 template<
typename FlowNameT = Aws::String>
50 void SetFlowName(FlowNameT&& value) { m_flowNameHasBeenSet =
true; m_flowName = std::forward<FlowNameT>(value); }
51 template<
typename FlowNameT = Aws::String>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
73 template<
typename TriggerConfigT = TriggerConfig>
74 void SetTriggerConfig(TriggerConfigT&& value) { m_triggerConfigHasBeenSet =
true; m_triggerConfig = std::forward<TriggerConfigT>(value); }
75 template<
typename TriggerConfigT = TriggerConfig>
83 template<
typename SourceFlowConfigT = SourceFlowConfig>
84 void SetSourceFlowConfig(SourceFlowConfigT&& value) { m_sourceFlowConfigHasBeenSet =
true; m_sourceFlowConfig = std::forward<SourceFlowConfigT>(value); }
85 template<
typename SourceFlowConfigT = SourceFlowConfig>
96 template<
typename DestinationFlowConfigListT = Aws::Vector<DestinationFlowConfig>>
97 void SetDestinationFlowConfigList(DestinationFlowConfigListT&& value) { m_destinationFlowConfigListHasBeenSet =
true; m_destinationFlowConfigList = std::forward<DestinationFlowConfigListT>(value); }
98 template<
typename DestinationFlowConfigListT = Aws::Vector<DestinationFlowConfig>>
100 template<
typename DestinationFlowConfigListT = DestinationFlowConfig>
101 UpdateFlowRequest&
AddDestinationFlowConfigList(DestinationFlowConfigListT&& value) { m_destinationFlowConfigListHasBeenSet =
true; m_destinationFlowConfigList.emplace_back(std::forward<DestinationFlowConfigListT>(value));
return *
this; }
111 template<
typename TasksT = Aws::Vector<Task>>
112 void SetTasks(TasksT&& value) { m_tasksHasBeenSet =
true; m_tasks = std::forward<TasksT>(value); }
113 template<
typename TasksT = Aws::Vector<Task>>
115 template<
typename TasksT = Task>
116 UpdateFlowRequest&
AddTasks(TasksT&& value) { m_tasksHasBeenSet =
true; m_tasks.emplace_back(std::forward<TasksT>(value));
return *
this; }
127 template<
typename MetadataCatalogConfigT = MetadataCatalogConfig>
128 void SetMetadataCatalogConfig(MetadataCatalogConfigT&& value) { m_metadataCatalogConfigHasBeenSet =
true; m_metadataCatalogConfig = std::forward<MetadataCatalogConfigT>(value); }
129 template<
typename MetadataCatalogConfigT = MetadataCatalogConfig>
149 template<
typename ClientTokenT = Aws::String>
150 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
151 template<
typename ClientTokenT = Aws::String>
157 bool m_flowNameHasBeenSet =
false;
160 bool m_descriptionHasBeenSet =
false;
163 bool m_triggerConfigHasBeenSet =
false;
166 bool m_sourceFlowConfigHasBeenSet =
false;
169 bool m_destinationFlowConfigListHasBeenSet =
false;
172 bool m_tasksHasBeenSet =
false;
175 bool m_metadataCatalogConfigHasBeenSet =
false;
178 bool m_clientTokenHasBeenSet =
true;
UpdateFlowRequest & WithClientToken(ClientTokenT &&value)
bool TasksHasBeenSet() const
UpdateFlowRequest & WithMetadataCatalogConfig(MetadataCatalogConfigT &&value)
void SetFlowName(FlowNameT &&value)
void SetTasks(TasksT &&value)
bool MetadataCatalogConfigHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool TriggerConfigHasBeenSet() const
bool SourceFlowConfigHasBeenSet() const
const Aws::String & GetClientToken() const
UpdateFlowRequest & WithTasks(TasksT &&value)
const TriggerConfig & GetTriggerConfig() const
UpdateFlowRequest & WithTriggerConfig(TriggerConfigT &&value)
UpdateFlowRequest & WithFlowName(FlowNameT &&value)
AWS_APPFLOW_API UpdateFlowRequest()=default
void SetSourceFlowConfig(SourceFlowConfigT &&value)
UpdateFlowRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
void SetTriggerConfig(TriggerConfigT &&value)
UpdateFlowRequest & WithDestinationFlowConfigList(DestinationFlowConfigListT &&value)
const Aws::Vector< Task > & GetTasks() const
const SourceFlowConfig & GetSourceFlowConfig() const
void SetDestinationFlowConfigList(DestinationFlowConfigListT &&value)
const Aws::Vector< DestinationFlowConfig > & GetDestinationFlowConfigList() const
const MetadataCatalogConfig & GetMetadataCatalogConfig() const
bool FlowNameHasBeenSet() const
UpdateFlowRequest & AddTasks(TasksT &&value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetDescription() const
bool DestinationFlowConfigListHasBeenSet() const
UpdateFlowRequest & AddDestinationFlowConfigList(DestinationFlowConfigListT &&value)
const Aws::String & GetFlowName() const
UpdateFlowRequest & WithSourceFlowConfig(SourceFlowConfigT &&value)
void SetMetadataCatalogConfig(MetadataCatalogConfigT &&value)
bool DescriptionHasBeenSet() const
AWS_APPFLOW_API Aws::String SerializePayload() const override
void SetDescription(DescriptionT &&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