AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDataIntegrationFlowRequest.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/supplychain/SupplyChainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/supplychain/model/DataIntegrationFlowTransformation.h>
12#include <aws/supplychain/model/DataIntegrationFlowTarget.h>
13#include <aws/supplychain/model/DataIntegrationFlowSource.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SupplyChain
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_SUPPLYCHAIN_API UpdateDataIntegrationFlowRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "UpdateDataIntegrationFlow"; }
39
40 AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override;
41
42
44
47 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
48 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
49 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
50 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
51 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
52 inline UpdateDataIntegrationFlowRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
53 inline UpdateDataIntegrationFlowRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
54 inline UpdateDataIntegrationFlowRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline UpdateDataIntegrationFlowRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline UpdateDataIntegrationFlowRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline UpdateDataIntegrationFlowRequest& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::Vector<DataIntegrationFlowSource>& GetSources() const{ return m_sources; }
76 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
77 inline void SetSources(const Aws::Vector<DataIntegrationFlowSource>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
78 inline void SetSources(Aws::Vector<DataIntegrationFlowSource>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
81 inline UpdateDataIntegrationFlowRequest& AddSources(const DataIntegrationFlowSource& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
82 inline UpdateDataIntegrationFlowRequest& AddSources(DataIntegrationFlowSource&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
84
86
89 inline const DataIntegrationFlowTransformation& GetTransformation() const{ return m_transformation; }
90 inline bool TransformationHasBeenSet() const { return m_transformationHasBeenSet; }
91 inline void SetTransformation(const DataIntegrationFlowTransformation& value) { m_transformationHasBeenSet = true; m_transformation = value; }
92 inline void SetTransformation(DataIntegrationFlowTransformation&& value) { m_transformationHasBeenSet = true; m_transformation = std::move(value); }
96
98
101 inline const DataIntegrationFlowTarget& GetTarget() const{ return m_target; }
102 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
103 inline void SetTarget(const DataIntegrationFlowTarget& value) { m_targetHasBeenSet = true; m_target = value; }
104 inline void SetTarget(DataIntegrationFlowTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
106 inline UpdateDataIntegrationFlowRequest& WithTarget(DataIntegrationFlowTarget&& value) { SetTarget(std::move(value)); return *this;}
108 private:
109
110 Aws::String m_instanceId;
111 bool m_instanceIdHasBeenSet = false;
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
117 bool m_sourcesHasBeenSet = false;
118
119 DataIntegrationFlowTransformation m_transformation;
120 bool m_transformationHasBeenSet = false;
121
123 bool m_targetHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace SupplyChain
128} // namespace Aws
void SetSources(const Aws::Vector< DataIntegrationFlowSource > &value)
UpdateDataIntegrationFlowRequest & WithTarget(const DataIntegrationFlowTarget &value)
void SetTransformation(DataIntegrationFlowTransformation &&value)
UpdateDataIntegrationFlowRequest & WithName(Aws::String &&value)
AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override
const DataIntegrationFlowTransformation & GetTransformation() const
void SetTransformation(const DataIntegrationFlowTransformation &value)
UpdateDataIntegrationFlowRequest & WithTarget(DataIntegrationFlowTarget &&value)
UpdateDataIntegrationFlowRequest & WithSources(Aws::Vector< DataIntegrationFlowSource > &&value)
const Aws::Vector< DataIntegrationFlowSource > & GetSources() const
UpdateDataIntegrationFlowRequest & WithTransformation(const DataIntegrationFlowTransformation &value)
UpdateDataIntegrationFlowRequest & AddSources(const DataIntegrationFlowSource &value)
UpdateDataIntegrationFlowRequest & WithName(const Aws::String &value)
UpdateDataIntegrationFlowRequest & WithSources(const Aws::Vector< DataIntegrationFlowSource > &value)
UpdateDataIntegrationFlowRequest & WithInstanceId(Aws::String &&value)
UpdateDataIntegrationFlowRequest & WithInstanceId(const char *value)
UpdateDataIntegrationFlowRequest & WithTransformation(DataIntegrationFlowTransformation &&value)
UpdateDataIntegrationFlowRequest & AddSources(DataIntegrationFlowSource &&value)
UpdateDataIntegrationFlowRequest & WithInstanceId(const Aws::String &value)
void SetSources(Aws::Vector< DataIntegrationFlowSource > &&value)
UpdateDataIntegrationFlowRequest & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector