AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFlowName(const Aws::String& value) { m_flowNameHasBeenSet = true; m_flowName = value; }
50 inline void SetFlowName(Aws::String&& value) { m_flowNameHasBeenSet = true; m_flowName = std::move(value); }
51 inline void SetFlowName(const char* value) { m_flowNameHasBeenSet = true; m_flowName.assign(value); }
52 inline UpdateFlowRequest& WithFlowName(const Aws::String& value) { SetFlowName(value); return *this;}
53 inline UpdateFlowRequest& WithFlowName(Aws::String&& value) { SetFlowName(std::move(value)); return *this;}
54 inline UpdateFlowRequest& WithFlowName(const char* value) { SetFlowName(value); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline UpdateFlowRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline UpdateFlowRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline UpdateFlowRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
75 inline const TriggerConfig& GetTriggerConfig() const{ return m_triggerConfig; }
76 inline bool TriggerConfigHasBeenSet() const { return m_triggerConfigHasBeenSet; }
77 inline void SetTriggerConfig(const TriggerConfig& value) { m_triggerConfigHasBeenSet = true; m_triggerConfig = value; }
78 inline void SetTriggerConfig(TriggerConfig&& value) { m_triggerConfigHasBeenSet = true; m_triggerConfig = std::move(value); }
79 inline UpdateFlowRequest& WithTriggerConfig(const TriggerConfig& value) { SetTriggerConfig(value); return *this;}
80 inline UpdateFlowRequest& WithTriggerConfig(TriggerConfig&& value) { SetTriggerConfig(std::move(value)); return *this;}
82
84
85 inline const SourceFlowConfig& GetSourceFlowConfig() const{ return m_sourceFlowConfig; }
86 inline bool SourceFlowConfigHasBeenSet() const { return m_sourceFlowConfigHasBeenSet; }
87 inline void SetSourceFlowConfig(const SourceFlowConfig& value) { m_sourceFlowConfigHasBeenSet = true; m_sourceFlowConfig = value; }
88 inline void SetSourceFlowConfig(SourceFlowConfig&& value) { m_sourceFlowConfigHasBeenSet = true; m_sourceFlowConfig = std::move(value); }
89 inline UpdateFlowRequest& WithSourceFlowConfig(const SourceFlowConfig& value) { SetSourceFlowConfig(value); return *this;}
90 inline UpdateFlowRequest& WithSourceFlowConfig(SourceFlowConfig&& value) { SetSourceFlowConfig(std::move(value)); return *this;}
92
94
98 inline const Aws::Vector<DestinationFlowConfig>& GetDestinationFlowConfigList() const{ return m_destinationFlowConfigList; }
99 inline bool DestinationFlowConfigListHasBeenSet() const { return m_destinationFlowConfigListHasBeenSet; }
100 inline void SetDestinationFlowConfigList(const Aws::Vector<DestinationFlowConfig>& value) { m_destinationFlowConfigListHasBeenSet = true; m_destinationFlowConfigList = value; }
101 inline void SetDestinationFlowConfigList(Aws::Vector<DestinationFlowConfig>&& value) { m_destinationFlowConfigListHasBeenSet = true; m_destinationFlowConfigList = std::move(value); }
104 inline UpdateFlowRequest& AddDestinationFlowConfigList(const DestinationFlowConfig& value) { m_destinationFlowConfigListHasBeenSet = true; m_destinationFlowConfigList.push_back(value); return *this; }
105 inline UpdateFlowRequest& AddDestinationFlowConfigList(DestinationFlowConfig&& value) { m_destinationFlowConfigListHasBeenSet = true; m_destinationFlowConfigList.push_back(std::move(value)); return *this; }
107
109
113 inline const Aws::Vector<Task>& GetTasks() const{ return m_tasks; }
114 inline bool TasksHasBeenSet() const { return m_tasksHasBeenSet; }
115 inline void SetTasks(const Aws::Vector<Task>& value) { m_tasksHasBeenSet = true; m_tasks = value; }
116 inline void SetTasks(Aws::Vector<Task>&& value) { m_tasksHasBeenSet = true; m_tasks = std::move(value); }
117 inline UpdateFlowRequest& WithTasks(const Aws::Vector<Task>& value) { SetTasks(value); return *this;}
118 inline UpdateFlowRequest& WithTasks(Aws::Vector<Task>&& value) { SetTasks(std::move(value)); return *this;}
119 inline UpdateFlowRequest& AddTasks(const Task& value) { m_tasksHasBeenSet = true; m_tasks.push_back(value); return *this; }
120 inline UpdateFlowRequest& AddTasks(Task&& value) { m_tasksHasBeenSet = true; m_tasks.push_back(std::move(value)); return *this; }
122
124
129 inline const MetadataCatalogConfig& GetMetadataCatalogConfig() const{ return m_metadataCatalogConfig; }
130 inline bool MetadataCatalogConfigHasBeenSet() const { return m_metadataCatalogConfigHasBeenSet; }
131 inline void SetMetadataCatalogConfig(const MetadataCatalogConfig& value) { m_metadataCatalogConfigHasBeenSet = true; m_metadataCatalogConfig = value; }
132 inline void SetMetadataCatalogConfig(MetadataCatalogConfig&& value) { m_metadataCatalogConfigHasBeenSet = true; m_metadataCatalogConfig = std::move(value); }
136
138
151 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
152 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
153 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
154 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
155 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
156 inline UpdateFlowRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
157 inline UpdateFlowRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
158 inline UpdateFlowRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
160 private:
161
162 Aws::String m_flowName;
163 bool m_flowNameHasBeenSet = false;
164
165 Aws::String m_description;
166 bool m_descriptionHasBeenSet = false;
167
168 TriggerConfig m_triggerConfig;
169 bool m_triggerConfigHasBeenSet = false;
170
171 SourceFlowConfig m_sourceFlowConfig;
172 bool m_sourceFlowConfigHasBeenSet = false;
173
174 Aws::Vector<DestinationFlowConfig> m_destinationFlowConfigList;
175 bool m_destinationFlowConfigListHasBeenSet = false;
176
177 Aws::Vector<Task> m_tasks;
178 bool m_tasksHasBeenSet = false;
179
180 MetadataCatalogConfig m_metadataCatalogConfig;
181 bool m_metadataCatalogConfigHasBeenSet = false;
182
183 Aws::String m_clientToken;
184 bool m_clientTokenHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace Appflow
189} // namespace Aws
UpdateFlowRequest & WithTasks(const Aws::Vector< Task > &value)
void SetTasks(Aws::Vector< Task > &&value)
UpdateFlowRequest & WithTasks(Aws::Vector< Task > &&value)
void SetSourceFlowConfig(const SourceFlowConfig &value)
UpdateFlowRequest & WithDescription(const Aws::String &value)
void SetMetadataCatalogConfig(MetadataCatalogConfig &&value)
UpdateFlowRequest & WithFlowName(const Aws::String &value)
void SetSourceFlowConfig(SourceFlowConfig &&value)
UpdateFlowRequest & WithTriggerConfig(const TriggerConfig &value)
UpdateFlowRequest & AddTasks(Task &&value)
void SetTriggerConfig(const TriggerConfig &value)
const Aws::String & GetClientToken() const
const TriggerConfig & GetTriggerConfig() const
UpdateFlowRequest & WithDestinationFlowConfigList(Aws::Vector< DestinationFlowConfig > &&value)
UpdateFlowRequest & WithDestinationFlowConfigList(const Aws::Vector< DestinationFlowConfig > &value)
void SetDescription(Aws::String &&value)
UpdateFlowRequest & AddDestinationFlowConfigList(const DestinationFlowConfig &value)
void SetFlowName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateFlowRequest & WithSourceFlowConfig(SourceFlowConfig &&value)
void SetDestinationFlowConfigList(Aws::Vector< DestinationFlowConfig > &&value)
UpdateFlowRequest & WithDescription(const char *value)
UpdateFlowRequest & WithClientToken(Aws::String &&value)
UpdateFlowRequest & WithMetadataCatalogConfig(const MetadataCatalogConfig &value)
UpdateFlowRequest & WithMetadataCatalogConfig(MetadataCatalogConfig &&value)
const Aws::Vector< Task > & GetTasks() const
void SetDestinationFlowConfigList(const Aws::Vector< DestinationFlowConfig > &value)
const SourceFlowConfig & GetSourceFlowConfig() const
UpdateFlowRequest & WithTriggerConfig(TriggerConfig &&value)
const Aws::Vector< DestinationFlowConfig > & GetDestinationFlowConfigList() const
void SetTasks(const Aws::Vector< Task > &value)
const MetadataCatalogConfig & GetMetadataCatalogConfig() const
void SetMetadataCatalogConfig(const MetadataCatalogConfig &value)
void SetClientToken(const Aws::String &value)
UpdateFlowRequest & WithDescription(Aws::String &&value)
UpdateFlowRequest & WithClientToken(const char *value)
const Aws::String & GetDescription() const
UpdateFlowRequest & WithClientToken(const Aws::String &value)
UpdateFlowRequest & AddDestinationFlowConfigList(DestinationFlowConfig &&value)
UpdateFlowRequest & WithSourceFlowConfig(const SourceFlowConfig &value)
const Aws::String & GetFlowName() const
UpdateFlowRequest & WithFlowName(Aws::String &&value)
UpdateFlowRequest & AddTasks(const Task &value)
UpdateFlowRequest & WithFlowName(const char *value)
AWS_APPFLOW_API Aws::String SerializePayload() const override
void SetTriggerConfig(TriggerConfig &&value)
void SetDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector