AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateFlowRequest.h
1
6#pragma once
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>
16#include <utility>
17#include <aws/core/utils/UUID.h>
18
19namespace Aws
20{
21namespace Appflow
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_APPFLOW_API UpdateFlowRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlow"; }
38
39 AWS_APPFLOW_API Aws::String SerializePayload() const override;
40
41
43
47 inline const Aws::String& GetFlowName() const { return m_flowName; }
48 inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; }
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>
52 UpdateFlowRequest& WithFlowName(FlowNameT&& value) { SetFlowName(std::forward<FlowNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
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>
64 UpdateFlowRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
66
68
71 inline const TriggerConfig& GetTriggerConfig() const { return m_triggerConfig; }
72 inline bool TriggerConfigHasBeenSet() const { return m_triggerConfigHasBeenSet; }
73 template<typename TriggerConfigT = TriggerConfig>
74 void SetTriggerConfig(TriggerConfigT&& value) { m_triggerConfigHasBeenSet = true; m_triggerConfig = std::forward<TriggerConfigT>(value); }
75 template<typename TriggerConfigT = TriggerConfig>
76 UpdateFlowRequest& WithTriggerConfig(TriggerConfigT&& value) { SetTriggerConfig(std::forward<TriggerConfigT>(value)); return *this;}
78
80
81 inline const SourceFlowConfig& GetSourceFlowConfig() const { return m_sourceFlowConfig; }
82 inline bool SourceFlowConfigHasBeenSet() const { return m_sourceFlowConfigHasBeenSet; }
83 template<typename SourceFlowConfigT = SourceFlowConfig>
84 void SetSourceFlowConfig(SourceFlowConfigT&& value) { m_sourceFlowConfigHasBeenSet = true; m_sourceFlowConfig = std::forward<SourceFlowConfigT>(value); }
85 template<typename SourceFlowConfigT = SourceFlowConfig>
86 UpdateFlowRequest& WithSourceFlowConfig(SourceFlowConfigT&& value) { SetSourceFlowConfig(std::forward<SourceFlowConfigT>(value)); return *this;}
88
90
94 inline const Aws::Vector<DestinationFlowConfig>& GetDestinationFlowConfigList() const { return m_destinationFlowConfigList; }
95 inline bool DestinationFlowConfigListHasBeenSet() const { return m_destinationFlowConfigListHasBeenSet; }
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>>
99 UpdateFlowRequest& WithDestinationFlowConfigList(DestinationFlowConfigListT&& value) { SetDestinationFlowConfigList(std::forward<DestinationFlowConfigListT>(value)); return *this;}
100 template<typename DestinationFlowConfigListT = DestinationFlowConfig>
101 UpdateFlowRequest& AddDestinationFlowConfigList(DestinationFlowConfigListT&& value) { m_destinationFlowConfigListHasBeenSet = true; m_destinationFlowConfigList.emplace_back(std::forward<DestinationFlowConfigListT>(value)); return *this; }
103
105
109 inline const Aws::Vector<Task>& GetTasks() const { return m_tasks; }
110 inline bool TasksHasBeenSet() const { return m_tasksHasBeenSet; }
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>>
114 UpdateFlowRequest& WithTasks(TasksT&& value) { SetTasks(std::forward<TasksT>(value)); return *this;}
115 template<typename TasksT = Task>
116 UpdateFlowRequest& AddTasks(TasksT&& value) { m_tasksHasBeenSet = true; m_tasks.emplace_back(std::forward<TasksT>(value)); return *this; }
118
120
125 inline const MetadataCatalogConfig& GetMetadataCatalogConfig() const { return m_metadataCatalogConfig; }
126 inline bool MetadataCatalogConfigHasBeenSet() const { return m_metadataCatalogConfigHasBeenSet; }
127 template<typename MetadataCatalogConfigT = MetadataCatalogConfig>
128 void SetMetadataCatalogConfig(MetadataCatalogConfigT&& value) { m_metadataCatalogConfigHasBeenSet = true; m_metadataCatalogConfig = std::forward<MetadataCatalogConfigT>(value); }
129 template<typename MetadataCatalogConfigT = MetadataCatalogConfig>
130 UpdateFlowRequest& WithMetadataCatalogConfig(MetadataCatalogConfigT&& value) { SetMetadataCatalogConfig(std::forward<MetadataCatalogConfigT>(value)); return *this;}
132
134
147 inline const Aws::String& GetClientToken() const { return m_clientToken; }
148 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
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>
152 UpdateFlowRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
154 private:
155
156 Aws::String m_flowName;
157 bool m_flowNameHasBeenSet = false;
158
159 Aws::String m_description;
160 bool m_descriptionHasBeenSet = false;
161
162 TriggerConfig m_triggerConfig;
163 bool m_triggerConfigHasBeenSet = false;
164
165 SourceFlowConfig m_sourceFlowConfig;
166 bool m_sourceFlowConfigHasBeenSet = false;
167
168 Aws::Vector<DestinationFlowConfig> m_destinationFlowConfigList;
169 bool m_destinationFlowConfigListHasBeenSet = false;
170
171 Aws::Vector<Task> m_tasks;
172 bool m_tasksHasBeenSet = false;
173
174 MetadataCatalogConfig m_metadataCatalogConfig;
175 bool m_metadataCatalogConfigHasBeenSet = false;
176
178 bool m_clientTokenHasBeenSet = true;
179 };
180
181} // namespace Model
182} // namespace Appflow
183} // namespace Aws
UpdateFlowRequest & WithClientToken(ClientTokenT &&value)
UpdateFlowRequest & WithMetadataCatalogConfig(MetadataCatalogConfigT &&value)
void SetClientToken(ClientTokenT &&value)
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
UpdateFlowRequest & AddTasks(TasksT &&value)
const Aws::String & GetDescription() const
UpdateFlowRequest & AddDestinationFlowConfigList(DestinationFlowConfigListT &&value)
const Aws::String & GetFlowName() const
UpdateFlowRequest & WithSourceFlowConfig(SourceFlowConfigT &&value)
void SetMetadataCatalogConfig(MetadataCatalogConfigT &&value)
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